From adf71162bfebf89970e29ce7ca79d72842514c52 Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 10 Nov 2022 22:21:09 +0100 Subject: [PATCH] namcos22: let's mark alpinesa as bad dump --- src/devices/cpu/scmp/scmp.cpp | 11 +++-------- src/mame/namco/namcos22.cpp | 14 ++++++-------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/devices/cpu/scmp/scmp.cpp b/src/devices/cpu/scmp/scmp.cpp index 5eb4bba0be9..4646305e0b6 100644 --- a/src/devices/cpu/scmp/scmp.cpp +++ b/src/devices/cpu/scmp/scmp.cpp @@ -132,15 +132,10 @@ uint16_t scmp_device::GET_ADDR(uint8_t code) uint16_t ptr = GET_PTR_REG(code & 0x03)->w.l; uint8_t arg = ARG(); - if (arg == 0x80) { + if (arg == 0x80) offset = m_ER; - } else { - if (arg & 0x80) { - offset = (int8_t)arg; - } else { - offset = arg; - } - } + else + offset = (int8_t)arg; addr = ADD12(ptr,offset); diff --git a/src/mame/namco/namcos22.cpp b/src/mame/namco/namcos22.cpp index bb03084c854..8e7ca31af76 100644 --- a/src/mame/namco/namcos22.cpp +++ b/src/mame/namco/namcos22.cpp @@ -18,9 +18,7 @@ TODO: - Rave Racer car will sometimes do a 'strafe slide' when playing the game with a small analog device (such as an Xbox 360 pad), does not happen with keyboard controls or larger device like a steering wheel. BTANB or related to HLE I/O board emulation? -- alpinesa doesn't work, protection related? - depending on value written, it looks like it changes the addressing - of some of the gfx chips on the fly. This is probably due to the PAL modification on the PROGRAM ROM PCB. Check - the modification details of the TYPE 4 Program ROM PCB below. +- alpinesa doesn't work, bad dump? (previously thought it was unemulated protection) - C139 for linked cabinets, as well as in RR fullscale - confirm DSP and MCU IRQ timing - EEPROM write timing should be around 5ms, it doesn't do any data/rdy polling @@ -5380,10 +5378,10 @@ ROM_END ROM_START( alpinesa ) ROM_REGION( 0x800000, "maincpu", 0 ) /* main program */ - ROM_LOAD32_BYTE( "af2ver-a_ll.ic2", 0x000003, 0x200000, CRC(e776159d) SHA1(5110364afb7ec606074d58a1d216d7d687b9df62) ) - ROM_LOAD32_BYTE( "af2ver-a_lm.ic3", 0x000002, 0x200000, CRC(c5333d38) SHA1(9486cead964f95f8e56dac2f88486f3b98561aa6) ) - ROM_LOAD32_BYTE( "af2ver-a_um.ic4", 0x000001, 0x200000, CRC(5977fc6e) SHA1(19b8041789f8987934fa461972976a3570b1b87b) ) - ROM_LOAD32_BYTE( "af2ver-a_uu.ic5", 0x000000, 0x200000, CRC(54ee33a1) SHA1(0eaa8707ab13a0a66551f61a08986c98f5c9e446) ) + ROM_LOAD32_BYTE( "af2ver-a_ll.ic2", 0x000003, 0x200000, BAD_DUMP CRC(e776159d) SHA1(5110364afb7ec606074d58a1d216d7d687b9df62) ) + ROM_LOAD32_BYTE( "af2ver-a_lm.ic3", 0x000002, 0x200000, BAD_DUMP CRC(c5333d38) SHA1(9486cead964f95f8e56dac2f88486f3b98561aa6) ) + ROM_LOAD32_BYTE( "af2ver-a_um.ic4", 0x000001, 0x200000, BAD_DUMP CRC(5977fc6e) SHA1(19b8041789f8987934fa461972976a3570b1b87b) ) + ROM_LOAD32_BYTE( "af2ver-a_uu.ic5", 0x000000, 0x200000, BAD_DUMP CRC(54ee33a1) SHA1(0eaa8707ab13a0a66551f61a08986c98f5c9e446) ) ROM_REGION( 0x10000*2, "master", 0 ) /* Master DSP */ ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) @@ -6237,7 +6235,7 @@ GAME( 1995, timecris, 0, timecris, timecris, timecris_state, init_ti GAME( 1995, timecrisa, timecris, timecris, timecris, timecris_state, init_timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.A, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 96/01/08 18:56:09 GAME( 1996, propcycl, 0, propcycl, propcycl, propcycl_state, init_propcycl, ROT0, "Namco", "Prop Cycle (Rev. PR2 Ver.A, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 96/06/18 21:22:13 GAME( 1996, propcyclj, propcycl, propcycl, propcycl, propcycl_state, init_propcyclj, ROT0, "Namco", "Prop Cycle (Rev. PR1 Ver.A, Japan)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 96/06/18 21:06:03 -GAME( 1996, alpinesa, 0, alpinesa, alpiner, alpinesa_state, init_alpinesa, ROT0, "Namco", "Alpine Surfer (Rev. AF2 Ver.A, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING ) // 96/07/01 15:19:23. major problems, protection? +GAME( 1996, alpinesa, 0, alpinesa, alpiner, alpinesa_state, init_alpinesa, ROT0, "Namco", "Alpine Surfer (Rev. AF2 Ver.A, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING ) // 96/07/01 15:19:23. major problems, suspect bad dump GAME( 1996, tokyowar, 0, tokyowar, tokyowar, namcos22s_state, init_tokyowar, ROT0, "Namco", "Tokyo Wars (Rev. TW2 Ver.A, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NODEVICE_LAN ) // 96/09/03 14:08:47 GAME( 1996, tokyowarj, tokyowar, tokyowar, tokyowar, namcos22s_state, init_tokyowar, ROT0, "Namco", "Tokyo Wars (Rev. TW1 Ver.A, Japan)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NODEVICE_LAN ) // 96/09/03 14:16:29 GAME( 1996, aquajet, 0, cybrcycc, aquajet, namcos22s_state, init_aquajet, ROT0, "Namco", "Aqua Jet (Rev. AJ2 Ver.B, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 96/09/20 14:28:30