Changeset 252 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Feb 18, 2012, 2:12:54 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm
r227 r252 25 25 ALIGN JUMP_ALIGN 26 26 AH15h_HandlerForReadDiskDriveSize: 27 call AH15h_GetSectorCountTo DXAX27 call AH15h_GetSectorCountToBXDXAX 28 28 mov [bp+IDEPACK.intpack+INTPACK.cx], dx ; HIWORD to CX 29 29 mov [bp+IDEPACK.intpack+INTPACK.dx], ax ; LOWORD to DX … … 37 37 ;-------------------------------------------------------------------- 38 38 ; AH15h_GetSectorCountFromForeignDriveToDXAX: 39 ; AH15h_GetSectorCountTo DXAX:39 ; AH15h_GetSectorCountToBXDXAX: 40 40 ; Parameters: 41 ; DL: Drive number 41 ; DL: Drive number (AH15h_GetSectorCountFromForeignDriveToDXAX only) 42 42 ; DS: RAMVARS segment 43 ; DS:DI: Ptr to DPT (AH15h_GetSectorCount only)43 ; DS:DI: Ptr to DPT (AH15h_GetSectorCountToDXAX only) 44 44 ; Returns: 45 45 ; DX:AX: Total sector count … … 53 53 jmp SHORT ConvertAH08hReturnValuesToSectorCount 54 54 55 AH15h_GetSectorCountTo DXAX:55 AH15h_GetSectorCountToBXDXAX: 56 56 call AH8h_GetDriveParameters 57 57 ; Fall to ConvertAH08hReturnValuesToSectorCount
Note:
See TracChangeset
for help on using the changeset viewer.