trunk/src/mame/drivers/punchout.c
| r243013 | r243014 | |
| 10 | 10 | driver by Nicola Salmoria |
| 11 | 11 | |
| 12 | 12 | TODO: |
| 13 | - finish spunchout protection, currently using a hacky workaround |
| 13 | 14 | - add useless driver config to choose between pink and white color proms |
| 14 | 15 | - video raw params - pixel clock is derived from 20.16mhz xtal |
| 15 | 16 | - money bag placement might not be 100% correct in Arm Wrestling |
| r243013 | r243014 | |
| 227 | 228 | ret |= m_rp5h01->counter_r() ? 0x00 : 0x40; |
| 228 | 229 | ret |= m_rp5h01->data_r() ? 0x00 : 0x80; |
| 229 | 230 | |
| 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 | |
| 230 | 240 | return ret; |
| 231 | 241 | } |
| 232 | 242 | |