Changeset 583 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc


Ignore:
Timestamp:
Apr 23, 2015, 4:28:47 PM (9 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.
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.