|
|
| version 1.3, 2004/08/05 04:53:15 | version 1.5, 2004/08/10 08:28:49 |
|---|---|
| Line 44 dma_lp: cmp dma.ENDB_FLG, 0 | Line 44 dma_lp: cmp dma.ENDB_FLG, 0 |
| jne dmalpend | jne dmalpend |
| dma_lpst: | dma_lpst: |
| push ecx | push ecx |
| push edx | |
| movzx ecx, word ptr [ebx] | movzx ecx, word ptr [ebx] |
| test dl, 8 | test dl, 8 |
| jne dma_inport | jne dma_inport |
| push edx | |
| call memrd8_ecx_al | call memrd8_ecx_al |
| pop edx | dmasrcend: pop edx |
| dmasrcend: pop ecx | pop ecx |
| test dma.DMA_CMND, 1 | test dma.DMA_CMND, 1 |
| je dmadstend | je dmadstend |
| Line 138 dma_intrpt: jmp z80x_interrupt | Line 138 dma_intrpt: jmp z80x_interrupt |
| dmaintrptend: ret | dmaintrptend: ret |
| dma_inport: push edx | dma_inport: call iocore_inp |
| push ebx | |
| cmp cx, 0ffbh | |
| jne Z80inport | |
| mov fdcdummyread, 0 | |
| Z80inport: call iocore_inp | |
| pop ebx | |
| pop edx | |
| jmp dmasrcend | jmp dmasrcend |
| dma_outport: push ebx | dma_outport: call iocore_out |
| cmp cx, 0ffbh | |
| jne Z80outport | |
| cmp ppi.IO_MODE, 0 | |
| jne Z80outport | |
| mov fdcdummyread, 0 | |
| Z80outport: call iocore_out | |
| pop ebx | |
| jmp dmadstend | jmp dmadstend |
| } | } |
| } | } |