Changeset 457 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Sep 9, 2012, 7:19:00 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm
r380 r457 96 96 at MENUITEM.szQuickInfo, dw g_szNfoCfgFullMode 97 97 at MENUITEM.szHelp, dw g_szHelpCfgFullMode 98 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE98 at MENUITEM.bFlags, db FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 99 99 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 100 100 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags … … 142 142 at MENUITEM.szQuickInfo, dw g_szNfoCfgIdleTimeout 143 143 at MENUITEM.szHelp, dw g_szHelpCfgIdleTimeout 144 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_CHOICESTRINGS144 at MENUITEM.bFlags, db FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_CHOICESTRINGS 145 145 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 146 146 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.bIdleTimeout … … 187 187 call .DisableAllIdeControllerMenuitems 188 188 call .EnableIdeControllerMenuitemsBasedOnConfiguration 189 call .EnableOrDisableOperatingModeSelection 189 190 call .EnableOrDisableKiBtoStealFromRAM 191 call .EnableOrDisableIdleTimeout 190 192 call LimitIdeControllersForLiteMode 191 193 mov si, g_MenupageForConfigurationMenu … … 229 231 230 232 ;-------------------------------------------------------------------- 233 ; .EnableOrDisableOperatingModeSelection 234 ; Parameters: 235 ; SS:BP: Menu handle 236 ; Returns: 237 ; Nothing 238 ; Corrupts registers: 239 ; BX, DI, ES 240 ;-------------------------------------------------------------------- 241 ALIGN JUMP_ALIGN 242 .EnableOrDisableOperatingModeSelection: 243 mov bx, g_MenuitemConfigurationFullOperatingMode 244 call Buffers_IsXTbuildLoaded 245 je SHORT .EnableMenuitemFromCSBX 246 jmp SHORT .DisableMenuitemFromCSBX 247 248 249 ;-------------------------------------------------------------------- 231 250 ; .EnableOrDisableKiBtoStealFromRAM 232 251 ; Parameters: … … 242 261 mov bx, g_MenuitemConfigurationKiBtoStealFromRAM 243 262 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 ;-------------------------------------------------------------------- 276 ALIGN JUMP_ALIGN 277 .EnableOrDisableIdleTimeout: 278 call Buffers_GetRomvarsFlagsToAX 279 mov bx, g_MenuitemConfigurationIdleTimeout 280 test ax, FLG_ROMVARS_MODULE_FEATURE_SETS 244 281 jz SHORT .DisableMenuitemFromCSBX 245 282 ; Fall to .EnableMenuitemFromCSBX
Note:
See TracChangeset
for help on using the changeset viewer.