Changeset 155 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- May 1, 2011, 6:44:29 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r152 r155 22 22 call Device_OutputALtoIdeControlBlockRegisterInDL 23 23 mov ax, HSR0_RESET_WAIT_US 24 call HTimer_DelayMicrosecondsFromAX24 call Timer_DelayMicrosecondsFromAX 25 25 26 26 ; HSR1: Clear_wait … … 31 31 call Device_OutputALtoIdeControlBlockRegisterInDL 32 32 mov ax, HSR1_RESET_WAIT_US 33 call HTimer_DelayMicrosecondsFromAX33 call Timer_DelayMicrosecondsFromAX 34 34 35 35 ; HSR2: Check_status -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r152 r155 381 381 eSEG es ; Source is ES segment 382 382 rep 383 db 6Fh ; OUTSW 383 db 6Fh ; OUTSW (we want this in XT build) 384 384 ret 385 385 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeWait.asm
r150 r155 53 53 ;-------------------------------------------------------------------- 54 54 IdeWait_PollStatusFlagInBLwithTimeoutInBH: 55 eMOVZX cx, bh ; Timeout ticks now in CX56 55 mov ah, bl 57 call HTimer_InitializeTimeoutWithTicksInCX 56 mov cl, bh 57 call Timer_InitializeTimeoutWithTicksInCL 58 58 and ah, ~FLG_STATUS_BSY 59 59 jz SHORT PollBsyOnly … … 82 82 jnz SHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL 83 83 .UpdateTimeout: 84 call HTimer_SetCFifTimeout84 call Timer_SetCFifTimeout 85 85 jnc SHORT .PollLoop ; Loop if time left 86 86 call IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL … … 110 110 test al, FLG_STATUS_BSY ; Controller busy? 111 111 jz SHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL 112 call HTimer_SetCFifTimeout ; Update timeout counter112 call Timer_SetCFifTimeout ; Update timeout counter 113 113 jnc SHORT .PollLoop ; Loop if time left (sets CF on timeout) 114 114 jmp SHORT IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL
Note:
See TracChangeset
for help on using the changeset viewer.