Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 58

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

Advertisement

Library Commands
You can use this command to fill memory with a specific value, by putting the
desired value in address
nnnn,
and using a command like this:
?
L
S=nnnn E=xxx.x T=nnnn+
1
This will copy the value in
nnnn
into every location from
nnnn
+
I to
xxxx
+
1.
For example, ifx'2800' contains a X'20', then the command:
? L 8=2800 E=3000 T=2801
fills memory from 2801 to 3000 with X'20' .
o
(Debug Oft)
Type
W
to exit the debug monitor and turn off
DEBUG.
All breakpoints set by the
B command will be removed from your program, and
DEBUG
will return to
TRSDOS.
If you simply wantto exit
DEBUG,
type:
W.
DEBUG
will remain "on".
P (Print Display)
Type
to send a copy of the Display to the Printer. Printer must have been
initialized during
TRSOOS
startup or by the
FORMS
command.
M (Examine and Change Memory)
Type
to enter this command. The debugger will prompt you to type in
the starting address of memory to be examined. As soon as you type in the
complete address, the memory display will show the l28-byte area starting
with that address. While the A= .... prompt is present, you can scroll
through memory 16 bytes at a time by pressing
l§~ii§iJ
.
To modify any memory in the display area, press
IE
while the
A
= ....
is displayed. The cursor will move up into the memory display area.
With the cursor in the memory display area, the cursor control keys are:
Cursor motion: back, forward, up, down
IE
Homes Cursor
IilJiJ
Tabs Cursor
Moves cursor to start of next row
II
Moves cursor in and out of
ASCII
area
When the cursor is in the hexadecimal area, enter hexadecimal values. The
debugger will update the memory display as you type in each nibble
(hexadecimal character, half a byte).
When the cursor is in the
ASCII
area, enter
ASCII
characters. Press
rJI
to return to hexadecimal entry.
To cancel all changes in memory, press
1m .
To effect all changes, press
91

Advertisement

loading