68k user RAM

From NeoGeo Development Wiki
Jump to navigation Jump to search

68k user RAM

File:Wramerror.jpg

Sometimes called "work RAM".

64KiB mapped in the 68k's memory space, from $100000 to $10FFFF (mirrored up to $1FFFFF on cartridge systems).

The range from $10F300 to $10FFFF is used by the System ROM functions and shouldn't be used as regular work RAM.

The MVS System ROM checks the entire RAM during boot by filling with $5555, reading back, filling with $AAAA, reading back and filling with a 16bit incremental value then reading back. If it encounters an error, it will lock-up after displaying the address where the error occured, and the read/write difference.

In CD systems, the 68k's RAM is used in the same way, but is located in part of the program DRAM instead of in separate static RAM chips (?).

Z80 user RAM

2KiB mapped in the Z80's memory space, from $F800 to $FFFF. Not automatically cleared.