Previous 199869 Revisions Next

r34502 Monday 19th January, 2015 at 22:14:42 UTC by hap
re-added old protection hack for now.
see: http://mametesters.org/view.php?id=5828
[src/mame/drivers]punchout.c

trunk/src/mame/drivers/punchout.c
r243013r243014
1010driver by Nicola Salmoria
1111
1212TODO:
13- finish spunchout protection, currently using a hacky workaround
1314- add useless driver config to choose between pink and white color proms
1415- video raw params - pixel clock is derived from 20.16mhz xtal
1516- money bag placement might not be 100% correct in Arm Wrestling
r243013r243014
227228   ret |= m_rp5h01->counter_r() ? 0x00 : 0x40;
228229   ret |= m_rp5h01->data_r() ? 0x00 : 0x80;
229230
231   // FIXME - hack d6/d7 state until we figure out why the game resets
232   /* PC = 0x0313 */
233   /* (ret or 0x10) -> (D7DF),(D7A0) - (D7DF),(D7A0) = 0d0h(ret nc) */
234   ret &= 0x3f;
235   if (space.device().safe_pcbase() == 0x0313)
236   {
237      ret |= 0xc0;
238   }
239
230240   return ret;
231241}
232242


Previous 199869 Revisions Next


© 1997-2024 The MAME Team