EasyManua.ls Logo

Radio Shack TRS-80 Model 100

Radio Shack TRS-80 Model 100
210 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Experiment
#3
LOADing a BASIC Program
Suppose you have written a BASIC program
on
another computer which you want to
execute
on
your Model 100. The serial port can be used to transfer the BASIC
program
to
working memory using the following procedure.
1.
Connect the computers together as shown in the last two experiments.
2.
From the Model 100 Main Menu, enter BASIC.
3. Enter the command
LOAD
"COM:RWPBS"
where
RWPBS
correspond
to
the baud rate, number
of
data bits, parity, number
of
stop bits and line status (XON/XOFF)
of
the other computer.
4. Load and execute a communications program on the other computer which will
transfer a BASIC program in ASCII format. This program should send a control
Z (ASCII value 26 decimal) as an end-of-file character.
If
the other computer's
program does not terminate the file in this fashion, you can terminate the load
manually from the
M100
keyboard by pressing
(BREAK).
Note:
(BREAK)
terminates transfer with an I/O (input/output) error message.
Ignore this message.
The
data has been transferred.
5. Since the program does not display as it is loaded, you will probably want to list
it to confirm that it was transferred properly.
If
a few errors are found, they can
be corrected using the Editor. After the file has been successfully transferred, it
can be saved in
RAM
in the usual way.
Experiment
#4
Loading a File with TELCOM
You can transfer any ASCII file to the Model 100 from another computer using
TELCOM. This includes a BASIC program so long as
it is transferred in ASCII
format.
The
procedure is:
l.
Link the Computers through an RS-232C cable and a Null Modem Adapter.
2. From the Model
100 Main Menu, enter TELCOM.
3.
If
necessary, l:hange the
wmmunkation
parameters to match those
of
the host
system.
4. Press
~
to enter the Terminal Mode.
5. Press
~
to Download a file.
The
prompt:
File
to
Download?
will
be
displayed. Enter a valid filename with either no extension
or
a
.DO
extension.
If
you enter a filename with the
.BA
extension, the error message:
Download
aborted
will appear, since BASIC programs can only be transferred in the ASCII format.
After the filename is entered, the word Down
will appear in reverse video.
170

Other manuals for Radio Shack TRS-80 Model 100

Related product manuals