Final Replay ML Monitor documentation:


Monitor commands

M 200 300 - hex-dump memory from $0200 to $0300

I 200 300 - PETSCII-dump memory from $0200 to $0300

EC 200 300 - char-dump memory from $0200 to $0300

ES 200 300 - sprite-dump memory from $0200 to $0300

D 200 300 - disassemble memory from $0200 to $0300

A C000 LDA #$66 - assemble LDA #$66 to $C000

G 2000 - execute program at address $2000

X - leave monitor

F 3000 3800 AE - fill memory from $3000-$37FF with $AE

F 3000 3800 1 0 2 - fill memory from $3000-$37FF with pattern $01,$00,$02

T 1000 2000 8080 - transfer memory from $1000-$1FFF to $8080


Memory banking

O7 - enable BASIC ROM, Kernal ROM and I/O access

O0 - enable full C64 RAM access:

OD - drive memory access

O9 - drive memory access for drive 9

OV - VDC RAM access (C128 only)

OW - VDC register access (C128 only)

Almost all monitor commands refer to the currently selected memory. One exception is the G command which always refers to the C64 CPU and the T command which allows redirection of the target. Example

T 1000 1200 D:400 - will transfer the memory from $1000 to $11FF to drive memory location $0400


Number conversion

$123456 - convert hexadecimal number $123456 to decimal 1193046

#12345678 - convert adecimal number 12345678 to hexadecimal $BC614E


Disk access/Drive access

*R 12 5 C0 - read disk sector 18,5 to memory at $C000

*W 1 4 10 - write disk sector 1,4 from memory at $1000

*E 400 - execute program in drive memory at $0400

@I - send DOS command "I" to active drive

@9 - change active device number to 9

@$ - show directory


Illegal opcodes

£ - turn on/off illegal opcodes


Different number formats

The monitor allows binary, decimal and hexadecimal numbers as addresses and arguments:

LDA #%10110101
LDX #0
STA 400,X
STA &49152,X
INX
BNE *-7


Scrolling

Scrolling through memory is possible in upwards and downwards direction by either using the cursor keys or via F3 and F5.