Changeset 583 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS


Ignore:
Timestamp:
Apr 23, 2015, 4:28:47 PM (10 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Changed BOOT_MENU_DEFAULT_TIMEOUT to reduce rounding error.
  • Minor optimizations and fixes, mostly to the menu library code.
Location:
trunk/XTIDE_Universal_BIOS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc

    r526 r583  
    2222
    2323; Boot menu sizes
    24 BOOT_MENU_DEFAULT_TIMEOUT               EQU (30 * TICKS_PER_SECOND)
    25 BOOT_MENU_TITLE_LINES                   EQU 2   ; Number of title lines
    26 BOOT_MENU_INFO_LINES                    EQU 3   ; Number of info lines
    27 BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW   EQU 5
    28 BOOT_MENU_TITLE_AND_INFO_LINES          EQU (BOOT_MENU_TITLE_LINES | (BOOT_MENU_INFO_LINES<<8))
    29 BOOT_MENU_WIDTH                         EQU 40  ; Menu width in characters (including shadow)
    30 BOOT_MENU_HEIGHT_WITHOUT_ITEMS          EQU (BOOT_MENU_TITLE_LINES + BOOT_MENU_INFO_LINES + BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW)
    31 MENU_SCREEN_BOTTOM_LINES                EQU 1
     24BOOT_MENU_DEFAULT_TIMEOUT               EQU     (TICKS_PER_MINUTE / 2)
     25BOOT_MENU_TITLE_LINES                   EQU     2   ; Number of title lines
     26BOOT_MENU_INFO_LINES                    EQU     3   ; Number of info lines
     27BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW   EQU     5
     28BOOT_MENU_TITLE_AND_INFO_LINES          EQU     (BOOT_MENU_TITLE_LINES | (BOOT_MENU_INFO_LINES<<8))
     29BOOT_MENU_WIDTH                         EQU     40  ; Menu width in characters (including shadow)
     30BOOT_MENU_HEIGHT_WITHOUT_ITEMS          EQU     (BOOT_MENU_TITLE_LINES + BOOT_MENU_INFO_LINES + BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW)
     31MENU_SCREEN_BOTTOM_LINES                EQU     1
    3232
    3333
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm

    r580 r583  
    7474
    7575;--------------------------------------------------------------------
    76 ; AH15h_GetSectorCountFromForeignDriveToDXAX
     76; AH15h_GetSectorCountFromForeignDriveToBXDXAX
    7777; AH15h_GetSectorCountToBXDXAX
    7878;   Parameters:
    79 ;       DL:     Drive number (AH15h_GetSectorCountFromForeignDriveToDXAX only)
     79;       DL:     Drive number (AH15h_GetSectorCountFromForeignDriveToBXDXAX only)
    8080;       DS:     RAMVARS segment
    81 ;       DS:DI:  Ptr to DPT (AH15h_GetSectorCountToDXAX only)
     81;       DS:DI:  Ptr to DPT (AH15h_GetSectorCountToBXDXAX only)
    8282;   Returns:
    8383;       DX:AX:  Total sector count
     
    8787;--------------------------------------------------------------------
    8888%ifdef MODULE_BOOT_MENU
    89 AH15h_GetSectorCountFromForeignDriveToDXAX:
     89AH15h_GetSectorCountFromForeignDriveToBXDXAX:
    9090    mov     ah, GET_DRIVE_PARAMETERS
    9191    call    Int13h_CallPreviousInt13hHandler
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm

    r567 r583  
    199199.HardDiskMenuitemInfoForForeignDrive:
    200200    call    DriveXlate_ToOrBack
    201     call    AH15h_GetSectorCountFromForeignDriveToDXAX
     201    call    AH15h_GetSectorCountFromForeignDriveToBXDXAX
    202202
    203203.ConvertSectorCountInBXDXAXtoSizeAndPushForFormat:
Note: See TracChangeset for help on using the changeset viewer.