src/mess/machine/super80.c
| r9352 | r9353 | |
| 17 | 17 | |
| 18 | 18 | static UINT8 keylatch; |
| 19 | 19 | |
| 20 | | /* This activates when Control + C + 4 pressed */ |
| 21 | | static void super80_pio_interrupt(running_device *device, int state) |
| 22 | | { |
| 23 | | cputag_set_input_line(device->machine, "maincpu", 0, state ); |
| 24 | | } |
| 25 | | |
| 26 | 20 | static WRITE8_DEVICE_HANDLER( pio_port_a_w ) |
| 27 | 21 | { |
| 28 | 22 | keylatch = data; |
| r9352 | r9353 | |
| 45 | 39 | |
| 46 | 40 | Z80PIO_INTERFACE( super80_pio_intf ) |
| 47 | 41 | { |
| 48 | | DEVCB_LINE(super80_pio_interrupt), /* callback when change interrupt status */ |
| 42 | DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0), |
| 49 | 43 | DEVCB_NULL, |
| 50 | 44 | DEVCB_HANDLER(pio_port_a_w), |
| 51 | 45 | DEVCB_NULL, /* portA ready active callback (not used in super80) */ |