Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 92

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Modell! TRSDOS
Sample Uses
1. You have initialized Channel
A
properly, and have established a connection
with the sending device. You know that the data load address is above
X'2FFF
and below the end of user memory.
Now type:
RECEIVE CH
=
A
If the connection is good, Model 11 will display:
Ready to receive
#
=
The sending device can now begin the transmission. The number of the current
record will be displayed after
# = .
When the transmission is complete, Model
11 will display:
START ADDRESS
=
aaaa
LAST ADDRESS
=
bbbb
TRA ADDRESS
=
ecce
TRSDOS READY
aaaa, bbbb, ecce are hexadecimal addresses.
The code will be in the memory area specified in the data itself. You can now
use the
DUMP
command to create a program file on diskette.
2. You have initialized channel
B
properly, and you have established a connection
with the sending device. But the load address is
X'2800'.
The end address is
X'37FF'.
You need to add
X'0800'
to this address so that the receive program
won't be overlaid. Type:
RECEIVE
CH
=
B ADD
=
0800
This command causes the data to be loaded starting at
X'2800'
+
X'0800'
=
X'3000'.
Afterreceiving the data, you want to dump it into a program file called
PROGRAMI.
Type:
DUMP
PROGRAM1
START
=
3000
END
=
3FFF RELO
=
2800
Notice that the
RELO
=
option resets the load address to its original value before
the data was transmitted.
128
.~.

Advertisement

loading