| Previous | 199869 Revisions | Next |
| r32488 Thursday 2nd October, 2014 at 01:51:46 UTC by R. Belmont |
|---|
| (MESS) concept: signal tc_w at end of fdc02 pseudo-DMA, but 765 still won't cooperate (nw) |
| [src/emu/bus/a2bus] | corvfdc02.c |
| r32487 | r32488 | |
|---|---|---|
| 269 | 269 | // pseudo-DMA direction? |
| 270 | 270 | if (m_fdc_local_command & 0x40) |
| 271 | 271 | { |
| 272 | m_buffer[m_bufptr] = m_fdc->dma_r(); | |
| 272 | m_buffer[m_bufptr] = m_fdc->dma_r(); | |
| 273 | 273 | // printf("DMA %02x to buffer[%x]\n", m_buffer[m_bufptr], m_bufptr); |
| 274 | ||
| 275 | if (!m_bufptr) | |
| 276 | { | |
| 277 | m_fdc->tc_w(true); | |
| 278 | m_fdc->tc_w(false); | |
| 279 | } | |
| 280 | ||
| 274 | 281 | m_bufptr--; |
| 275 | 282 | m_bufptr &= 0x1ff; |
| 276 | 283 | } |
| Previous | 199869 Revisions | Next |