src/mess/machine/conkort.c
| r4916 | r4917 | |
| 405 | 405 | conkort->status = data; |
| 406 | 406 | } |
| 407 | 407 | |
| 408 | | static READ8_DEVICE_HANDLER(z80pio_alt_r) |
| 409 | | { |
| 410 | | int channel = BIT(offset, 1); |
| 411 | | |
| 412 | | return (offset & 1) ? z80pio_c_r(device, channel) : z80pio_d_r(device, channel); |
| 413 | | } |
| 414 | | |
| 415 | | static WRITE8_DEVICE_HANDLER(z80pio_alt_w) |
| 416 | | { |
| 417 | | int channel = BIT(offset, 1); |
| 418 | | |
| 419 | | if (offset & 1) |
| 420 | | z80pio_c_w(device, channel, data); |
| 421 | | else |
| 422 | | z80pio_d_w(device, channel, data); |
| 423 | | } |
| 424 | | |
| 425 | 408 | /* Memory Maps */ |
| 426 | 409 | |
| 427 | 410 | // Slow Controller |