Changeset 109 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Feb 22, 2011, 4:39:45 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm
r108 r109 36 36 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 0 37 37 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 0FFh 38 iend39 40 g_MenuitemBootMnuStngsDisplayRomBoot:41 istruc MENUITEM42 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI43 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI44 at MENUITEM.szName, dw g_szItemBootRomBoot45 at MENUITEM.szQuickInfo, dw g_szNfoBootRomBoot46 at MENUITEM.szHelp, dw g_szHelpBootRomBoot47 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE48 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE49 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags50 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootRomBoot51 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag52 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans53 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_ROMVARS_ROMBOOT54 38 iend 55 39 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm
r108 r109 63 63 iend 64 64 65 g_MenuitemConfigurationQuinaryIdeController:66 istruc MENUITEM67 at MENUITEM.fnActivate, dw QuinaryIdeController68 at MENUITEM.szName, dw g_szItemCfgIde569 at MENUITEM.szQuickInfo, dw g_szNfoCfgIde70 at MENUITEM.szHelp, dw g_szNfoCfgIde71 at MENUITEM.bFlags, db NULL72 at MENUITEM.bType, db TYPE_MENUITEM_PAGENEXT73 iend74 75 65 g_MenuitemConfigurationBootMenuSettings: 76 66 istruc MENUITEM … … 79 69 at MENUITEM.szQuickInfo, dw g_szNfoCfgBootMenu 80 70 at MENUITEM.szHelp, dw g_szNfoCfgBootMenu 81 at MENUITEM.bFlags, db NULL 82 at MENUITEM.bType, db TYPE_MENUITEM_PAGENEXT 83 iend 84 85 g_MenuitemConfigurationBootLoaderType: 86 istruc MENUITEM 87 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 88 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 89 at MENUITEM.szName, dw g_szItemCfgBootLoader 90 at MENUITEM.szQuickInfo, dw g_szNfoCfgBootLoader 91 at MENUITEM.szHelp, dw g_szNfoCfgBootLoader 92 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_BYTEVALUE 93 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 94 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.bBootLdrType 95 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szItemCfgBootLoader 96 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceCfgBootLoader 97 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForBootLoaderType 98 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForBootLoaderType 71 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 72 at MENUITEM.bType, db TYPE_MENUITEM_PAGENEXT 99 73 iend 100 74 … … 142 116 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgCfgIdeCnt 143 117 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 1 144 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 5 145 iend 146 147 148 g_rgwChoiceToValueLookupForBootLoaderType: 149 dw BOOTLOADER_TYPE_MENU 150 dw BOOTLOADER_TYPE_SIMPLE 151 dw BOOTLOADER_TYPE_NONE 152 g_rgszValueToStringLookupForBootLoaderType: 153 dw g_szValueCfgBootLoaderMenu 154 dw g_szValueCfgBootLoaderAthenC 155 dw g_szUnidentified 156 dw g_szValueCfgBootLoaderSystem 118 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 4 119 iend 157 120 158 121 … … 175 138 call .DisableAllIdeControllerMenuitems 176 139 call .EnableIdeControllerMenuitemsBasedOnConfiguration 177 call .EnableOrDisableBootMenuSettings178 140 call .EnableOrDisableKiBtoStealFromRAM 179 141 call .EnableOrDisableIdeControllerCount … … 239 201 mov cx, 1 240 202 ret 241 242 243 ;--------------------------------------------------------------------244 ; .EnableOrDisableBootMenuSettings245 ; Parameters:246 ; SS:BP: Menu handle247 ; Returns:248 ; Nothing249 ; Corrupts registers:250 ; AX, BX, CX251 ;--------------------------------------------------------------------252 ALIGN JUMP_ALIGN253 .EnableOrDisableBootMenuSettings:254 mov bx, ROMVARS.bBootLdrType255 call Buffers_GetRomvarsValueToAXfromOffsetInBX256 mov bx, g_MenuitemConfigurationBootMenuSettings257 cmp ax, BYTE BOOTLOADER_TYPE_MENU258 jne SHORT .DisableMenuitemFromCSBX259 jmp SHORT .EnableMenuitemFromCSBX260 261 203 262 204 ;-------------------------------------------------------------------- … … 291 233 mov bx, g_MenuitemConfigurationIdeControllers 292 234 test ax, FLG_ROMVARS_FULLMODE 293 jz SHORT .DisableMenuitemFromCSBX 294 jmp SHORT .EnableMenuitemFromCSBX 235 jnz SHORT .EnableMenuitemFromCSBX 236 .LimitIdeControllerCountToOneForLiteMode: 237 call Buffers_GetFileBufferToESDI 238 mov BYTE [es:di+ROMVARS.bIdeCnt], 1 239 jmp SHORT .DisableMenuitemFromCSBX 295 240 296 241 ;-------------------------------------------------------------------- … … 343 288 QuaternaryIdeController: 344 289 mov bx, ROMVARS.ideVars3 345 jmp SHORT DisplayIdeControllerMenu346 347 ALIGN JUMP_ALIGN348 QuinaryIdeController:349 mov bx, ROMVARS.ideVars4350 290 ; Fall to DisplayIdeControllerMenu 351 291 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r108 r109 198 198 call Buffers_GetRomvarsValueToAXfromOffsetInBX 199 199 mov bx, g_MenuitemIdeControllerIdeIRQ 200 test a x, ax200 test al, al 201 201 jz SHORT .DisableMenuitemFromCSBX 202 202 ; Fall to .EnableMenuitemFromCSBX
Note:
See TracChangeset
for help on using the changeset viewer.