mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
timetrv: Remove bogus interrupt generators (nw)
This commit is contained in:
parent
922c983f69
commit
8132a3a53a
@ -48,8 +48,6 @@ public:
|
||||
DECLARE_READ8_MEMBER(ld_r);
|
||||
virtual void video_start() override;
|
||||
uint32_t screen_update_timetrv(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(vblank_irq);
|
||||
INTERRUPT_GEN_MEMBER(ld_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
void timetrv(machine_config &config);
|
||||
};
|
||||
@ -140,24 +138,13 @@ static INPUT_PORTS_START( timetrv )
|
||||
// 0x80 eeprom read bit
|
||||
INPUT_PORTS_END
|
||||
|
||||
INTERRUPT_GEN_MEMBER(timetrv_state::vblank_irq)
|
||||
{
|
||||
device.execute().set_input_line_and_vector(0,HOLD_LINE,0x20/4); //vblank bit flag clear
|
||||
}
|
||||
|
||||
INTERRUPT_GEN_MEMBER(timetrv_state::ld_irq)
|
||||
{
|
||||
device.execute().set_input_line_and_vector(0,HOLD_LINE,0x48/4); //ld irq
|
||||
}
|
||||
|
||||
MACHINE_CONFIG_START(timetrv_state::timetrv)
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu",I80188,20000000) //???
|
||||
MCFG_CPU_PROGRAM_MAP(timetrv_map)
|
||||
MCFG_CPU_IO_MAP(timetrv_io)
|
||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", timetrv_state, vblank_irq)
|
||||
MCFG_CPU_PERIODIC_INT_DRIVER(timetrv_state, ld_irq, 60) //remove from here
|
||||
// interrupts are generated by internally-driven timers
|
||||
|
||||
MCFG_DEVICE_ADD("ppi1", I8255, 0)
|
||||
MCFG_I8255_IN_PORTA_CB(READ8(timetrv_state, test1_r)) //inputs
|
||||
|
Loading…
Reference in New Issue
Block a user