68k memory map: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| style="border-spacing: 10px;"
|style="vertical-align: top;"|
==In [[:Category:Cartridge systems|Cartridge systems]]==
{| class="regdef"
{| class="regdef"
| '''Start address'''
| '''Start address'''
Line 10: Line 15:
| 1MiB
| 1MiB
|  
|  
| First fixed bank of the [[68k]] binary ([[P ROM]] or [[PRG file]])
| Vector table, First fixed bank of the [[68k]] binary ([[P ROM|P1 ROM]])
|-
|-
| $100000
| $100000
| $10F2FF
| $10F2FF
|rowspan="2"|64KiB<br>(Mirrored up to $1FFFFF)
|rowspan="2"|64KiB
| WORKRAM
|rowspan="2"|WORKRAM
| [[68k user RAM|User RAM]]
| [[68k user RAM|User RAM]]
|-
|-
| $10F300
| $10F300
| $10FFFF
| $10FFFF
|
| [[BIOSes|BIOS]]-reserved RAM
| [[BIOSes|BIOS]]-reserved RAM
|-
|-
Line 36: Line 40:
|-
|-
| $400000
| $400000
| $7FFFFF
| $401FFF
| 8KiB (Mirrored)
| 8KiB
| PALETTERAM
| Banked [[palette RAM]]
|-
| $800000
| $801FFF
| 4 KiB
| MEMORYCARD
| [[Memory card]] (8bit, even bytes are always $FF)
|-
| $C00000
| $C1FFFF
| 128KiB
| BIOSROM
| System's [[BIOSes|BIOS]]
|-
| $D00000
| $D0FFFF
| 64KiB
|
| [[battery-backed RAM]] (MVS only)
|}
 
|style="vertical-align: top;"|
 
==In [[:Category:CD systems|CD systems]]==
 
{| class="regdef"
| '''Start address'''
| '''End address'''
| '''Size'''
| '''[[ASM Defines|DEF]] Name'''
| '''Description'''
|-
| $000000
| $1FFFFF
| 2MiB
|
| Vector table, 68k binaries ([[PRG file]]s), 68k RAM
|-
| $100000
| $10F2FF
|rowspan="2"|64KiB<br>Shared with the 68k code [[DRAM]] ?
|rowspan="2"| WORKRAM
| [[68k user RAM|User RAM]]
|-
| $10F300
| $10FFFF
| [[BIOSes|BIOS]]-reserved RAM
|-
| $200000
| $2FFFFF
|
|
| ?
|-
| $300000
| $3FFFFF
|
|
| [[Memory mapped registers]]
|-
| $400000
| $401FFF
| 8KiB
| PALETTERAM
| PALETTERAM
| [[Palette RAM]]
| Banked [[palette RAM]]
|-
|-
| $800000
| $800000
| $BFFFFF
| $803FFF
| 4 KiB (Mirrored)
| 8 KiB
| MEMORYCARD
| MEMORYCARD
| [[Memory card]] (Even bytes are always $FF) (Replaced with onboard RAM in CD systems)
| Virtual memory card (onboard [[battery-backed RAM]])<br>
(8bit, even bytes are always $FF)
|-
|-
| $C00000
| $C00000
| $C1FFFF/$CFFFFF
| $CFFFFF
| 128KiB/512KiB
| 512KiB
| BIOSROM
| BIOSROM
| System's [[BIOSes|BIOS]] (size depends on system: 128kB mirrored or 512kB)
| System's [[BIOSes|BIOS]]
|-
|-
| $D00000
| $D00000
| $DFFFFF
| $DFFFFF
| 64KiB (Mirrored)
|  
|  
| 64KiB [[battery-backed RAM]] (MVS only)
|  
| ?
|-
|-
| $E00000
| $E00000
Line 63: Line 132:
| 1MiB
| 1MiB
| UPLOAD
| UPLOAD
| Upload zone (only on [[:Category:CD systems|CD systems]])
| Upload zone
|-
|-
| $FF0000
| $FF0000
| $FFFFFF ?
| $FF01FF ?
|
|
|
|
Line 72: Line 141:
|}
|}


[[Category:CPUs]]
|}
 
[[Category:Base system]]

Revision as of 15:14, 16 April 2011

In Cartridge systems

Start address End address Size DEF Name Description
$000000 $0FFFFF 1MiB Vector table, First fixed bank of the 68k binary (P1 ROM)
$100000 $10F2FF 64KiB 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 $401FFF 8KiB PALETTERAM Banked palette RAM
$800000 $801FFF 4 KiB MEMORYCARD Memory card (8bit, even bytes are always $FF)
$C00000 $C1FFFF 128KiB BIOSROM System's BIOS
$D00000 $D0FFFF 64KiB battery-backed RAM (MVS only)

In CD systems

Start address End address Size DEF Name Description
$000000 $1FFFFF 2MiB Vector table, 68k binaries (PRG files), 68k RAM
$100000 $10F2FF 64KiB
Shared with the 68k code DRAM ?
WORKRAM User RAM
$10F300 $10FFFF BIOS-reserved RAM
$200000 $2FFFFF ?
$300000 $3FFFFF Memory mapped registers
$400000 $401FFF 8KiB PALETTERAM Banked palette RAM
$800000 $803FFF 8 KiB MEMORYCARD Virtual memory card (onboard battery-backed RAM)

(8bit, even bytes are always $FF)

$C00000 $CFFFFF 512KiB BIOSROM System's BIOS
$D00000 $DFFFFF ?
$E00000 $EFFFFF 1MiB UPLOAD Upload zone
$FF0000 $FF01FF ? CD system registers