Changeset 32 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH0h_HReset.asm
- Timestamp:
- Aug 6, 2010, 7:11:04 AM (15 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH0h_HReset.asm
r28 r32 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 27.9.2007 4 ; Last update : 29.7.20104 ; Last update : 3.8.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Int 13h function AH=0h, Disk Controller Reset. 7 8 RETRIES_IF_RESET_FAILS EQU 39 TIMEOUT_BEFORE_RESET_RETRY EQU 5 ; System timer ticks10 7 11 8 ; Section containing code … … 82 79 call GetDriveNumberForForeignBiosesToDL 83 80 xor ah, ah ; Disk Controller Reset 84 pushf ; Push flags to simulate INT 85 cli ; Disable interrupts since INT does that 86 call FAR [RAMVARS.fpOldI13h] 87 sti ; Make sure interrupts are enabled again (some BIOSes fails to enable it) 81 call Int13h_CallPreviousInt13hHandler 88 82 jmp SHORT BackupErrorCodeFromTheRequestedDriveToBH 89 83
Note:
See TracChangeset
for help on using the changeset viewer.