Memory Map

The following is a memory map that was generated based on the MAME source code (.180).  This information is only as accurate as the MAME driver is.  If you see any errors, please let me know what that error is.
 
The Memory Area is related to where the information is from (CPU, Sound Board, etc..), and it may also reflect what it has in common with other hardware.
Memory Area:ps4_map
Address RangeLengthFunctionDescription
0x0000-0xFFFFF1048576ROM(// program ROM (1 meg))
0x2000000-0x21FFFFF2097152ROM, Regionmaincpu, 0x100000 (// data ROM)
0x3000000-0x30037FF14336RAM, Sharedspriteram
0x3003FE0-0x3003FE34Read/Writeps4_eeprom_r,ps4_eeprom_w
0x3003FE4-0x3003FE74Read NOP(// also writes to this address - might be vblank?)
0x3003FE4-0x3003FEF12RAM Write, Sharedps4_vidregs_w, vidregs (// vid regs?)
0x3003FF0-0x3003FF34Writeps4_screen1_brt_w (// screen 1 brightness)
0x3003FF4-0x3003FF74Write, Sharedps4_bgpen_1_dword_w, bgpen_1 (// screen 1 clear colour)
0x3003FF8-0x3003FFB4Writeps4_screen2_brt_w (// screen 2 brightness)
0x3003FFC-0x3003FFF4Write, Sharedps4_bgpen_2_dword_w, bgpen_2 (// screen 2 clear colour)
0x3004000-0x3005FFF8192RAM Write, Sharedps4_paletteram32_RRRRRRRRGGGGGGGGBBBBBBBBxxxxxxxx_dword_w, paletteram (// palette)
0x3006000-0x3007FFF8192ROM Bankgfxbank (// data for rom tests (gfx), data is controlled by vidreg)
0x5000000-0x50000078Device Read/Write 8-bitymf, ymf278b_device, read, write, 0xffffffff
0x5800000-0x58000034Read PortP1_P2
0x0001Coin 1Active Low
0x0002Coin 2Active Low
0x0004Coin 3Active Low
0x0008Coin 4Active Low
0x0010Service 1Active Low
0x0040OffActive High
0x0000OnActive High
0x0080Service 2Active Low
0x0100UnknownActive Low
0x0200UnknownActive Low
0x0400UnknownActive Low
0x0800UnknownActive Low
0x1000UnknownActive Low
0x2000UnknownActive Low
0x4000UnknownActive Low
0x8000UnknownActive Low
0x10000Joystick UpActive Low
0x20000Joystick DownActive Low
0x40000Joystick LeftActive Low
0x80000Joystick RightActive Low
0x100000Button 1Active Low
0x200000Button 2Active Low
0x400000Button 3Active Low
0x800000Start 2Active Low
0x1000000Joystick UpActive Low
0x2000000Joystick DownActive Low
0x4000000Joystick LeftActive Low
0x8000000Joystick RightActive Low
0x10000000Button 1Active Low
0x20000000Button 2Active Low
0x40000000Button 3Active Low
0x80000000Start 1Active Low
0x5800004-0x58000074Read PortP3_P4
0x0001UnknownActive Low
0x0002UnknownActive Low
0x0004UnknownActive Low
0x0008UnknownActive Low
0x0010UnknownActive Low
0x0020UnknownActive Low
0x0040UnknownActive Low
0x0080UnknownActive Low
0x0100UnknownActive Low
0x0200UnknownActive Low
0x0400UnknownActive Low
0x0800UnknownActive Low
0x1000UnknownActive Low
0x2000UnknownActive Low
0x4000UnknownActive Low
0x8000UnknownActive Low
0x10000Joystick UpActive Low
0x20000Joystick DownActive Low
0x40000Joystick LeftActive Low
0x80000Joystick RightActive Low
0x100000Button 1Active Low
0x200000Button 2Active Low
0x400000Button 3Active Low
0x800000Start 4Active Low
0x1000000Joystick UpActive Low
0x2000000Joystick DownActive Low
0x4000000Joystick LeftActive Low
0x8000000Joystick RightActive Low
0x10000000Button 1Active Low
0x20000000Button 2Active Low
0x40000000Button 3Active Low
0x80000000Start 3Active Low
0x5800008-0x580000B4Writeio_select_w (// Used by Mahjong games to choose input (also maps normal loderndf inputs to offsets))
0x6000000-0x60FFFFF1048576RAM, Sharedram (// main RAM (1 meg))
 

ROM Map for this game

 
This is the ROM map for the game.  This should tell you what address the ROM is at, how big it is, what it's used for.   
Memory Area:ymf
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFFFF8388608snd0.u10CRC(2da3788f) (Fluke: BC3C)
0x0000-0x7FFFFF8388608snd0.u10CRC(2da3788f) (Fluke: BC3C)
© Copyright 2009-2025, ClassicSoft, LLC. All rights reserved
Powered by the ClassicSoft Web Content Framework V3