Commodore 2001-8 User Manual page 98

Table of Contents

Advertisement

TIM COMMANDS
M
R
G
X
L
S
EXAMPLES
display memory
display register
begin execution
exit to BASIC
load
save
M
DISPLAY MEMORY
.M COOO,C010
.: COOO 10 C7 48 C6 35 CC EF C7
.: C008 C5 CA OF CA 70 CF 23 CB
.: COlO 9C C8 9C C7 74 C7 IF C8
In a Display Memory command, the start and ending addresses must be completely specified as 4 digit
hex numbers. To modify a memory location, move the cursor up in the display, type the correction and
press RETURN to enter the change. When you move the cursor to a line to do a screen edit, and press
RETURN, the colon tells the monitor that you are re-entering data.
R
DISPLAY REGISTERS
.R PC SR AC XR YR SP
.: C6 ED 00 20 00 F5
Registers
ar~
saved and restored upon each entry or exit from TIM. They may be modified or preloaded as
in the display memory example above. The semicolon tells the monitor you are modifying registers.
G
BEGIN EXECUTION
.G C38B
The GO command may have an optional address for the target. If none is specified, the PC from the R
command is taken as the target.
X
EXIT TO BASIC
.X
READY
Causes a warm start of BASIC. In a warm start memory is not altered in any way and BASIC resumes
operation the way it was before a monitor was made.
L
LOAD
L 01 MONITOR
PRESS PLAY ON TAPE #1
OK
FOUND MONITOR
LOADING
No defaults are allowed on a LOAD command. The device number and the file name must be completely
specified. Operating system prompts for operator intervention are the same as for BASIC. Memory
addresses are loaded as specified in the file header which is set up by the SAVE command. Machine
language subroutines may be loaded from BASIC but care must be taken not to use BASIC variables as
the variable pointer is set to the last byte loaded
+
1.
S
SAVE
.S 01,MONITOR,0400 ,0760
.PRESS PLAY ON TAPE#l
OK
96

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pet 2001-8

Table of Contents