68k user RAM: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (moved User RAM to 68k user RAM)
m (BIOS -> system ROM)
 
Line 5: Line 5:
64KiB mapped in the [[68k]]'s memory space, from $100000 to $10FFFF (mirrored up to $1FFFFF on [[:Category:cartridge systems|cartridge systems]]).
64KiB mapped in the [[68k]]'s memory space, from $100000 to $10FFFF (mirrored up to $1FFFFF on [[:Category:cartridge systems|cartridge systems]]).


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


The [[MVS hardware|MVS]] [[BIOSes|BIOS]] 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.
The [[MVS hardware|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 [[:Category:CD systems|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 (?).
In [[:Category:CD systems|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 (?).

Latest revision as of 09:34, 28 October 2015

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.