Changeset 84 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH14h_HDiag.asm
- Timestamp:
- Jan 14, 2011, 10:57:46 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH14h_HDiag.asm
r35 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 28.9.2007 4 ; Last update : 24.8.2010 5 ; Author : Tomi Tilli 4 ; Last update : 14.1.2011 5 ; Author : Tomi Tilli, 6 ; : Krister Nordvall (optimizations) 6 7 ; Description : Int 13h function AH=14h, Controller Internal Diagnostic. 7 8 … … 31 32 mov al, [di+DPT.bReset] ; Load reset byte to AL 32 33 test al, al ; Any error? 33 jnz SHORT .ReturnError 34 mov ah, RET_HD_RESETFAIL ; Assume there was an error 35 stc 36 jnz SHORT .Return 34 37 xor ah, ah ; Zero AH and CF since success 38 .Return: 35 39 jmp Int13h_PopDiDsAndReturn 36 .ReturnError:37 mov ah, RET_HD_RESETFAIL38 stc39 jmp Int13h_PopDiDsAndReturn
Note: See TracChangeset
for help on using the changeset viewer.