Changeset 400 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm
- Timestamp:
- Apr 20, 2012, 2:30:16 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm
r376 r400 34 34 ;-------------------------------------------------------------------- 35 35 ALIGN JUMP_ALIGN 36 I DEDEVICE%+Error_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL:36 IdeError_GetBiosErrorCodeToAHfromPolledStatusRegisterInAL: 37 37 mov ah, al ; IDE Status Register to AH 38 38 INPUT_TO_AL_FROM_IDE_REGISTER ERROR_REGISTER_in 39 40 %ifndef ASSEMBLE_SHARED_IDE_DEVICE_FUNCTIONS ; JR-IDE/ISA41 jmp ContinueFromMemIdeError42 %else43 ContinueFromMemIdeError:44 39 xchg al, ah ; Status Register now in AL, Error Register now in AH 45 46 ; I don't think anything actually reads these from BDA47 ;push ds48 ;LOAD_BDA_SEGMENT_TO ds, dx49 ;mov [HDBDA.wHDStAndErr], ax50 ;pop ds51 52 40 ; Fall to GetBiosErrorCodeToAHfromStatusAndErrorRegistersInAX 53 41 … … 112 100 db RET_HD_BADSECTOR ; Bit7=BBK, Bad Block Detected 113 101 db RET_HD_STATUSERR ; When Error Register is zero 114 %endif
Note:
See TracChangeset
for help on using the changeset viewer.