Changeset 596 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm


Ignore:
Timestamp:
Jul 10, 2018, 1:20:11 AM (6 years ago)
Author:
krille_n_
Message:

Changes:

  • Made changes to HotkeyBar.asm to give the Boot Menu and Hotkey Bar a more consistent look. It will probably seem a bit strange at first to people used to the classic theme.
  • Added the missing parts of USE_NEC_V that should have been committed with the rest in r593.
  • Removed DEFINES_ALL_FEATURES from the BIOS makefile. It didn't work anymore and never really made sense anyway. Added all the official builds to 'make unused' instead which actually uncovered some unused code in the Tiny build.
  • XTIDECFG will no longer load color themes from unrecognized versions of the BIOS.
  • Other fixes in comments and some minor optimizations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm

    r593 r596  
    7878    ; Clear CH if floppy drive is selected for boot
    7979    mov     ch, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bFlags]
    80     ;and        ch, FLG_HOTKEY_HD_FIRST     ; Needed if more flags are added
     80;   and     ch, FLG_HOTKEY_HD_FIRST     ; Needed if more flags are added
    8181    call    FormatDriveHotkeyString
    8282
     
    9696    call    BootVars_GetLetterForFirstHardDriveToAX
    9797    mov     ah, ANGLE_QUOTE_RIGHT
    98     mov     cx, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.bHddLetter]  ; Letter to CL, flags to CH
    99     ;and        ch, FLG_HOTKEY_HD_FIRST     ; Needed if more flags are added
     98    mov     cx, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wHddLetterAndFlags]  ; Letter to CL, flags to CH
     99;   and     ch, FLG_HOTKEY_HD_FIRST     ; Needed if more flags are added
    100100    xor     ch, FLG_HOTKEY_HD_FIRST     ; Clear CH if HD is selected for boot, set otherwise
    101101    mov     di, g_szHDD
     
    234234
    235235GetSelectedHotkeyDescriptionAttributeToDX:
    236     mov     si, ATTRIBUTE_CHARS.cHurryTimeout       ; Selected hotkey
     236    mov     si, ATTRIBUTE_CHARS.cHighlightedItem    ; Selected hotkey
    237237    je      SHORT GetDescriptionAttributeToDX       ; From compare with bScancode above and from FormatDriveHotkeyString
    238238
    239239GetNonSelectedHotkeyDescriptionAttributeToDX:
    240     mov     si, ATTRIBUTE_CHARS.cHighlightedItem    ; Unselected hotkey
     240    mov     si, ATTRIBUTE_CHARS.cItem               ; Unselected hotkey
    241241
    242242    ; Display Library should not be called like this
Note: See TracChangeset for help on using the changeset viewer.