EasyManua.ls Logo

Radio Shack TRS-80 Model 3 - Page 60

Radio Shack TRS-80 Model 3
276 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...
TRS-SO
MODEL III
ToRoute from OneDevice to
Another
Note: To actually try outthe next four steps, you must have printerconnected to
yourComputer.
If
not, justread through the example.
1.
Store the Source Device Abbreviation in memory locations 16930-16931. For
example, to store
DO
(display) as the source device, execute the BASIC
statements:
POKE 16930, ASC("D")
POKE 16931 , ASC("O")
2. Store the Destination Device Abbreviation in memory locations 16928-16929. For
example, to store
PR
(printer) as the destination device, execute the BASIC
statements:
POKE 16928, ASC("P")
POKE 16929, ASC("R")
3. Setup a USR call to $ROUTE (address 108). Forexample, execute the BASIC
statements;
POKE 16526, 108
POKE 16527, 0
4. Makea USR call to
$ROUTE
with a dummy argument. Forexample, execute the
BASIC statements:
x=
USR(O)
Upon completion
of
Step4, the route is completed. Now everything you send to
the display will be sent to the printerinstead.
9/2

Related product manuals