68k memory map: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:
| 1MiB
| 1MiB
|
|
| Second bank of the 68k program ROM (used for bankswitching and special chips)
| Second bank of the 68k program ROM (also used for bankswitching and special chips)
|-
|-
| $300000
| $300000
Line 95: Line 95:
| $100000
| $100000
| $10F2FF
| $10F2FF
|rowspan="2"|64KiB<br>Shared with the 68k code [[DRAM]] ?
|rowspan="2"|64KiB<br>Shared with the 68k code [[DRAM]].
|rowspan="2"| WORKRAM
|rowspan="2"| WORKRAM
| [[68k user RAM|User RAM]]
| [[68k user RAM|User RAM]]
Line 162: Line 162:
|
|
|
|
| CD specific i/o registers
| CD and DMA specific I/O registers
|}
|}


|}
== For [[Neo Print]] boards ==
Infos from [[http://mamedev.org/source/src/mame/drivers/neoprint.c.html MAME's source]].
{| class="regdef"
| '''Start'''
| '''End'''
| '''Size'''
| '''[[68k ASM defines|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
|}
|}


[[Category:Base system]]
[[Category:Base system]]

Revision as of 02:23, 26 December 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 (also 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 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 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 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