src/mess/drivers/mephisto.c
| r14460 | r14461 | |
| 57 | 57 | |
| 58 | 58 | -- Cowering (2011) |
| 59 | 59 | |
| 60 | | 'rebel5' driver broke somewhere between 0.141 and 0.142 and is now marked as NOT_WORKING |
| 61 | | |
| 62 | 60 | ***********************************************************************************************/ |
| 63 | 61 | |
| 64 | 62 | #define ADDRESS_MAP_MODERN |
| r14460 | r14461 | |
| 341 | 339 | beep_set_state(state->m_beep, state->m_led_status&64?1:0); |
| 342 | 340 | } |
| 343 | 341 | |
| 342 | static TIMER_DEVICE_CALLBACK( update_nmi_r5 ) |
| 343 | { |
| 344 | mephisto_state *state = timer.machine().driver_data<mephisto_state>(); |
| 345 | cputag_set_input_line(timer.machine(), "maincpu", INPUT_LINE_NMI,PULSE_LINE); |
| 346 | beep_set_state(state->m_beep, state->m_led_status&64?1:0); |
| 347 | } |
| 348 | |
| 344 | 349 | static TIMER_DEVICE_CALLBACK( update_irq ) //only mm2 |
| 345 | 350 | { |
| 346 | 351 | mephisto_state *state = timer.machine().driver_data<mephisto_state>(); |
| r14460 | r14461 | |
| 416 | 421 | /* basic machine hardware */ |
| 417 | 422 | MCFG_CPU_MODIFY("maincpu") |
| 418 | 423 | MCFG_CPU_PROGRAM_MAP(rebel5_mem) |
| 424 | MCFG_DEVICE_REMOVE("nmi_timer") |
| 425 | MCFG_TIMER_ADD_PERIODIC("nmi_timer_r5", update_nmi_r5, attotime::from_hz(600)) |
| 426 | |
| 419 | 427 | MACHINE_CONFIG_END |
| 420 | 428 | |
| 421 | 429 | static MACHINE_CONFIG_DERIVED( mm2, mephisto ) |
| r14460 | r14461 | |
| 500 | 508 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 501 | 509 | |
| 502 | 510 | CONS( 1984, mm2, mm4, 0, mm2, mephisto, mephisto, "Hegener & Glaser", "Mephisto MM2 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK ) |
| 503 | | CONS( 1986, rebel5, mm4, 0, rebel5, mephisto, mephisto, "Hegener & Glaser", "Mephisto Rebel 5 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING ) |
| 511 | CONS( 1986, rebel5, mm4, 0, rebel5, mephisto, mephisto, "Hegener & Glaser", "Mephisto Rebel 5 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK ) |
| 504 | 512 | CONS( 1987, mm4, 0, 0, mephisto, mephisto, mephisto, "Hegener & Glaser", "Mephisto 4 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK ) |
| 505 | 513 | CONS( 1987, mm4tk, mm4, 0, mm4tk, mephisto, mephisto, "Hegener & Glaser", "Mephisto 4 Schachcomputer Turbo Kit + HG440", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK ) |
| 506 | 514 | CONS( 1990, mm5, mm4, 0, mephisto, mephisto, mephisto, "Hegener & Glaser", "Mephisto 5.1 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK ) |