Changeset 599 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Jul 14, 2018, 1:21:16 PM (6 years ago)
Author:
aitotat
Message:

Hotkey bar is now updated and drawn from system timer tick handler 1Ch. This gives much more responsive key input and makes possible to implement some simple detection animation to show that system has not frozen.

Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

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

    r596 r599  
    4040
    4141struc HOTKEYVARS
     42    .fpPrevTimerHandler resb    4       ; Previous 1Ch timer hander
    4243    .wTimeWhenDisplayed resb    2       ; System time (ticks) when Hotkey bar was first displayed
    4344    .wFddAndHddLetters:
     
    5758; Bit defines for HOTKEYVARS.bFlags
    5859FLG_HOTKEY_HD_FIRST         EQU     (1<<0)  ; First try to boot from HDD, then FDD
     60FLG_HOTKEY_UPDATING         EQU     (1<<1)  ; Hotkeybar update in progress
    5961
    6062%endif ; MODULE_HOTKEYS
  • trunk/XTIDE_Universal_BIOS/Inc/HotkeyBar.inc

    r593 r599  
    2323MIN_TIME_TO_DISPLAY_HOTKEY_BAR          EQU (4000/55)   ; 4000 ms
    2424
     25ESC_SCANCODE                            EQU 1   ; ESC key       
    2526FIRST_FUNCTION_KEY_SCANCODE             EQU 3Bh ; F1 key
    2627
Note: See TracChangeset for help on using the changeset viewer.