Changeset 258 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH1h_HStatus.asm
- Timestamp:
- Feb 22, 2012, 7:01:53 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH1h_HStatus.asm
r150 r258 20 20 AH1h_HandlerForReadDiskStatus: 21 21 LOAD_BDA_SEGMENT_TO ds, ax, ! 22 23 %ifdef MODULE_SERIAL_FLOPPY 24 test dl, dl 25 jns .HardDisk 26 mov ah, [BDA.bFDRetST] ; Unlike for hard disks below, floppy version does not clear the status 27 jmp .done 28 .HardDisk: 29 %endif 30 22 31 xchg ah, [BDA.bHDLastSt] ; Load and clear last error 32 ; Note that AH is cleared with the LOAD_BDA_SEGMENT above 33 34 .done: 23 35 call Int13h_SetErrorCodeToIntpackInSSBPfromAH 24 36 jmp Int13h_ReturnFromHandlerWithoutStoringErrorCode
Note:
See TracChangeset
for help on using the changeset viewer.