mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
removed few legacy calls (nw)
This commit is contained in:
parent
6097a18247
commit
347590dead
@ -553,8 +553,3 @@ CUSTOM_INPUT_MEMBER( driver_device::custom_port_read )
|
|||||||
return ioport(tag)->read();
|
return ioport(tag)->read();
|
||||||
}
|
}
|
||||||
|
|
||||||
// legacy
|
|
||||||
void generic_pulse_irq_line(device_t *device, int irqline, int cycles) { device->machine().driver_data()->generic_pulse_irq_line(device->execute(), irqline, cycles); }
|
|
||||||
|
|
||||||
// legacy
|
|
||||||
INTERRUPT_GEN( irq2_line_hold ) { device->machine().driver_data()->irq2_line_hold(*device); }
|
|
||||||
|
@ -102,13 +102,4 @@ int memcard_present(running_machine &machine);
|
|||||||
/* set the status of an LED */
|
/* set the status of an LED */
|
||||||
void set_led_status(running_machine &machine, int num, int value);
|
void set_led_status(running_machine &machine, int num, int value);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ----- interrupt enable and vector helpers ----- */
|
|
||||||
|
|
||||||
ATTR_DEPRECATED void generic_pulse_irq_line(device_t *device, int irqline, int cycles);
|
|
||||||
|
|
||||||
|
|
||||||
ATTR_DEPRECATED INTERRUPT_GEN( irq2_line_hold );
|
|
||||||
|
|
||||||
#endif /* __MACHINE_GENERIC_H__ */
|
#endif /* __MACHINE_GENERIC_H__ */
|
||||||
|
@ -1998,7 +1998,7 @@ static TIMER_DEVICE_CALLBACK( dcs_irq )
|
|||||||
reg = dcs.ireg_base;
|
reg = dcs.ireg_base;
|
||||||
|
|
||||||
/* generate the (internal, thats why the pulse) irq */
|
/* generate the (internal, thats why the pulse) irq */
|
||||||
generic_pulse_irq_line(dcs.cpu, ADSP2105_IRQ1, 1);
|
dcs.cpu->machine().driver_data()->generic_pulse_irq_line(*dcs.cpu, ADSP2105_IRQ1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* store it */
|
/* store it */
|
||||||
|
@ -79,7 +79,7 @@ INTERRUPT_GEN_MEMBER(ygv608_device::timed_interrupt )
|
|||||||
{
|
{
|
||||||
m_ports.s.p6 |= p6_fv;
|
m_ports.s.p6 |= p6_fv;
|
||||||
if (m_regs.s.r14 & r14_iev)
|
if (m_regs.s.r14 & r14_iev)
|
||||||
irq2_line_hold(&device);
|
device.execute().set_input_line(2, HOLD_LINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* once every 60Hz, set the position detection flag (somewhere) */
|
/* once every 60Hz, set the position detection flag (somewhere) */
|
||||||
@ -87,7 +87,7 @@ INTERRUPT_GEN_MEMBER(ygv608_device::timed_interrupt )
|
|||||||
{
|
{
|
||||||
m_ports.s.p6 |= p6_fp;
|
m_ports.s.p6 |= p6_fp;
|
||||||
if (m_regs.s.r14 & r14_iep)
|
if (m_regs.s.r14 & r14_iep)
|
||||||
irq2_line_hold(&device);
|
device.execute().set_input_line(2, HOLD_LINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user