Previous 15994 Revisions Next

r6165 Wednesday 21st October, 2009 at 17:56:50 UTC by Wilbert Pol
Fix compile error.
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r6164r6165
19041904 *
19051905 *************************************/
19061906
1907static void ctc0_interrupt(const device_config *device, int state)
1907static Z80CTC_INTERFACE( ctc_intf )
19081908{
1909   cputag_set_input_line(device->machine,"maincpu",INPUT_LINE_IRQ0,state);
1910}
1911
1912
1913static const z80ctc_interface ctc_intf =
1914{
19151909   0,               // timer disables
1916   ctc0_interrupt,      // interrupt handler
1917   z80ctc_trg3_w,      // ZC/TO0 callback
1918   z80ctc_trg1_w,      // ZC/TO1 callback
1919   z80ctc_trg2_w,      // ZC/TO2 callback
1910   DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0),      // interrupt handler
1911   DEVCB_LINE(z80ctc_trg3_w),      // ZC/TO0 callback
1912   DEVCB_LINE(z80ctc_trg1_w),      // ZC/TO1 callback
1913   DEVCB_LINE(z80ctc_trg2_w),      // ZC/TO2 callback
19201914};
19211915
19221916static const z80sio_interface sio_intf =

Previous 15994 Revisions Next


© 1998-2018 The MESS Team