• Please review our updated Terms and Rules here

BAS files

abruno17

Experienced Member
Joined
Mar 10, 2020
Messages
188
Location
4104 Longworth Loop Kissimme, FL 34744
I was wondering if anyone has ever successfully used a trs 80 emulator to convert a .bas file into a .cas file. If anyone has please could you explain how you did it step by step. That would be really helpfull!
 
well according this his web site it seems it can:

"While BASIC programs can be loaded, their output is in the form of an executable which will work on
a cassette-based TRS-80 Model 3 as a load address is hard-coded. This is odd and unlikely to be useful to many.
This can be suprising as you might expect:

trld file.bas file.cas

To output a cassette image file that you load with "CLOAD" but instead get something that loads with "SYSTEM".
Converting BASIC programs between different formats is pretty easy but might best be a job for a different utility program
 
Last edited:
This manual way should also work in TRS-80 emulators:

  1. Insert virtual disk with DOS into drive 0
  2. Insert virtual disk with the BASIC program into drive 1
  3. Create a virtual cassette image (in SDL(2)TRS: "Create Blank Cassette Image with Above Parameters")
  4. Boot into DOS
  5. Load the BASIC program:
    Code:
    BASIC LOAD "PROG/BAS"
  6. In BASIC type:
    Code:
    CSAVE "PROG"
    to create the .CAS image file
 
Back
Top