Previous 199869 Revisions Next

r40666 Thursday 10th September, 2015 at 17:56:44 UTC by Osso
cclimber.c: fixed MT06029 (nw)
yamato has one more ROM at 0x7000 - 0x7fff that must be taken care of. I opted for using the same decode for yamato2 too, even if 0x6000 was enough for it, to avoid more code duplication.
[src/mame/drivers]cclimber.c

trunk/src/mame/drivers/cclimber.c
r249177r249178
375375   AM_RANGE(0xba00, 0xba00) AM_READ_PORT("START")  /* maybe a mirror of b800 */
376376ADDRESS_MAP_END
377377
378static ADDRESS_MAP_START( yamato_decrypted_opcodes_map, AS_DECRYPTED_OPCODES, 8, cclimber_state )
379   AM_RANGE(0x0000, 0x7fff) AM_ROM AM_SHARE("decrypted_opcodes")
380ADDRESS_MAP_END
381
378382static ADDRESS_MAP_START( toprollr_map, AS_PROGRAM, 8, cclimber_state )
379383   AM_RANGE(0x0000, 0x5fff) AM_ROMBANK("bank1")
380384   AM_RANGE(0x6000, 0x6bff) AM_RAM AM_SHARE("ram")
r249177r249178
10561060   MCFG_CPU_MODIFY("maincpu")
10571061   MCFG_CPU_PROGRAM_MAP(yamato_map)
10581062   MCFG_CPU_IO_MAP(yamato_portmap)
1059   MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map)
1063   MCFG_CPU_DECRYPTED_OPCODES_MAP(yamato_decrypted_opcodes_map)
10601064
10611065   MCFG_CPU_ADD("audiocpu", Z80, 3072000) /* 3.072 MHz ? */
10621066   MCFG_CPU_PROGRAM_MAP(yamato_audio_map)
r249177r249178
24152419      { 0x20,0xa0,0x28,0xa8 }, { 0x00,0x08,0x20,0x28 }    /* ...1...1...1...1 */
24162420   };
24172421
2418   sega_decode(memregion("maincpu")->base(), m_decrypted_opcodes, 0x6000, convtable);
2422   sega_decode(memregion("maincpu")->base(), m_decrypted_opcodes, 0x8000, convtable);
24192423
24202424   save_item(NAME(m_yamato_p0));
24212425   save_item(NAME(m_yamato_p1));


Previous 199869 Revisions Next


© 1997-2024 The MAME Team