Ignore:
Timestamp:
Sep 9, 2012, 7:19:00 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Configurator v2:

  • Operating mode selection is no longer displayed for AT builds.
  • Power Management is now displayed only when MODULE_FEATURE_SETS is available.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm

    r380 r457  
    9696    at  MENUITEM.szQuickInfo,       dw  g_szNfoCfgFullMode
    9797    at  MENUITEM.szHelp,            dw  g_szHelpCfgFullMode
    98     at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE
     98    at  MENUITEM.bFlags,            db  FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE
    9999    at  MENUITEM.bType,             db  TYPE_MENUITEM_MULTICHOICE
    100100    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  ROMVARS.wFlags
     
    142142    at  MENUITEM.szQuickInfo,       dw  g_szNfoCfgIdleTimeout
    143143    at  MENUITEM.szHelp,            dw  g_szHelpCfgIdleTimeout
    144     at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_CHOICESTRINGS
     144    at  MENUITEM.bFlags,            db  FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_CHOICESTRINGS
    145145    at  MENUITEM.bType,             db  TYPE_MENUITEM_MULTICHOICE
    146146    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  ROMVARS.bIdleTimeout
     
    187187    call    .DisableAllIdeControllerMenuitems
    188188    call    .EnableIdeControllerMenuitemsBasedOnConfiguration
     189    call    .EnableOrDisableOperatingModeSelection
    189190    call    .EnableOrDisableKiBtoStealFromRAM
     191    call    .EnableOrDisableIdleTimeout
    190192    call    LimitIdeControllersForLiteMode
    191193    mov     si, g_MenupageForConfigurationMenu
     
    229231
    230232;--------------------------------------------------------------------
     233; .EnableOrDisableOperatingModeSelection
     234;   Parameters:
     235;       SS:BP:  Menu handle
     236;   Returns:
     237;       Nothing
     238;   Corrupts registers:
     239;       BX, DI, ES
     240;--------------------------------------------------------------------
     241ALIGN JUMP_ALIGN
     242.EnableOrDisableOperatingModeSelection:
     243    mov     bx, g_MenuitemConfigurationFullOperatingMode
     244    call    Buffers_IsXTbuildLoaded
     245    je      SHORT .EnableMenuitemFromCSBX
     246    jmp     SHORT .DisableMenuitemFromCSBX
     247
     248
     249;--------------------------------------------------------------------
    231250; .EnableOrDisableKiBtoStealFromRAM
    232251;   Parameters:
     
    242261    mov     bx, g_MenuitemConfigurationKiBtoStealFromRAM
    243262    test    ax, FLG_ROMVARS_FULLMODE
     263    jz      SHORT .DisableMenuitemFromCSBX
     264    jmp     SHORT .EnableMenuitemFromCSBX
     265
     266
     267;--------------------------------------------------------------------
     268; .EnableOrDisableIdleTimeout
     269;   Parameters:
     270;       SS:BP:  Menu handle
     271;   Returns:
     272;       Nothing
     273;   Corrupts registers:
     274;       AX, BX
     275;--------------------------------------------------------------------
     276ALIGN JUMP_ALIGN
     277.EnableOrDisableIdleTimeout:
     278    call    Buffers_GetRomvarsFlagsToAX
     279    mov     bx, g_MenuitemConfigurationIdleTimeout
     280    test    ax, FLG_ROMVARS_MODULE_FEATURE_SETS
    244281    jz      SHORT .DisableMenuitemFromCSBX
    245282    ; Fall to .EnableMenuitemFromCSBX
Note: See TracChangeset for help on using the changeset viewer.