Changeset 198 in xtideuniversalbios


Ignore:
Timestamp:
Nov 20, 2011, 8:46:01 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Fixing a bug in the configurator with user entry of word values into dialogs, introduced with the idle processing optimization in r189.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/MenuEvents.inc

    r189 r198  
    2828; 2. If the program needs only one menu, %define MENUEVENT_INLINE_OFFSETS before this include file,
    2929;    and define (through EQU statements) each of the entry points as offsets from a base address. 
    30 ;    Entry points must be within 256 bytes of the base (only a byte is used to pass the offset).
     30;
     31
    3132;
     33; If user level idle processing is desired, %define this symbol and .IdleProcessing will be called.
     34; Otherwise, the code and structure entry will be omitted.  Note that INCLUDE_MENU_DIALOGS requires
     35; the idle processing (if that is the case, it is turned on here).
     36;
     37;%define MENUEVENT_IDLEPROCESSING_ENABLE
     38;
     39
     40%ifdef INCLUDE_MENU_DIALOGS
     41%define MENUEVENT_IDLEPROCESSING_ENABLE
     42%endif
    3243
    3344%ifndef MENUEVENT_INLINE_OFFSETS
     
    4960%define MENUEVENT_ExitMenu MENUEVENT.ExitMenu
    5061
     62%ifdef MENUEVENT_IDLEPROCESSING_ENABLE
    5163    ; Parameters:
    5264    ;   None
     
    5466    .IdleProcessing                 resb    2
    5567%define MENUEVENT_IdleProcessing MENUEVENT.IdleProcessing
     68%endif
    5669
    5770    ; Parameters:
     
    89102%endif ; MENUEVENTS_INLINE_OFFSETS
    90103
    91 ;
    92 ; If user level idle processing is desired, %define this symbol and .IdleProcessing will be called.
    93 ;
    94 ;%define MENUEVENT_IDLEPROCESSING_ENABLE
    95 
    96104%endif ; MENUEVENTS_INC
Note: See TracChangeset for help on using the changeset viewer.