Previous 15994 Revisions Next

r14461 Wednesday 15th February, 2012 at 02:54:53 UTC by Cowering
Fix up Rebel5 NMI (no wn)
[src/mess/drivers]mephisto.c

src/mess/drivers/mephisto.c
r14460r14461
5757
5858    -- Cowering (2011)
5959
60'rebel5' driver broke somewhere between 0.141 and 0.142 and is now marked as NOT_WORKING
61
6260***********************************************************************************************/
6361
6462#define ADDRESS_MAP_MODERN
r14460r14461
341339   beep_set_state(state->m_beep, state->m_led_status&64?1:0);
342340}
343341
342static 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
344349static TIMER_DEVICE_CALLBACK( update_irq )      //only mm2
345350{
346351   mephisto_state *state = timer.machine().driver_data<mephisto_state>();
r14460r14461
416421   /* basic machine hardware */
417422   MCFG_CPU_MODIFY("maincpu")
418423   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
419427MACHINE_CONFIG_END
420428
421429static MACHINE_CONFIG_DERIVED( mm2, mephisto )
r14460r14461
500508/*    YEAR  NAME        PARENT  COMPAT  MACHINE     INPUT       INIT        COMPANY             FULLNAME                            FLAGS */
501509
502510CONS( 1984, mm2,        mm4,   0,      mm2,        mephisto,   mephisto,   "Hegener & Glaser", "Mephisto MM2 Schachcomputer",     GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK )
503CONS( 1986, rebel5,     mm4,   0,      rebel5,     mephisto,   mephisto,   "Hegener & Glaser", "Mephisto Rebel 5 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING )
511CONS( 1986, rebel5,     mm4,   0,      rebel5,     mephisto,   mephisto,   "Hegener & Glaser", "Mephisto Rebel 5 Schachcomputer", GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK )
504512CONS( 1987, mm4,        0,      0,      mephisto,   mephisto,   mephisto,   "Hegener & Glaser", "Mephisto 4 Schachcomputer",       GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK )
505513CONS( 1987, mm4tk,      mm4,    0,      mm4tk,      mephisto,   mephisto,   "Hegener & Glaser", "Mephisto 4 Schachcomputer Turbo Kit + HG440",       GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK )
506514CONS( 1990, mm5,        mm4,   0,      mephisto,   mephisto,   mephisto,   "Hegener & Glaser", "Mephisto 5.1 Schachcomputer",     GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team