Changeset 457 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Timestamp:
- Sep 9, 2012, 7:19:00 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm
r376 r457 84 84 85 85 ;-------------------------------------------------------------------- 86 ; Buffers_IsXTbuildLoaded 87 ; Parameters: 88 ; Nothing 89 ; Returns: 90 ; ZF: Set if XT or XT+ build is loaded 91 ; Cleared if some other (AT, 386) build is loaded 92 ; Corrupts registers: 93 ; DI, ES 94 ;-------------------------------------------------------------------- 95 ALIGN JUMP_ALIGN 96 Buffers_IsXTbuildLoaded: 97 %strlen BUILD_TYPE_OFFSET TITLE_STRING_START 98 call Buffers_GetFileBufferToESDI 99 cmp WORD [es:di+ROMVARS.szTitle+BUILD_TYPE_OFFSET+1], 'XT' ; +1 is for '(' 100 ret 101 %undef BUILD_TYPE_OFFSET 102 103 104 ;-------------------------------------------------------------------- 86 105 ; Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration 87 106 ; Parameters: -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r376 r457 26 26 %include "Romvars.inc" ; XTIDE Universal BIOS variables 27 27 28 %include "Version.inc" 28 29 %include "MenuCfg.inc" 29 30 %include "MenuStructs.inc" -
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.