Interactively write hex bytes to memory starting at a specified address.
- Command letter:
W - Format:
W:address
address: 4-digit hexadecimal address (0000-FFFF)- No range required - single starting address only
After issuing the command, the monitor enters write mode:
- Displays current address and existing byte value
- Waits for hex byte input or control keys
- Advances to next address after each write
- Continues until ESC is pressed
- Enter 2-digit hex bytes (00-FF)
- Press ENTER to confirm and advance to next address
- Press ESC to exit write mode
- Press
.(dot) to recall last command
XXXX: YY _
Where:
XXXX= current address in hexYY= existing byte value at address_= cursor waiting for input
W:8000- Start writing at $8000- Input:
A9+ ENTER - Write $A9 to current address, advance - Input:
20+ ENTER - Write $20 to next address, advance - Input: ESC - Exit write mode
- Each successful write advances to the next address
- No explicit success message - advancing indicates success
- Returns to command mode when ESC pressed
?ERROR- Invalid syntax or hex address?VALUE- Invalid hex byte entered during write mode
- Write mode preserves command in history for dot recall
- Can write to any address in memory map
- No range checking - single bytes only
- Displays old value before overwriting