fba爱莫能助,这是mame源码
- // music4 add
- static ADDRESS_MAP_START( main_map4, AS_PROGRAM, 16, neogeo_4s_state )
- AM_RANGE(0x000000, 0x00007f) AM_ROMBANK(NEOGEO_BANK_VECTORS)
- AM_RANGE(0x000080, 0x0fffff) AM_ROM
- AM_RANGE(0x100000, 0x10ffff) AM_MIRROR(0x0f0000) AM_RAM
- /* some games have protection devices in the 0x200000 region, it appears to map to cart space, not surprising, the ROM is read here too */
- AM_RANGE(0x200000, 0x2fffff) AM_ROMBANK(NEOGEO_BANK_CARTRIDGE)
- AM_RANGE(0x2ffff0, 0x2fffff) AM_WRITE(main_cpu_bank_select_w)
- AM_RANGE(0x300000, 0x300001) AM_MIRROR(0x01ff7e) AM_READ_PORT("IN0")
- AM_RANGE(0x300080, 0x300081) AM_MIRROR(0x01ff7e) AM_READ_PORT("IN4")
- AM_RANGE(0x300000, 0x300001) AM_MIRROR(0x01ffe0) AM_READ(neogeo_unmapped_r) AM_WRITE(watchdog_w)
- AM_RANGE(0x320000, 0x320001) AM_MIRROR(0x01fffe) AM_READ_PORT("IN3") AM_WRITE(audio_command_w)
- AM_RANGE(0x340000, 0x340001) AM_MIRROR(0x01fffe) AM_READ_PORT("IN1")
- AM_RANGE(0x360000, 0x37ffff) AM_READ(neogeo_unmapped_r)
- AM_RANGE(0x380000, 0x380001) AM_MIRROR(0x01fffe) AM_READ_PORT("IN2")
- AM_RANGE(0x380000, 0x38007f) AM_MIRROR(0x01ff80) AM_WRITE(io_co**ol_w)
- AM_RANGE(0x3a0000, 0x3a001f) AM_MIRROR(0x01ffe0) AM_READ(neogeo_unmapped_r) AM_WRITE(system_co**ol_w_m4)
- AM_RANGE(0x3c0000, 0x3c0007) AM_MIRROR(0x01fff8) AM_READ(neogeo_video_register_r)
- AM_RANGE(0x3c0000, 0x3c000f) AM_MIRROR(0x01fff0) AM_WRITE(neogeo_video_register_w)
- AM_RANGE(0x3e0000, 0x3fffff) AM_READ(neogeo_unmapped_r)
- AM_RANGE(0x400000, 0x401fff) AM_MIRROR(0x3fe000) AM_READWRITE(neogeo_paletteram_r, neogeo_paletteram_w)
- AM_RANGE(0x800000, 0x800fff) AM_READWRITE(memcard_r, memcard_w)
- AM_RANGE(0x900000, 0xb9ffff) AM_ROM // music4 add
- AM_RANGE(0xba0000, 0xba0001) AM_MIRROR(0x01fffe) AM_READ(get_audio_result_m4) AM_WRITE(audio_command_w_m4) // music4 add
- AM_RANGE(0xbc0000, 0xbc0001) AM_MIRROR(0x01fffe) AM_READ(get_audio_result_m3) AM_WRITE(audio_command_w_m3) // music4 add
- AM_RANGE(0xbe0000, 0xbe0001) AM_MIRROR(0x01fffe) AM_READ(get_audio_result_m2) AM_WRITE(audio_command_w_m2) // music4 add
- AM_RANGE(0xc00000, 0xc1ffff) AM_MIRROR(0x0e0000) AM_ROMBANK(NEOGEO_BANK_BIOS)
- AM_RANGE(0xd00000, 0xd0ffff) AM_MIRROR(0x0f0000) AM_RAM_WRITE(save_ram_w) AM_SHARE("save_ram")
- AM_RANGE(0xe00000, 0xffffff) AM_READ(neogeo_unmapped_r)
- ADDRESS_MAP_END
- // music4 add
[color=rgb(51, 102, 153) !important]复制代码
-------------------------------------------------------------------------------------------
- ROM_START( kf2k2ps2re ) /* AES VERSION */
- ROM_REGION( 0xc00000, "maincpu", 0 )
- ROM_LOAD16_WORD_SWAP( "265ps2-p1.p1", 0x000000, 0x100000, CRC(25744D64) SHA1(505C6F4062B3614AA1CE1990EC726B45851628ED) )
- ROM_LOAD16_WORD_SWAP( "265ps2-p2.sp2", 0x100000, 0x500000, CRC(07D730D0) SHA1(FB0CD3496F9BFD74A4973C24668336173CB3E190) )
- ROM_LOAD16_WORD_SWAP( "265ps2-p3.p3",0x900000, 0x020000, CRC(AB1F63D5) SHA1(1DC2437C6B4257172B21EBB3C6937AF5779FB261) )
- NEO_SFIX_128K( "265ps2-s1.s1", CRC(714ade47) SHA1(a46115ed89454d8090fae59cfa4aea61a4a81ebf) )
- NEO_BIOS_AUDIO_128K( "265-m1d.m1", CRC(1C661A4B) SHA1(4E5AA862A0A182A806D538996DDC68D9F2DFFAF7) )
- ROM_REGION( 0x30000, "audiocpu_m2", 0 )
- ROM_LOAD( "214-m1.m1", 0x00000, 0x20000, CRC(dabc427c) SHA1(b76722ed142ee7addceb4757424870dbd003e8b3) )
- ROM_RELOAD( 0x10000, 0x20000 )
- ROM_REGION( 0x50000, "audiocpu_m3", 0 )
- ROM_LOAD( "262-m1d.m1", 0x00000, 0x40000, CRC(4BCC537B) SHA1(9FCF1342BCD53D5EEC12C46EE41A51BF543256C2) )
- ROM_RELOAD( 0x10000, 0x40000 )
- ROM_REGION( 0x90000, "audiocpu_m4", 0 )
- ROM_LOAD( "269-m1d.m1", 0x00000, 0x80000, CRC(7B7BF462) SHA1(7466A6962DE5242F71B9C52D7BD21A9832115E11) )
- ROM_RELOAD( 0x10000, 0x80000 )
- ROM_REGION( 0x1000000, "ymsnd", 0 )
- ROM_LOAD( "265-v1d.v1", 0x000000, 0x800000, CRC(0FC9A58D) SHA1(9D79EF00E2C2ABD9F29AF5521C2FBE5798BF336F) )
- ROM_LOAD( "265-v2d.v2", 0x800000, 0x800000, CRC(B8C475A4) SHA1(10CAF9C69927A223445D2C4B147864C02CE520A8) )
- ROM_REGION( 0xc00000, "ymsnd_m2", 0 )
- ROM_LOAD( "214-v1.v1", 0x000000, 0x400000, CRC(63f7b045) SHA1(1353715f1a8476dca6f8031d9e7a401eacab8159) ) /* TC5332204 */
- ROM_LOAD( "214-v2.v2", 0x400000, 0x400000, CRC(25929059) SHA1(6a721c4cb8f8dc772774023877d4a9f50d5a9e31) ) /* TC5332204 */
- ROM_LOAD( "214-v3.v3", 0x800000, 0x200000, CRC(92a2257d) SHA1(5064aec78fa0d104e5dd5869b95382aa170214ee) ) /* TC5316200 */
- ROM_REGION( 0x1000000, "ymsnd_m3", 0 )
- ROM_LOAD( "262-v1d.v1", 0x000000, 0x800000, CRC(AC2913BF) SHA1(1721EC3D19684AF702F6C93DA25BB787A5D9DBFF) )
- ROM_LOAD( "262-v2d.v2", 0x800000, 0x800000, CRC(15042F30) SHA1(F92E49110BDE007104590BE1A0FDC8064C216C37) )
- ROM_REGION( 0x1000000, "ymsnd_m4", 0 )
- ROM_LOAD( "269-v1d.v1", 0x000000, 0x800000, CRC(FF64CD56) SHA1(E2754C554ED5CA14C2020C5D931021D5AC82660C) )
- ROM_LOAD( "269-v2d.v2", 0x800000, 0x800000, CRC(A8DD6446) SHA1(8972AAB271C33F8AF344BFFE6359D9DDC4B8AF2E) )
- NO_DELTAT_REGION
- ROM_REGION( 0x5000000, "sprites", 0 )
- ROM_LOAD16_BYTE( "265-c1d.c1", 0x0000000, 0x800000, CRC(7efa6ef7) SHA1(71345A4202E7CC9239538FB978638141416C8893) ) /* Plane 0,1 */
- ROM_LOAD16_BYTE( "265-c2d.c2", 0x0000001, 0x800000, CRC(aa82948b) SHA1(B2A40797F68BDEB80BC54DCCC5495BE68934BF0E) ) /* Plane 2,3 */
- ROM_LOAD16_BYTE( "265-c3d.c3", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63AB83DDC5F688DC8165A7FF8D262DF3FCD942A2) ) /* Plane 0,1 */
- ROM_LOAD16_BYTE( "265-c4d.c4", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2A414285E48AA948B5B0D4A9333BAB083B5FB853) ) /* Plane 2,3 */
- ROM_LOAD16_BYTE( "265-c5d.c5", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(E01ADC7A4633BC0951B9B4F09ABC07D728E9A2D9) ) /* Plane 0,1 */
- ROM_LOAD16_BYTE( "265-c6d.c6", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5D28EEA7**1E780B78F391A8179F1678EE0D9A5) ) /* Plane 2,3 */
- ROM_LOAD16_BYTE( "265ps2-c7.c7", 0x3000000, 0x800000, CRC(F0897B93) SHA1(F1C38737B148C459212B61066E8C279852F080B3) ) /* Plane 0,1 */
- ROM_LOAD16_BYTE( "265ps2-c8.c8", 0x3000001, 0x800000, CRC(8D27A4A6) SHA1(F05A1FEA1B2E542B70B11E58455812E9186D0D77) ) /* Plane 2,3 */
- ROM_LOAD16_BYTE( "265ps2-c9.c9", 0x4000000, 0x800000, CRC(9939C08A) SHA1(75033A18ECD9177EC6DA00E32FE1E391FDE0BC39) ) /* Plane 0,1 */
- ROM_LOAD16_BYTE( "265ps2-c10.c10",0x4000001, 0x800000, CRC(C724C069) SHA1(26974478ED31C68A3B987986849C8386F8C5AF8C) ) /* Plane 2,3 */
- ROM_END
[color=rgb(51, 102, 153) !important]复制代码
[color=rgb(51, 102, 153) !important]
|