| Previous | 199869 Revisions | Next |
| r30943 Wednesday 11th June, 2014 at 15:32:08 UTC by Carl |
|---|
| upd765: drop the polling irq when anything is written to the controller in command mode (verified on actual hardware) (nw) |
| [src/emu/machine] | upd765.c |
| [src/mess/drivers] | x68k.c |
| r30942 | r30943 | |
|---|---|---|
| 400 | 400 | switch(main_phase) { |
| 401 | 401 | case PHASE_CMD: { |
| 402 | 402 | command[command_pos++] = data; |
| 403 | other_irq = false; | |
| 404 | check_irq(); | |
| 403 | 405 | int cmd = check_command(); |
| 404 | 406 | if(cmd == C_INCOMPLETE) |
| 405 | 407 | break; |
| r30942 | r30943 | |
| 1283 | 1285 | break; |
| 1284 | 1286 | |
| 1285 | 1287 | case C_SEEK: |
| 1286 | other_irq = false; | |
| 1287 | check_irq(); | |
| 1288 | 1288 | seek_start(flopi[command[1] & 3]); |
| 1289 | 1289 | main_phase = PHASE_CMD; |
| 1290 | 1290 | break; |
| r30942 | r30943 | |
|---|---|---|
| 705 | 705 | logerror("FDC: IRQ triggered\n"); |
| 706 | 706 | m_maincpu->set_input_line_and_vector(1, ASSERT_LINE, m_current_vector[1]); |
| 707 | 707 | } |
| 708 | else | |
| 709 | m_maincpu->set_input_line(1, CLEAR_LINE); | |
| 708 | 710 | } |
| 709 | 711 | |
| 710 | 712 | WRITE16_MEMBER(x68k_state::x68k_fm_w) |
| Previous | 199869 Revisions | Next |