Next: , Previous: , Up: Commands   [Contents][Index]


13.4.2 Memory set (0x02)

Writes a chunk of memory from a start address to an end address (inclusive).

Command body:

byte 0: side effects?

Should the write cause side effects?

byte 1-2: start address
byte 3-4: end address
byte 5: memspace

Describes which part of the computer you want to write:

  • 0x00: main memory
  • 0x01: drive 8
  • 0x02: drive 9
  • 0x03: drive 10
  • 0x04: drive 11
byte 6-7: bank ID

Describes which bank you want. This is dependent on your machine. See Banks available (0x82). If the memspace selected doesn’t support banks, this byte is ignored.

byte 8+: Memory contents to write

Response type:

0x02: MON_RESPONSE_MEM_SET

Response body:

Currently empty.