Changeset 93 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
- Timestamp:
- Jan 27, 2011, 6:00:34 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
r43 r93 1 ; File name : AH8h_HParams.asm 2 ; Project name : IDE BIOS 3 ; Created date : 27.9.2007 4 ; Last update : 24.9.2010 5 ; Author : Tomi Tilli 1 ; Project name : XTIDE Universal BIOS 6 2 ; Description : Int 13h function AH=8h, Read Disk Drive Parameters. 7 3 … … 73 69 call FindDPT_ForDriveNumber 74 70 call AccessDPT_GetLCHSfromPCHS ; AX=sectors, BX=cylinders, DX=heads 75 call AH8h_ReserveCylinders76 71 call AH8h_PackReturnValues 77 72 xor ax, ax ; Clear AH and CF 78 ret79 80 81 ;--------------------------------------------------------------------82 ; Reserves diagnostic cylinder if so configured.83 ;84 ; AH8h_ReserveCylinders85 ; Parameters:86 ; BX: Total number of L-CHS cylinders available87 ; DS:DI: Ptr to DPT88 ; Returns:89 ; BX: Number of L-CHS cylinders available after reserving90 ; Corrupts registers:91 ; CX92 ;--------------------------------------------------------------------93 ALIGN JUMP_ALIGN94 AH8h_ReserveCylinders:95 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_MAXSIZE96 jnz SHORT .Return97 dec bx ; Reserve diagnostic cylinder98 ALIGN JUMP_ALIGN99 .Return:100 73 ret 101 74
Note:
See TracChangeset
for help on using the changeset viewer.