/
Memory Mapping
Memory Mapping
- 1 Mapping Mechanism Priority
- 2 Overall Memory Layout
- 3 Register $D030
- 4 “MAP” instruction
- 5 Register $01
- 6 LGB’s mapping diagram
- 6.1 Original
- 6.2 With annotations
- 7 Examine mapping via 'm65dbg' tool
- 8 Excerpts from ‘memory-map.txt’ document
- 9 The C65's MAP instruction
- 10 The MEGA65's MAP instruction
- 11 Precedence
This page came about after discussions in this discord thread:
Mapping Mechanism Priority
The MEGA65 has 3 mapping mechanisms:
HIGHEST PRIORITY = Register $D030
for mapping in C65 ROM chunks
LOWER PRIORITY = the “MAP” opcode mechanism
for more flexible mapping of ram/rom at a granularity of 8kb blocks
LOWEST PRIORITY = Register $01
for mapping in C64 ROM chunks
Overall Memory Layout