68k memory map: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
Line 2: Line 2:
| '''Start address'''
| '''Start address'''
| '''End address'''
| '''End address'''
| '''Size'''
| '''[[ASM Defines|DEF]] Name'''
| '''[[ASM Defines|DEF]] Name'''
| '''Description'''
| '''Description'''
Line 7: Line 8:
| $000000
| $000000
| $0FFFFF
| $0FFFFF
| 1MiB
|  
|  
| First 1MiB of the [[68k]] binary ([[P ROM]] or [[PRG file]])
| First fixed bank of the [[68k]] binary ([[P ROM]] or [[PRG file]])
|-
|-
| $100000
| $100000
| $10F2FF
| $10F2FF
| RAMSTART
|rowspan="2"|64KiB<br>(Mirrored up to $1FFFFF)
| WORKRAM
| [[68k user RAM|User RAM]]
| [[68k user RAM|User RAM]]
|-
|-
Line 18: Line 21:
| $10FFFF
| $10FFFF
|
|
| [[BIOSes|BIOS]] RAM
| [[BIOSes|BIOS]]-reserved RAM
|-
|-
| $200000
| $200000
| $2FFFFF
| $2FFFFF
| 1MiB
|
|
| Second 1MiB of 68k ROM (bankswitch possible on some carts, $2FFFE0 ?)
| Second bank of the 68k binary (bankswitch possible on some carts, $2FFFE0 ?)
|-
|-
| $300000
| $300000
| $3FFFFF
| $3FFFFF
|
|  
|  
| [[Memory mapped registers]]
| [[Memory mapped registers]]
|-
|-
| $400000
| $400000
| $401FFF
| $7FFFFF
| 8KiB (Mirrored)
| PALETTERAM
| PALETTERAM
| [[Palette RAM]]
| [[Palette RAM]]
|-
|-
| $800000
| $800000
| $800FFF
| $BFFFFF
| 4 KiB (Mirrored)
| MEMORYCARD
| MEMORYCARD
| [[Memory card]] (Even bytes are always $FF) (Replaced with onboard RAM in CD systems)
| [[Memory card]] (Even bytes are always $FF) (Replaced with onboard RAM in CD systems)
Line 42: Line 49:
| $C00000
| $C00000
| $C1FFFF/$CFFFFF
| $C1FFFF/$CFFFFF
|  
| 128KiB/512KiB
| BIOSROM
| System's [[BIOSes|BIOS]] (size depends on system: 128kB mirrored or 512kB)
| System's [[BIOSes|BIOS]] (size depends on system: 128kB mirrored or 512kB)
|-
|-
| $D00000
| $D00000
| $D0FFFF
| $DFFFFF
| 64KiB (Mirrored)
|  
|  
| 64KiB [[battery-backed RAM]] (MVS only)
| 64KiB [[battery-backed RAM]] (MVS only)
Line 52: Line 61:
| $E00000
| $E00000
| $EFFFFF
| $EFFFFF
|  
| 1MiB
| 1MiB upload zone (only on [[:Category:CD systems]])
| UPLOAD
| Upload zone (only on [[:Category:CD systems|CD systems]])
|-
| $FF0000
| $FFFFFF ?
|
|
| CD system registers
|}
|}


[[Category:CPUs]]
[[Category:CPUs]]

Revision as of 14:45, 24 March 2011

Start address End address Size DEF Name Description
$000000 $0FFFFF 1MiB First fixed bank of the 68k binary (P ROM or PRG file)
$100000 $10F2FF 64KiB
(Mirrored up to $1FFFFF)
WORKRAM User RAM
$10F300 $10FFFF BIOS-reserved RAM
$200000 $2FFFFF 1MiB Second bank of the 68k binary (bankswitch possible on some carts, $2FFFE0 ?)
$300000 $3FFFFF Memory mapped registers
$400000 $7FFFFF 8KiB (Mirrored) PALETTERAM Palette RAM
$800000 $BFFFFF 4 KiB (Mirrored) MEMORYCARD Memory card (Even bytes are always $FF) (Replaced with onboard RAM in CD systems)
$C00000 $C1FFFF/$CFFFFF 128KiB/512KiB BIOSROM System's BIOS (size depends on system: 128kB mirrored or 512kB)
$D00000 $DFFFFF 64KiB (Mirrored) 64KiB battery-backed RAM (MVS only)
$E00000 $EFFFFF 1MiB UPLOAD Upload zone (only on CD systems)
$FF0000 $FFFFFF ? CD system registers