Changeset 148 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HCapacity.asm
- Timestamp:
- Mar 19, 2011, 8:09:41 PM (13 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HCapacity.asm
r117 r148 13 13 ; DL: Drive number 14 14 ; DS: RAMVARS segment 15 ; DS:DI: Ptr to DPT (HCapacity_GetSectorCountFromOurAH08h) 15 16 ; Returns: 16 17 ; DX:AX: Total sector count … … 21 22 ALIGN JUMP_ALIGN 22 23 HCapacity_GetSectorCountFromForeignAH08h: 23 mov ah, 08h ; Get Drive Parameters24 mov ah, GET_DRIVE_PARAMETERS 24 25 call Int13h_CallPreviousInt13hHandler 25 jmp SHORT HCapacity_ConvertAH08hReturnValuesToSectorCount26 jmp SHORT ConvertAH08hReturnValuesToSectorCount 26 27 27 28 ALIGN JUMP_ALIGN 28 29 HCapacity_GetSectorCountFromOurAH08h: 29 push di30 30 call AH8h_GetDriveParameters 31 pop di 32 ; Fall to HCapacity_ConvertAH08hReturnValuesToSectorCount 31 ; Fall to ConvertAH08hReturnValuesToSectorCount 33 32 34 ALIGN JUMP_ALIGN 35 HCapacity_ConvertAH08hReturnValuesToSectorCount: 33 ConvertAH08hReturnValuesToSectorCount: 36 34 call HAddress_ExtractLCHSFromBiosParams 37 35 xor ax, ax ; Zero AX
Note: See TracChangeset
for help on using the changeset viewer.