| Boot selects mapper PRG Mode 1 and enables the 1 KB battery-backed cartridge RAM interface, then locks the split-bank protection register so only the lower 512-byte scratch half is readable and writable by default. Save routines temporarily open the upper 512-byte half for reading or writing and restore the lower-only lock immediately afterward. | 0x3E05E-0x3E07A0x3E5D1-0x3E5F40x3E7A0-0x3E7DD0x3ED41-0x3ED800x3E610-0x3E67B | Code |
| During normal non-loading frames, NMI frame dispatch bit-scrambles the current controller input and adds it into a state byte modulo 256, then combines scrambled bits of that state with a scrambled decrementing frame counter into the output random byte. Loading frames and lag frames skip the generator call completely, transition states with bit 7 set in the NMI mode byte still invoke the generator via the alternate handler, and holding no buttons adds 0 to leave the state byte unchanged. | 0x3C012-0x3C0460x3C0B4-0x3C0D10x3C8D8-0x3C9A0 | Code |
| Straight tile-to-tile movement in dungeons steps through a 16-entry pixel-stride table of 1 pixel on 14 entries and 2 pixels on entries 3 and 11, crossing one 16-pixel tile in 14 movement ticks. | 0x367C9-0x368400x36ABC-0x36ACF0x241A0-0x241AC | Code |
| Changing facing direction while tile-aligned in a dungeon stalls movement for 9 frames from standing or 5 frames from walking (1 yield frame to hand off the turn sequence plus 8 or 4 countdown frames), whereas buffering a turn mid-jump sets a 5-frame delay counter instead. | 0x360A2-0x361D30x36300-0x363070x366DD-0x367B10x36927-0x369940x24687-0x246920x24197-0x241BF | Code |
| Dungeon jumps execute bytecode scripts that occupy 32 frames for a 1-tile left jump, 34 frames for a 1-tile down, up, or right jump, and 35 frames for a 2-tile jump in any direction before walk and attack control return, setting a 5-tick jump timer at landing that locks out consecutive jumps for 4 post-landing frames and permits the next jump on the 5th post-landing frame. | 0x361D4-0x362D20x366DD-0x367B10x36841-0x368600x368FE-0x369040x369CA-0x369EC0x3603B-0x3604A0x360A2-0x361C30x24247-0x243A80x243A9-0x244F2 | Code |