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:ninjakun_cpu1_map
Address RangeLengthFunctionDescription
0x0000-0x1FFF8192ROM
0x2000-0x7FFF24576ROM
0x8000-0x80012Device Writeay1, ay8910_device, address_data_w
0x80011Device Readay1, ay8910_device, data_r
0x8002-0x80032Device Writeay2, ay8910_device, address_data_w
0x80031Device Readay2, ay8910_device, data_r
0xA0001Read PortIN0
0x0001Joystick LeftActive Low
0x0002Joystick RightActive Low
0x0004Button 2Active Low
0x0008Button 1Active Low
0x0010UnknownActive Low
0x0020Start 1Active Low
0x0040UnknownActive High
0x0080UnknownActive High
0xA0011Read PortIN1
0x0001Joystick LeftActive Low
0x0002Joystick RightActive Low
0x0004Button 2Active Low
0x0008Button 1Active Low
0x0010UnknownActive Low
0x0020Start 2Active Low
0x0080Coin 1Active High
0xA0021Read Port, WriteIN2, ninjakun_cpu1_io_A002_w
0x0002CustomActive Low
0x000cSpecialActive High
0xA0031Writepkunwar_flipscreen_w
0xC000-0xC7FF2048RAM Write, Sharednova2001_fg_videoram_w, fg_videoram
0xC800-0xCFFF2048Read/Write, Sharedninjakun_bg_videoram_r, ninjakun_bg_videoram_w, bg_videoram
0xD000-0xD7FF2048RAM, Sharedspriteram
0xD800-0xD9FF512RAM Write, Sharedninjakun_paletteram_w, palette
0xE000-0xE3FF1024RAM, Sharedshare1
0xE400-0xE7FF1024RAM, Sharedshare2
Memory Area:ninjakun_cpu2_map
Address RangeLengthFunctionDescription
0x0000-0x1FFF8192ROM
0x2000-0x7FFF24576ROM, Regionmaincpu, 0x2000
0x8000-0x80012Device Writeay1, ay8910_device, address_data_w
0x80011Device Readay1, ay8910_device, data_r
0x8002-0x80032Device Writeay2, ay8910_device, address_data_w
0x80031Device Readay2, ay8910_device, data_r
0xA0001Read PortIN0
0x0001Joystick LeftActive Low
0x0002Joystick RightActive Low
0x0004Button 2Active Low
0x0008Button 1Active Low
0x0010UnknownActive Low
0x0020Start 1Active Low
0x0040UnknownActive High
0x0080UnknownActive High
0xA0011Read PortIN1
0x0001Joystick LeftActive Low
0x0002Joystick RightActive Low
0x0004Button 2Active Low
0x0008Button 1Active Low
0x0010UnknownActive Low
0x0020Start 2Active Low
0x0080Coin 1Active High
0xA0021Read Port, WriteIN2, ninjakun_cpu2_io_A002_w
0x0002CustomActive Low
0x000cSpecialActive High
0xA0031Writenova2001_flipscreen_w
0xC000-0xC7FF2048RAM Write, Sharednova2001_fg_videoram_w, fg_videoram
0xC800-0xCFFF2048Read/Write, Sharedninjakun_bg_videoram_r, ninjakun_bg_videoram_w, bg_videoram
0xD000-0xD7FF2048RAM, Sharedspriteram
0xD800-0xD9FF512RAM Write, Sharedninjakun_paletteram_w, palette
0xE000-0xE3FF1024RAM, Sharedshare2 (/* swapped wrt CPU1 */)
0xE400-0xE7FF1024RAM, Sharedshare1 (/* swapped wrt CPU1 */)
 

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:maincpu
Address RangeLengthLabel/LocationDescription
0x0000-0x1FFF8192ninja-1.7aCRC(1c1dc141) (Fluke: 4D77)
0x2000-0x3FFF8192ninja-2.7bCRC(39cc7d37) (Fluke: D4E5)
0x4000-0x5FFF8192ninja-3.7dCRC(d542bfe3) (Fluke: C30D)
0x6000-0x7FFF8192ninja-4.7eCRC(a57385c6) (Fluke: 561F)
Memory Area:sub
Address RangeLengthLabel/LocationDescription
0x0000-0x1FFF8192ninja-5.7hCRC(164a42c4) (Fluke: 2D20)
© Copyright 2009-2025, ClassicSoft, LLC. All rights reserved
Powered by the ClassicSoft Web Content Framework V3