Changeset 150 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
- Timestamp:
- Apr 29, 2011, 7:04:13 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r135 r150 111 111 BootMenuPrint_HardDiskMenuitem: 112 112 call PrintDriveNumberAfterTranslationFromDL 113 call FindDPT_ForDriveNumber ; DS:DI to point DPT113 call RamVars_IsDriveHandledByThisBIOS 114 114 jnc SHORT .HardDiskMenuitemForForeignDrive 115 115 ; Fall to .HardDiskMenuitemForOurDrive … … 280 280 ALIGN JUMP_ALIGN 281 281 BootMenuPrint_HardDiskMenuitemInformation: 282 call RamVars_IsDriveHandledByThisBIOS 283 jnc SHORT .HardDiskMenuitemInfoForForeignDrive 282 284 call FindDPT_ForDriveNumber ; DS:DI to point DPT 283 jnc SHORT .HardDiskMenuitemInfoForForeignDrive284 285 ; Fall to .HardDiskMenuitemInfoForOurDrive 285 286 … … 303 304 304 305 ; Get and push L-CHS size 305 call HCapacity_GetSectorCountFromOurAH08h 306 mov [RAMVARS.wTimeoutCounter], dl ; Store drive number 307 call AH15h_GetSectorCountToDXAX 306 308 call ConvertSectorCountInBXDXAXtoSizeAndPushForFormat 307 309 308 310 ; Get and push total LBA size 309 mov dl, [ di+DPT.bDrvNum]311 mov dl, [RAMVARS.wTimeoutCounter] ; Restore drive number 310 312 call BootInfo_GetTotalSectorCount 311 313 call ConvertSectorCountInBXDXAXtoSizeAndPushForFormat … … 332 334 333 335 call DriveXlate_ToOrBack 334 call HCapacity_GetSectorCountFromForeignAH08h336 call AH15h_GetSectorCountFromForeignDriveToDXAX 335 337 call ConvertSectorCountInBXDXAXtoSizeAndPushForFormat 336 338
Note:
See TracChangeset
for help on using the changeset viewer.