Changeset 588 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- Jun 3, 2015, 12:30:54 PM (9 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeWait.asm
r567 r588 97 97 .PollLoop: 98 98 call IdeIO_InputStatusRegisterToAL 99 test al, FLG_STATUS_BSY ; Controller busy?100 j nzSHORT .UpdateTimeout ; If so, jump to timeout update99 test al, al ; Controller busy? (Check for FLG_STATUS_BSY) 100 js SHORT .UpdateTimeout ; If so, jump to timeout update 101 101 test al, ah ; Test secondary flag 102 102 jnz SHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL … … 126 126 .PollLoop: 127 127 call IdeIO_InputStatusRegisterToAL 128 test al, FLG_STATUS_BSY ; Controller busy?129 j zSHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL128 test al, al ; Controller busy? (Check for FLG_STATUS_BSY) 129 jns SHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL 130 130 call Timer_SetCFifTimeout ; Update timeout counter 131 131 jnc SHORT .PollLoop ; Loop if time left (sets CF on timeout)
Note:
See TracChangeset
for help on using the changeset viewer.