Changeset 370 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- Mar 29, 2012, 4:40:50 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r365 r370 102 102 ; Return number of successfully read sectors 103 103 ReturnWithTransferErrorInAH: 104 %ifdef USE_386 105 movzx cx, [bp+PIOVARS.bSectorsDone] 106 %else 104 107 mov cl, [bp+PIOVARS.bSectorsDone] 105 108 mov ch, 0 ; Preserve CF 109 %endif 106 110 ret 107 111 … … 180 184 ; Store sizes 181 185 mov [bp+PIOVARS.bSectorsLeft], ah 182 eMOVZX ax, BYTE[di+DPT_ATA.bBlockSize]186 eMOVZX ax, [di+DPT_ATA.bBlockSize] 183 187 mov [bp+PIOVARS.wSectorsInBlock], ax 184 188 mov [bp+PIOVARS.bSectorsDone], ah ; Zero … … 218 222 ReadBlockFromXtideRev1: 219 223 UNROLL_SECTORS_IN_CX_TO_QWORDS 220 mov b x, 8 ; Bit mask for toggling data low/high reg224 mov bl, 8 ; Bit mask for toggling data low/high reg 221 225 ALIGN JUMP_ALIGN 222 226 .InswLoop: … … 287 291 push bx 288 292 UNROLL_SECTORS_IN_CX_TO_QWORDS 289 mov b x, 8 ; Bit mask for toggling data low/high reg293 mov bl, 8 ; Bit mask for toggling data low/high reg 290 294 push es ; Copy ES... 291 295 pop ds ; ...to DS
Note:
See TracChangeset
for help on using the changeset viewer.