| Previous | 199869 Revisions | Next |
| r20343 Saturday 19th January, 2013 at 14:28:02 UTC by Angelo Salese |
|---|
| Added Pad IRQ to PC-FX |
| [src/mess/drivers] | pcfx.c |
| r20342 | r20343 | |
|---|---|---|
| 111 | 111 | if(((offset<<1) & 0x02) == 0) |
| 112 | 112 | { |
| 113 | 113 | m_pad.status[port_type] &= ~8; // clear latch on LSB read according to docs |
| 114 | | |
| 114 | set_irq_line(11, 0); | |
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| r20342 | r20343 | |
| 126 | 126 | m_pad.status[param] |= 8; |
| 127 | 127 | m_pad.ctrl[param] &= ~1; // ack TX line |
| 128 | 128 | // TODO: pad IRQ |
| 129 | ||
| 129 | set_irq_line(11, 1); | |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | WRITE16_MEMBER( pcfx_state::pad_w ) |
| Previous | 199869 Revisions | Next |