Changeset 33 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common
- Timestamp:
- Aug 23, 2010, 4:27:11 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HError.asm
r28 r33 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 30.11.2007 4 ; Last update : 1.8.20104 ; Last update : 23.8.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Error checking functions for BIOS Hard disk functions. … … 13 13 ; Parameters: 14 14 ; DS: RAMVARS segment 15 ; ES: BDA segment (zero)16 15 ; CF: Set if timeout 17 16 ; Cleared if task flag was properly set … … 25 24 ALIGN JUMP_ALIGN 26 25 HError_ProcessErrorsAfterPollingTaskFlag: 27 jc SHORT HError_ProcessTimeoutAfterPollingBSYandSomeOtherStatusBit 28 mov ax, [es:HDBDA.wHDStAndErr] 29 call GetBiosErrorCodeToAHfromStatusAndErrorRegistersInAX 30 mov [es:BDA.bHDLastSt], ah 31 mov BYTE [es:BDA.bHDTaskFlg], 0 32 ret 26 jnc SHORT HError_ProcessErrorsAfterPollingBSY 27 ; Fall to HError_ProcessTimeoutAfterPollingBSYandSomeOtherStatusBit 33 28 34 29 ;-------------------------------------------------------------------- -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HIRQ.asm
r28 r33 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 11.12.2009 4 ; Last update : 1.8.20104 ; Last update : 23.8.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Interrupt handling related functions. … … 36 36 ALIGN JUMP_ALIGN 37 37 .TaskFlagPollingComplete: 38 call HError_ProcessErrorsAfterPollingTaskFlag39 38 pop es 40 ret 39 jmp HError_ProcessErrorsAfterPollingTaskFlag 40 41 41 42 42 ;-------------------------------------------------------------------- … … 187 187 188 188 ; Reading Status Register acknowledges IDE interrupt 189 call RamVars_GetSegmentToDS 190 call HError_GetStatusAndErrorRegistersToAXandStoreThemToBDA 189 ;call RamVars_GetSegmentToDS 190 ;call HError_GetStatusAndErrorRegistersToAXandStoreThemToBDA 191 LOAD_BDA_SEGMENT_TO ds, ax 191 192 mov BYTE [BDA.bHDTaskFlg], 0FFh ; Set task flag 192 193
Note:
See TracChangeset
for help on using the changeset viewer.