Changeset 84 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Timestamp:
- Jan 14, 2011, 10:57:46 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH0h_HReset.asm
r35 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 27.9.2007 4 ; Last update : 24.8.2010 5 ; Author : Tomi Tilli 4 ; Last update : 13.1.2011 5 ; Author : Tomi Tilli, 6 ; : Krister Nordvall (optimizations) 6 7 ; Description : Int 13h function AH=0h, Disk Controller Reset. 7 8 … … 98 99 mov dl, bl 99 100 call RamVars_IsDriveHandledByThisBIOS 100 j c SHORT .GetFirstDriveForForeignBios101 ret ; Return what was in BL unmodified101 jnc SHORT .Return ; Return what was in BL unmodified 102 mov dl, 80h 102 103 ALIGN JUMP_ALIGN 103 .GetFirstDriveForForeignBios: 104 mov dl, 80h 104 .Return: 105 105 ret 106 106 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH11h_HRecal.asm
r28 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 28.9.2007 4 ; Last update : 29.7.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=11h, Recalibrate. 7 8 … … 31 32 push bx 32 33 push ax 34 %ifndef USE_186 33 35 call AH11h_RecalibrateDrive 34 36 jmp Int13h_PopXRegsAndReturn 37 %else 38 push Int13h_PopXRegsAndReturn 39 ; Fall through to AH11h_RecalibrateDrive 40 %endif 35 41 36 42 -
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 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm
r3 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 28.12.2009 4 ; Last update : 12.4.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=24h, Set Multiple Blocks. 7 8 … … 32 33 push bx 33 34 push ax 35 %ifndef USE_186 34 36 call AH24h_SetBlockSize 35 37 jmp Int13h_PopXRegsAndReturn 38 %else 39 push Int13h_PopXRegsAndReturn 40 ; Fall through to AH24h_SetBlockSize 41 %endif 36 42 37 43 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH4h_HVerify.asm
r3 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 13.10.2007 4 ; Last update : 13.4.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=4h, Verify Disk Sectors. 7 8 … … 39 40 push bx 40 41 push ax 42 %ifndef USE_186 41 43 call AH4h_VerifySectors 42 44 jmp Int13h_PopXRegsAndReturn 45 %else 46 push Int13h_PopXRegsAndReturn 47 ; Fall through to AH4h_VerifySectors 48 %endif 43 49 44 50 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r35 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 9.12.2007 4 ; Last update : 1.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=9h, Initialize Drive Parameters. 7 8 … … 31 32 push bx 32 33 push ax 34 %ifndef USE_186 33 35 call AH9h_InitializeDriveForUse 34 36 jmp Int13h_PopXRegsAndReturn 37 %else 38 push Int13h_PopXRegsAndReturn 39 ; Fall through to AH9h_InitializeDriveForUse 40 %endif 35 41 36 42 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHCh_HSeek.asm
r3 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 13.12.2007 4 ; Last update : 12.4.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=Ch, Seek. 7 8 … … 35 36 push bx 36 37 push ax 38 %ifndef USE_186 37 39 call AHCh_SeekToCylinder 38 40 jmp Int13h_PopXRegsAndReturn 41 %else 42 push Int13h_PopXRegsAndReturn 43 ; Fall through to AHCh_SeekToCylinder 44 %endif 39 45 40 46 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm
r35 r84 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 9.12.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=Dh, Reset Hard Disk (Alternate reset). 7 8 … … 25 26 ALIGN JUMP_ALIGN 26 27 AHDh_HandlerForResetHardDisk: 28 %ifndef USE_186 27 29 call AHDh_ResetDrive 28 30 jmp Int13h_PopDiDsAndReturn 31 %else 32 push Int13h_PopDiDsAndReturn 33 ; Fall through to AHDh_ResetDrive 34 %endif 29 35 30 36
Note:
See TracChangeset
for help on using the changeset viewer.