src/mess/drivers/z100.c
| r12340 | r12341 | |
| 6 | 6 | |
| 7 | 7 | TODO: |
| 8 | 8 | - remove parity check IRQ patch (understand what it really wants there!) |
| 9 | | - vertical scrolling isn't understood |
| 9 | - implement S-100 bus features; |
| 10 | - irqs needs 8259 "auto-ack"-ing in order to work properly; |
| 11 | - vertical scrolling isn't understood; |
| 10 | 12 | |
| 11 | 13 | ============================================================================ |
| 12 | 14 | |
| r12340 | r12341 | |
| 165 | 167 | UINT8 m_z207_cur_drive; |
| 166 | 168 | |
| 167 | 169 | mc6845_device *m_mc6845; |
| 168 | | |
| 169 | 170 | }; |
| 170 | 171 | |
| 171 | 172 | #define mc6845_h_char_total (state->m_crtc_vreg[0]) |
| r12340 | r12341 | |
| 589 | 590 | |
| 590 | 591 | static READ8_DEVICE_HANDLER( get_slave_ack ) |
| 591 | 592 | { |
| 592 | | if (offset==3) { // IRQ = 7 |
| 593 | if (offset==7) { // IRQ = 7 |
| 593 | 594 | return pic8259_acknowledge(device->machine().device( "pic8259_slave")); |
| 594 | 595 | } |
| 595 | 596 | return 0x00; |
| r12340 | r12341 | |
| 604 | 605 | |
| 605 | 606 | static const struct pic8259_interface z100_pic8259_slave_config = |
| 606 | 607 | { |
| 607 | | DEVCB_DEVICE_LINE("pic8259_master", pic8259_ir7_w), |
| 608 | DEVCB_DEVICE_LINE("pic8259_master", pic8259_ir3_w), |
| 608 | 609 | DEVCB_LINE_GND, |
| 609 | 610 | DEVCB_NULL |
| 610 | 611 | }; |