Changeset 611 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- May 22, 2021, 9:33:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r610 r611 174 174 %ifdef MODULE_EBIOS 175 175 eMOVZX ax, [bp+IDEPACK.bLbaLowExt] ; Zero sector count 176 xchg al, ah ; LBA low ext to AH, zero sectors to AL 176 177 mov cx, [bp+IDEPACK.wLbaMiddleAndHighExt] 177 178 call OutputSectorCountAndAddress … … 245 246 ; drives (CF cards, 1.8" HDDs etc) have some internal sleep modes that 246 247 ; might cause trouble? Normal HDDs seem to work fine. 247 mov al, [bp+IDEPACK.bDrvAndHead] 248 OUTPUT_AL_TO_IDE_REGISTER DRIVE_AND_HEAD_SELECT_REGISTER 248 ; 249 ; Now commented away since this fix was not necessary. Let's keep it here 250 ; if some drive someday has problems crossing 8GB 251 ;mov al, [bp+IDEPACK.bDrvAndHead] 252 ;OUTPUT_AL_TO_IDE_REGISTER DRIVE_AND_HEAD_SELECT_REGISTER 249 253 250 254 ; Ignore errors from IDE Error Register (set by previous command)
Note:
See TracChangeset
for help on using the changeset viewer.