Changeset 589 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDmaBlock.asm
- Timestamp:
- May 22, 2016, 12:26:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDmaBlock.asm
r567 r589 94 94 ; When DI is zero only one transfer is required since we've limited the 95 95 ; XT-CFv3 block size to 32k 96 jnc SHORT .TransferLastDmaPageWithSizeInCX96 jnc SHORT StartDMAtransferForXTCFwithDmaModeInBL 97 97 98 98 ; CF was set, so DI != 0 and we might need one or two transfers 99 cmp cx, ax ; if we won't cross a physical page boundary...100 jbe SHORT .TransferLastDmaPageWithSizeInCX; ...perform the transfer in one operation99 cmp cx, ax ; if we won't cross a physical page boundary... 100 jbe SHORT StartDMAtransferForXTCFwithDmaModeInBL ; ...perform the transfer in one operation 101 101 102 102 ; Calculate how much we can transfer on first and second rounds … … 108 108 call StartDMAtransferForXTCFwithDmaModeInBL 109 109 pop cx ; Pop size for second DMA page 110 111 .TransferLastDmaPageWithSizeInCX:112 110 ; Fall to StartDMAtransferForXTCFwithDmaModeInBL 113 111 … … 115 113 ;-------------------------------------------------------------------- 116 114 ; StartDMAtransferForXTCFwithDmaModeInBL 117 ; Updated for XT-CFv3, 11-Apr-13118 115 ; Parameters: 119 116 ; BL: Byte for DMA Mode Register
Note:
See TracChangeset
for help on using the changeset viewer.