src/mess/drivers/abc80.c
| r5150 | r5151 | |
| 375 | 375 | z80pio_astb_w(state->z80pio, state->z80pio_astb); |
| 376 | 376 | } |
| 377 | 377 | |
| 378 | | static void abc80_pio_interrupt(const device_config *device, int state) |
| 379 | | { |
| 380 | | cputag_set_input_line(device->machine, Z80_TAG, INPUT_LINE_IRQ0, state); |
| 381 | | } |
| 382 | | |
| 383 | 378 | static READ8_DEVICE_HANDLER( abc80_pio_port_a_r ) |
| 384 | 379 | { |
| 385 | 380 | /* |
| r5150 | r5151 | |
| 453 | 448 | |
| 454 | 449 | static const z80pio_interface abc80_pio_intf = |
| 455 | 450 | { |
| 456 | | DEVCB_LINE(abc80_pio_interrupt), /* callback when change interrupt status */ |
| 451 | DEVCB_CPU_INPUT_LINE(Z80_TAG, INPUT_LINE_IRQ0), /* callback when change interrupt status */ |
| 457 | 452 | DEVCB_HANDLER(abc80_pio_port_a_r), /* port A read callback */ |
| 458 | 453 | DEVCB_HANDLER(abc80_pio_port_b_r), /* port B read callback */ |
| 459 | 454 | DEVCB_NULL, /* port A write callback */ |