Changeset 492 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/HotkeyBar.inc


Ignore:
Timestamp:
Dec 21, 2012, 1:01:55 AM (11 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Removed the dependency between MODULE_BOOT_MENU and MODULE_HOTKEYS. With these changes, 0, 1, or 2 of them can be included in a build. This change also means that the hotkeys don't work while the menu is up. But the most important hotkey there was for Rom Boot, and that has been added to the menu as a choice proper. Lots of changes across the board in the hotkeys code - even if we eventually back this change out (becaue, for example we want hotkeys to work in the menu) we should probably start from this base and add that functionality back in, as these changes results in approximately 120 bytes of savings and includes new functionality, such as the Rom Boot menu item and the Com Detect hotkey.

File:
1 edited

Legend:

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

    r413 r492  
    2323MIN_TIME_TO_DISPLAY_HOTKEY_BAR          EQU (5000/55)   ; 5000 ms
    2424
    25 
    26 ; Hotkeys
    27 BOOT_MENU_HOTKEY_SCANCODE               EQU 3Ch ; F2
    2825ROM_BOOT_HOTKEY_SCANCODE                EQU 42h ; F8
    2926
    30 ; Default drives
    31 DEFAULT_FLOPPY_DRIVE_LETTER             EQU 'A'
    32 DEFAULT_HARD_DRIVE_LETTER               EQU 'C'
     27%ifdef MODULE_BOOT_MENU
     28BOOT_MENU_HOTKEY_SCANCODE               EQU 3Ch ; F2
     29%endif
    3330
     31%ifdef MODULE_SERIAL
     32COM_DETECT_HOTKEY_SCANCODE              EQU 40h ; F6
     33%endif
    3434
    3535%endif ; HOTKEYBAR_INC
Note: See TracChangeset for help on using the changeset viewer.