*DEFAULT: level restorer Memory Map

← Dunjunz

Addresses outside *DEFAULT: level restorer's own code that it uses at run time — zero-page workspace, RAM buffers, and memory-mapped I/O. For the code itself (&0E00–&55DF), see the disassembly listing.

Access: R read, W write, B indexing base — the address is named as base,X/,Y, so the byte actually touched is base + index and the literal byte at this address is never itself accessed.

Zero page

Address Name Access Description
&0070 tens_times_ten R/W

Scratch: twice, then ten times, the tens digit of the level number.

&0071 read_ptr R/W

The level's copy within *DEFAULT, low byte (high byte at &72).

&0072 read_ptr_hi R/W
&0073 put_ptr R/W

Where the level is copied to, from &6B00, low byte (high byte at &74).

&0074 put_ptr_hi R/W

Level file (&6B00)

Address Name Access Description
&6B00 level_buffer

Where the game loads a level file, and where *DEFAULT puts the level it saves (&6B00-&6DAF).

OS entry points

Address Name Access Description
&FFFC reset_vector

The 6502 reset vector: the MOS's reset entry.