Previous 15994 Revisions Next

r9353 Sunday 10th October, 2010 at 11:29:57 UTC by Robbbert
[SUPER80] Removed trampoline.
[src/mess/machine]super80.c

src/mess/machine/super80.c
r9352r9353
1717
1818static UINT8 keylatch;
1919
20/* This activates when Control + C + 4 pressed */
21static void super80_pio_interrupt(running_device *device, int state)
22{
23   cputag_set_input_line(device->machine, "maincpu", 0, state );
24}
25
2620static WRITE8_DEVICE_HANDLER( pio_port_a_w )
2721{
2822   keylatch = data;
r9352r9353
4539
4640Z80PIO_INTERFACE( super80_pio_intf )
4741{
48   DEVCB_LINE(super80_pio_interrupt),      /* callback when change interrupt status */
42   DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0),
4943   DEVCB_NULL,
5044   DEVCB_HANDLER(pio_port_a_w),
5145   DEVCB_NULL,         /* portA ready active callback (not used in super80) */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team