68k memory map: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
| '''Size'''
| '''Size'''
| '''[[68k ASM defines|DEF]] Name'''
| '''[[68k ASM defines|DEF]] Name'''
| '''Delay'''
| '''Description'''
| '''Description'''
|-
|-
Line 15: Line 16:
| 1MiB
| 1MiB
|  
|  
| 1 (5 clks)
| [[68k_vector_table|Vector table]], First fixed bank of the [[68k]] program ROM ([[P ROM]])
| [[68k_vector_table|Vector table]], First fixed bank of the [[68k]] program ROM ([[P ROM]])
|-
|-
Line 21: Line 23:
|rowspan="2"|64KiB
|rowspan="2"|64KiB
|rowspan="2"|WORKRAM
|rowspan="2"|WORKRAM
|rowspan="2"|0 (4 clks)
| [[68k user RAM|User RAM]]
| [[68k user RAM|User RAM]]
|-
|-
Line 31: Line 34:
| 1MiB
| 1MiB
|
|
| 0 (4 clks)
| Second bank of the 68k program ROM (also used for bankswitching and special chips)
| Second bank of the 68k program ROM (also used for bankswitching and special chips)
|-
|-
Line 37: Line 41:
|
|
|  
|  
| 0 (4 clks)
| Input ports (See [[Memory mapped registers]])
| Input ports (See [[Memory mapped registers]])
|-
|-
Line 43: Line 48:
|
|
|  
|  
|
| Ouput ports (See Memory mapped registers)
| Ouput ports (See Memory mapped registers)
|-
|-
Line 49: Line 55:
|
|
|  
|  
| 0 (4 clks)
| [[GPU]] ports (See Memory mapped registers)
| [[GPU]] ports (See Memory mapped registers)
|-
|-
Line 54: Line 61:
| $401FFF
| $401FFF
| 8KiB
| 8KiB
| PALETTERAM
| PALETTES
| 0 (4 clks)
| Banked [[palette RAM]]
| Banked [[palette RAM]]
|-
|-
| $800000
| $800000
| $BFFFFF
| $BFFFFF
| 16 KiB max
| 8 MiB max
| MEMORYCARD
| MEMCARD
| [[Memory card]] (8bit, even bytes are always $FF)
| 2 (6 clks)
| [[Memory card]]
|-
|-
| $C00000
| $C00000
Line 67: Line 76:
| 128KiB
| 128KiB
| BIOSROM
| BIOSROM
| 0 (4 clks)
| System ROM ([[BIOSes|BIOS]])
| System ROM ([[BIOSes|BIOS]])
|-
|-
Line 73: Line 83:
| 64KiB
| 64KiB
|  
|  
| 0 (4 clks)
| [[Backup RAM]] (MVS only)
| [[Backup RAM]] (MVS only)
|}
|}
Line 130: Line 141:
| $401FFF
| $401FFF
| 8KiB
| 8KiB
| PALETTERAM
| PALETTES
| Banked [[palette RAM]]
| Banked [[palette RAM]]
|-
|-
Line 136: Line 147:
| $803FFF
| $803FFF
| 8 KiB
| 8 KiB
| MEMORYCARD
| MEMCARD
| Virtual memory card (onboard [[battery-backed RAM]])<br>
| Virtual memory card (onboard [[battery-backed RAM]])<br>
(8bit, even bytes are always $FF)
(8bit, even bytes are always $FF)
Line 143: Line 154:
| $C7FFFF
| $C7FFFF
| 512KiB
| 512KiB
| SYSTEMROM
| BIOSROM
| System ROM ([[BIOSes|BIOS]])
| System ROM ([[BIOSes|BIOS]])
|-
|-

Revision as of 23:46, 10 July 2012

In Cartridge systems

Start End Size DEF Name Delay Description
$000000 $0FFFFF 1MiB 1 (5 clks) Vector table, First fixed bank of the 68k program ROM (P ROM)
$100000 $10F2FF 64KiB WORKRAM 0 (4 clks) User RAM
$10F300 $10FFFF BIOS-reserved RAM
$200000 $2FFFFF 1MiB 0 (4 clks) Second bank of the 68k program ROM (also used for bankswitching and special chips)
$300000 $39FFFF 0 (4 clks) Input ports (See Memory mapped registers)
$3A0000 $3BFFFF Ouput ports (See Memory mapped registers)
$3C0000 $3FFFFF 0 (4 clks) GPU ports (See Memory mapped registers)
$400000 $401FFF 8KiB PALETTES 0 (4 clks) Banked palette RAM
$800000 $BFFFFF 8 MiB max MEMCARD 2 (6 clks) Memory card
$C00000 $C1FFFF 128KiB BIOSROM 0 (4 clks) System ROM (BIOS)
$D00000 $D0FFFF 64KiB 0 (4 clks) Backup 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 PALETTES Banked palette RAM
$800000 $803FFF 8 KiB MEMCARD Virtual memory card (onboard battery-backed RAM)

(8bit, even bytes are always $FF)

$C00000 $C7FFFF 512KiB BIOSROM System ROM (BIOS)
$D00000 $DFFFFF ?
$E00000 $EFFFFF 1MiB UPLOAD Upload zone
$FF0000 $FF01FF ? CD and DMA specific I/O registers

For Neo Print boards

Infos from [MAME's source].

Start End Size DEF Name Description
$000000 $07FFFF 512KiB 68k program (P ROM).
$100000 $17FFFF Banked 68k program or I/O (writes done here).
$200000 $20FFFF 64KiB 68k RAM
$300000 $30FFFF 64KiB Backup RAM
$400000 $43FFFF VRAM ?
$500000 $51FFFF 128KiB Palette RAM
$600000 $600001 Z80 I/O
$600002 $600003 RTC I/O
$600004 $60000D I/O registers
$700000 $70001B GPU registers
70001E 70001F Watchdog