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:mnight_main_cpu
Address RangeLengthFunctionDescription
0x0000-0x7FFF32768ROM
0x8000-0xBFFF16384ROM Bankbank1
0xC000-0xD9FF6656RAM
0xDA00-0xDFFF1536RAM, Sharedspriteram
0xE000-0xE7FF2048RAM Write, Sharedninjakd2_bgvideoram_w, bg_videoram
0xE800-0xEFFF2048RAM Write, Sharedninjakd2_fgvideoram_w, fg_videoram
0xF000-0xF5FF1536RAM Device Write, Sharedpalette, palette_device, write, palette
0xF8001Read PortKEYCOIN
0xF8011Read PortPAD1
0xF8021Read PortPAD2
0xF8031Read PortDIPSW1
0x0001Flip_ScreenActive High
0x0001OffActive High
0x0000OnActive High
0x0002Bonus_LifeActive High
0x000230k and every 50kActive High
0x000050k and every 80kActive High
0x0004DifficultyActive High
0x0004NormalActive High
0x0000DifficultActive High
0x0008OffActive High
0x0000OnActive High
0x0010CabinetActive High
0x0000UprightActive High
0x0010CocktailActive High
0x0020Demo_SoundsActive High
0x0020OffActive High
0x0000OnActive High
0x00c0LivesActive High
0x00802Active High
0x00c03Active High
0x00404Active High
0x00005Active High
0xF8041Read PortDIPSW2
0x00e0CoinageActive High
0x00005C_1CActive High
0x00204C_1CActive High
0x00403C_1CActive High
0x00602C_1CActive High
0x00e01C_1CActive High
0x00c01C_2CActive High
0x00a01C_3CActive High
0x00801C_4CActive High
0xFA001Device Writesoundlatch, generic_latch_8_device, write
0xFA011Writeninjakd2_soundreset_w
0xFA021Writeninjakd2_bankselect_w
0xFA031Writeninjakd2_sprite_overdraw_w
0xFA08-0xFA0C5Writeninjakd2_bg_ctrl_w
Memory Area:ninjakd2_main_cpu
Address RangeLengthFunctionDescription
0x0000-0x7FFF32768ROM
0x8000-0xBFFF16384ROM Bankbank1
0xC0001Read PortKEYCOIN
0xC0011Read PortPAD1
0xC0021Read PortPAD2
0xC0031Read PortDIPSW1
0x0001Flip_ScreenActive High
0x0001OffActive High
0x0000OnActive High
0x0002Bonus_LifeActive High
0x000230k and every 50kActive High
0x000050k and every 80kActive High
0x0004DifficultyActive High
0x0004NormalActive High
0x0000DifficultActive High
0x0008OffActive High
0x0000OnActive High
0x0010CabinetActive High
0x0000UprightActive High
0x0010CocktailActive High
0x0020Demo_SoundsActive High
0x0020OffActive High
0x0000OnActive High
0x00c0LivesActive High
0x00802Active High
0x00c03Active High
0x00404Active High
0x00005Active High
0xC0041Read PortDIPSW2
0x00e0CoinageActive High
0x00005C_1CActive High
0x00204C_1CActive High
0x00403C_1CActive High
0x00602C_1CActive High
0x00e01C_1CActive High
0x00c01C_2CActive High
0x00a01C_3CActive High
0x00801C_4CActive High
0xC2001Device Writesoundlatch, generic_latch_8_device, write
0xC2011Writeninjakd2_soundreset_w
0xC2021Writeninjakd2_bankselect_w
0xC2031Writeninjakd2_sprite_overdraw_w
0xC208-0xC20C5Writeninjakd2_bg_ctrl_w
0xC800-0xCDFF1536RAM Device Write, Sharedpalette, palette_device, write, palette
0xD000-0xD7FF2048RAM Write, Sharedninjakd2_fgvideoram_w, fg_videoram
0xD800-0xDFFF2048RAM Write, Sharedninjakd2_bgvideoram_w, bg_videoram
0xE000-0xF9FF6656RAM
0xFA00-0xFFFF1536RAM, Sharedspriteram
Memory Area:ninjakd2_sound_cpu
Address RangeLengthFunctionDescription
0x0000-0x7FFF32768ROM
0x8000-0xBFFF16384ROM
0xC000-0xC7FF2048RAM
0xE0001Device Readsoundlatch, generic_latch_8_device, read
0xF0001Writeninjakd2_pcm_play_w
Memory Area:ninjakd2_sound_io
Address RangeLengthFunctionDescription
0x0000-0x00012Device Write2203.1, ym2203_device, write
0x0080-0x00812Device Write2203.2, ym2203_device, write
Memory Area:ninjakid_nopcm_sound_cpu
Address RangeLengthFunctionDescription
0x0000-0x7FFF32768ROM
0x8000-0xBFFF16384ROM
0xC000-0xC7FF2048RAM
0xE0001Device Readsoundlatch, generic_latch_8_device, read
0xF0001Read/Write NOP
 

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:gfx1
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFF3276813.b10CRC(8c177a19)
Memory Area:gfx2
Address RangeLengthLabel/LocationDescription
0x0000-0xFFFF655369.e11CRC(4883059c) (Fluke: 7D3E)
0x10000-0x1FFFF655368.e12CRC(02b91445) (Fluke: 4ACF)
0x20000-0x2FFFF655367.e14CRC(9f08d160) (Fluke: 5ADE)
Memory Area:gfx3
Address RangeLengthLabel/LocationDescription
0x0000-0xFFFF6553612.b20CRC(4d37e0f4) (Fluke: 15B5)
0x10000-0x1FFFF6553611.b22CRC(b22cbbd3) (Fluke: A07C)
0x20000-0x2FFFF6553610.b23CRC(65714070) (Fluke: 4E54)
Memory Area:maincpu
Address RangeLengthLabel/LocationDescription
0x0000-0x7FFF327681.j19CRC(56678d14) (Fluke: 7860)
0x10000-0x17FFF327682.j17CRC(2a73f88e) (Fluke: 05FF)
0x18000-0x1FFFF327683.j16CRC(c5e42bb4) (Fluke: 74FA)
0x20000-0x27FFF327684.j14CRC(df6a4f7a) (Fluke: 46B2)
0x28000-0x2FFFF327685.j12CRC(9c391d1b) (Fluke: 95CF)
Memory Area:soundcpu
Address RangeLengthLabel/LocationDescription
0x0000-0xFFFF655366.j7CRC(a0782a31) (Fluke: BACD)
© Copyright 2009-2025, ClassicSoft, LLC. All rights reserved
Powered by the ClassicSoft Web Content Framework V3