68k memory map: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (9 revisions: Import from wikkii)
No edit summary
Line 5: Line 5:


{| class="regdef"
{| class="regdef"
| '''Start address'''
| '''Start'''
| '''End address'''
| '''End'''
| '''Size'''
| '''Size'''
| '''[[ASM Defines|DEF]] Name'''
| '''[[ASM Defines|DEF]] Name'''
Line 15: Line 15:
| 1MiB
| 1MiB
|  
|  
| Vector table, First fixed bank of the [[68k]] binary ([[P ROM|P1 ROM]])
| Vector table, First fixed bank of the [[68k]] program ROM ([[P ROM]])
|-
|-
| $100000
| $100000
Line 31: Line 31:
| 1MiB
| 1MiB
|
|
| Second bank of the 68k binary (bankswitch possible on some carts, $2FFFE0 ?)
| Second bank of the 68k program ROM (used for bankswitching and special chips)
|-
|-
| $300000
| $300000
| $39FFFF
|
|
| Input ports (See [[Memory mapped registers]])
|-
| $3A0000
| $3BFFFF
|
|
| Ouput ports (See Memory mapped registers)
|-
| $3C0000
| $3FFFFF
| $3FFFFF
|
|
|  
|  
| [[Memory mapped registers]]
| [[GPU]] ports (See Memory mapped registers)
|-
|-
| $400000
| $400000
Line 46: Line 58:
|-
|-
| $800000
| $800000
| $801FFF
| $BFFFFF
| 4 KiB
| 16 KiB max
| MEMORYCARD
| MEMORYCARD
| [[Memory card]] (8bit, even bytes are always $FF)
| [[Memory card]] (8bit, even bytes are always $FF)
Line 55: Line 67:
| 128KiB
| 128KiB
| BIOSROM
| BIOSROM
| System's [[BIOSes|BIOS]]
| System ROM ([[BIOSes|BIOS]])
|-
|-
| $D00000
| $D00000
Line 69: Line 81:


{| class="regdef"
{| class="regdef"
| '''Start address'''
| '''Start'''
| '''End address'''
| '''End'''
| '''Size'''
| '''Size'''
| '''[[ASM Defines|DEF]] Name'''
| '''[[ASM Defines|DEF]] Name'''
Line 76: Line 88:
|-
|-
| $000000
| $000000
| $1FFFFF
| $0FFFFF
| 2MiB
| 2MiB
|  
|  
| Vector table, 68k binaries ([[PRG file]]s), 68k RAM
| Vector table, 68k program ([[PRG file]]s), 68k RAM
|-
|-
| $100000
| $100000
Line 91: Line 103:
| [[BIOSes|BIOS]]-reserved RAM
| [[BIOSes|BIOS]]-reserved RAM
|-
|-
| $200000
| $110000
| $2FFFFF
| $1FFFFF
|  
|  
|
|
| ?
| 68k program ?
|-
|-
| $300000
| $300000
| $39FFFF
|
|
| Input ports (See [[Memory mapped registers]])
|-
| $3A0000
| $3BFFFF
|
|
| Ouput ports (See Memory mapped registers)
|-
| $3C0000
| $3FFFFF
| $3FFFFF
|
|
|  
|  
| [[Memory mapped registers]]
| [[GPU]] ports (See Memory mapped registers)
|-
|-
| $400000
| $400000
Line 119: Line 143:
| $C7FFFF
| $C7FFFF
| 512KiB
| 512KiB
| BIOSROM
| SYSTEMROM
| System's [[BIOSes|BIOS]]
| System ROM ([[BIOSes|BIOS]])
|-
|-
| $D00000
| $D00000
Line 138: Line 162:
|
|
|
|
| CD system registers
| CD specific i/o registers
|}
|}



Revision as of 02:04, 27 June 2011

In Cartridge systems

Start End Size DEF Name Description
$000000 $0FFFFF 1MiB Vector table, First fixed bank of the 68k program ROM (P ROM)
$100000 $10F2FF 64KiB WORKRAM User RAM
$10F300 $10FFFF BIOS-reserved RAM
$200000 $2FFFFF 1MiB Second bank of the 68k program ROM (used for bankswitching and special chips)
$300000 $39FFFF Input ports (See Memory mapped registers)
$3A0000 $3BFFFF Ouput ports (See Memory mapped registers)
$3C0000 $3FFFFF GPU ports (See Memory mapped registers)
$400000 $401FFF 8KiB PALETTERAM Banked palette RAM
$800000 $BFFFFF 16 KiB max MEMORYCARD Memory card (8bit, even bytes are always $FF)
$C00000 $C1FFFF 128KiB BIOSROM System ROM (BIOS)
$D00000 $D0FFFF 64KiB battery-backed RAM (MVS only)

In CD systems

Start End Size DEF Name Description
$000000 $0FFFFF 2MiB Vector table, 68k program (PRG files), 68k RAM
$100000 $10F2FF 64KiB
Shared with the 68k code DRAM ?
WORKRAM User RAM
$10F300 $10FFFF BIOS-reserved RAM
$110000 $1FFFFF 68k program ?
$300000 $39FFFF Input ports (See Memory mapped registers)
$3A0000 $3BFFFF Ouput ports (See Memory mapped registers)
$3C0000 $3FFFFF GPU ports (See 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 $C7FFFF 512KiB SYSTEMROM System ROM (BIOS)
$D00000 $DFFFFF ?
$E00000 $EFFFFF 1MiB UPLOAD Upload zone
$FF0000 $FF01FF ? CD specific i/o registers