Changeset 492 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/ModuleDependency.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/ModuleDependency.inc

    r491 r492  
    1818;
    1919
    20 ; Boot Menu requires Hotkey support
    21 %ifdef MODULE_BOOT_MENU
    22     %ifndef MODULE_HOTKEYS
    23         %define MODULE_HOTKEYS
    24     %endif
    25 %endif
    26 
    2720%ifdef MODULE_SERIAL_FLOPPY
    2821    %ifndef MODULE_SERIAL
     
    3023    %endif
    3124%endif
    32 
    3325
    3426; Include module specific .INC files
     
    5042%ifdef MODULE_HOTKEYS
    5143    %include "HotkeyBar.inc"        ; For Hotkeys
    52     %ifdef MODULE_BOOT_MENU
    53         %include "BootMenu.inc"     ; For Boot Menu
    54     %endif
     44%endif
     45
     46%ifdef MODULE_BOOT_MENU
     47    %include "BootMenu.inc"         ; For Boot Menu
     48%endif
     49
     50%ifdef MODULE_BOOT_MENU OR MODULE_HOTKEYS
     51    %define MODULE_DRIVEXLATE
    5552%endif
    5653
Note: See TracChangeset for help on using the changeset viewer.