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:mtrain_io
Address RangeLengthFunctionDescription
0x0000-0x003F64RAM(// internal regs)
Memory Area:mtrain_map
Address RangeLengthFunctionDescription
0x0000-0x6FFF28672ROM
0x7800-0x7FFF2048RAM, Sharednvram (// battery)
0x8000-0x8FFF4096Writemtrain_videoram_w
0x911F1Writess9601_disable_w
0x9120-0x91256Writess9601_scroll_w
0x912F1Writess9601_byte_lo_w
0x9140-0x91423Write, Sharedmtrain_outputs_w, outputs
0x91431Read PortIN D (// (not shown in system test) 0x40 serial out, 0x80 serial in)
0x0001UnknownActive Low
0x0002UnknownActive Low
0x0004UnknownActive Low
0x0008UnknownActive Low
0x0010ResetActive Low
0x0020UnknownActive Low
0x0040UnknownActive Low
0x0080SpecialActive Low
0x91441Read PortIN A (// A)
0x0001UnknownActive Low
0x0002UnknownActive Low
0x0004UnknownActive Low
0x0008Start AllActive Low
0x0010Bet / Stop AllActive Low
0x0020Info / Double?Active Low
0x0040UnknownActive Low
0x0080UnknownActive Low
0x91451Read PortIN B (// B)
0x0001Gamble KeyinActive Low
0x0002Coin 1Active Low
0x0004UnknownActive Low
0x0008UnknownActive Low
0x0010Gamble BookActive Low
0x0020ServiceActive Low
0x0040Gamble PayoutActive Low
0x0080Gamble KeyoutActive Low
0x91461Read PortIN C (// C)
0x0001Stop 3 / RightActive Low
0x0002UnknownActive Low
0x0004UnknownActive Low
0x0008Stop 2 / Left / Play Gambling 1Active Low
0x0010Play Gambling 2Active Low
0x0020UnknownActive Low
0x0040Stop 1 / Take / RotateActive Low
0x0080Play TetrisActive Low
0x91471Readdsw_r
0x91481Writedsw_mask_w
0x91521Read, Writevblank_bit2_r, oki_bank_bit0_w
0x9158-0x915E7Readmtrain_prot_r
0x9160-0x91634Writehm86171_colorram_w
0x91641Device Read/Writeoki, okim6295_device, read, write
0x91681Writemtrain_tilesize_w
0x9800-0x9FFF2048RAM
0xA000-0xFFFF24576ROM
 

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-0x80FF33024ocean-n tetris_1 v1.4.u17CRC(c7499123)
Memory Area:oki
Address RangeLengthLabel/LocationDescription
0x0000-0x3FFFF262144ocean-n tetris_6 v1.21.u27CRC(1c8a886d)
Memory Area:plds
Address RangeLengthLabel/LocationDescription
0x0000-0x0116279gal16v8d.u26
0x0000-0x0116279gal16v8d.u18
0x0000-0x0116279gal16v8d.u31
0x0000-0x0116279gal16v8d.u19
0x0000-0x0116279gal16v8d.u6
© Copyright 2009-2025, ClassicSoft, LLC. All rights reserved
Powered by the ClassicSoft Web Content Framework V3