Changeset 294 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH1h_HStatus.asm
- Timestamp:
- Mar 4, 2012, 1:35:10 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH1h_HStatus.asm
r258 r294 23 23 %ifdef MODULE_SERIAL_FLOPPY 24 24 test dl, dl 25 j ns .HardDisk26 mov ah, [BDA.bFDRetST] 25 js .HardDisk 26 mov ah, [BDA.bFDRetST] ; Unlike for hard disks below, floppy version does not clear the status 27 27 jmp .done 28 .HardDisk: 28 .HardDisk: 29 29 %endif 30 31 xchg ah, [BDA.bHDLastSt] ; Load and clear last error 32 ; Note that AH is cleared with the LOAD_BDA_SEGMENT above 33 30 31 xchg ah, [BDA.bHDLastSt] ; Load and clear last error (AH is cleared with the LOAD_BDA_SEGMENT_TO above) 32 34 33 .done: 34 %ifndef USE_186 35 35 call Int13h_SetErrorCodeToIntpackInSSBPfromAH 36 36 jmp Int13h_ReturnFromHandlerWithoutStoringErrorCode 37 %else 38 push Int13h_ReturnFromHandlerWithoutStoringErrorCode 39 jmp Int13h_SetErrorCodeToIntpackInSSBPfromAH 40 %endif
Note:
See TracChangeset
for help on using the changeset viewer.