Changeset 403 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Apr 20, 2012, 4:38:26 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm
r399 r403 26 26 at MENUPAGE.fnEnter, dw BootMenuSettingsMenu_EnterMenuOrModifyItemVisibility 27 27 at MENUPAGE.fnBack, dw ConfigurationMenu_EnterMenuOrModifyItemVisibility 28 at MENUPAGE.wMenuitems, dw 828 at MENUPAGE.wMenuitems, dw 6 29 29 iend 30 30 … … 78 78 at MENUITEM.szQuickInfo, dw g_szNfoSerialDetect 79 79 at MENUITEM.szHelp, dw g_szHelpSerialDetect 80 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_FLAGVALUE80 at MENUITEM.bFlags, db FLG_MENUITEM_FLAGVALUE 81 81 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 82 82 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags … … 87 87 iend 88 88 89 g_MenuitemBootMnuStngsEnableBootMenu:90 istruc MENUITEM91 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI92 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI93 at MENUITEM.szName, dw g_szItemBootEnableMenu94 at MENUITEM.szQuickInfo, dw g_szNfoBootEnableMenu95 at MENUITEM.szHelp, dw g_szNfoBootEnableMenu96 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU97 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE98 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wfDisplayBootMenu99 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootEnableMenu100 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag101 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForEnableBootMenu102 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans103 at MENUITEM.itemValue + ITEM_VALUE.fnValueReader, dw ValueReaderForEnableBootMenu104 iend105 106 89 g_MenuitemBootMnuStngsDefaultBootDrive: 107 90 istruc MENUITEM … … 111 94 at MENUITEM.szQuickInfo, dw g_szNfoBootDrive 112 95 at MENUITEM.szHelp, dw g_szHelpBootDrive 113 at MENUITEM.bFlags, db FLG_MENUITEM_ BYTEVALUE96 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE 114 97 at MENUITEM.bType, db TYPE_MENUITEM_HEX 115 98 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.bBootDrv … … 133 116 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 1092 134 117 iend 135 136 %if 0 ; *FIXME*137 g_MenuitemBootMnuStngsSwapBootDriveNumbers:138 istruc MENUITEM139 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI140 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI141 at MENUITEM.szName, dw g_szItemBootSwap142 at MENUITEM.szQuickInfo, dw g_szNfoBootSwap143 at MENUITEM.szHelp, dw g_szHelpBootSwap144 at MENUITEM.bFlags, db FLG_MENUITEM_FLAGVALUE145 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE146 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags147 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootSwap148 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag149 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans150 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_ROMVARS_DRVXLAT151 iend152 %endif153 118 154 119 … … 199 164 pop ds 200 165 call EnableOrDisableBootMenuSettings 166 call EnableOrDisableSerialSettings 201 167 mov si, g_MenupageForBootMenuSettingsMenu 202 168 jmp Menupage_ChangeToNewMenupageInDSSI … … 214 180 ALIGN JUMP_ALIGN 215 181 EnableOrDisableBootMenuSettings: 216 mov bx, [cs:g_MenuitemBootMnuStngsEnableBootMenu+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset]182 mov bx, ROMVARS.wFlags 217 183 call Buffers_GetRomvarsValueToAXfromOffsetInBX 218 test ax, ax184 test ax, FLG_ROMVARS_MODULE_BOOT_MENU 219 185 mov al, FLG_MENUITEM_VISIBLE 220 186 jz SHORT .DisableBootMenuSettings 221 187 222 188 ; Enable boot menu related 223 or [g_MenuitemBootMnuStngsDefaultBootDrive+MENUITEM.bFlags], al224 189 or [g_MenuitemBootMnuStngsSelectionTimeout+MENUITEM.bFlags], al 225 ; or [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al226 190 ret 227 191 228 192 .DisableBootMenuSettings: 229 193 not ax 230 and [g_MenuitemBootMnuStngsDefaultBootDrive+MENUITEM.bFlags], al231 194 and [g_MenuitemBootMnuStngsSelectionTimeout+MENUITEM.bFlags], al 232 ; and [g_MenuitemBootMnuStngsSwapBootDriveNumbers+MENUITEM.bFlags], al 195 ret 196 197 198 ;-------------------------------------------------------------------- 199 ; EnableOrDisableSerialSettings 200 ; Parameters: 201 ; SS:BP: Menu handle 202 ; Returns: 203 ; Nothing 204 ; Corrupts registers: 205 ; AX, BX 206 ;-------------------------------------------------------------------- 207 EnableOrDisableSerialSettings: 208 mov bx, ROMVARS.wFlags 209 call Buffers_GetRomvarsValueToAXfromOffsetInBX 210 test ax, FLG_ROMVARS_MODULE_SERIAL 211 mov al, FLG_MENUITEM_VISIBLE 212 jz SHORT .DisableSerialSettings 213 214 ; Enable serial related 215 or [g_MenuitemBootMenuSerialScanDetect+MENUITEM.bFlags], al 216 ret 217 218 .DisableSerialSettings: 219 not ax 220 and [g_MenuitemBootMenuSerialScanDetect+MENUITEM.bFlags], al 233 221 ret 234 222 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r399 r403 188 188 189 189 g_rgwChoiceToValueLookupForDevice: 190 dw DEVICE_XTIDE_REV1 191 dw DEVICE_XTIDE_REV2 192 dw DEVICE_FAST_XTIDE 190 dw DEVICE_8BIT_JRIDE_ISA 191 dw DEVICE_8BIT_FAST_XTIDE 192 dw DEVICE_8BIT_XTIDE_REV2 193 dw DEVICE_8BIT_XTIDE_REV1 193 194 dw DEVICE_16BIT_ATA 194 195 dw DEVICE_32BIT_ATA 195 196 dw DEVICE_SERIAL_PORT 196 dw DEVICE_JRIDE_ISA197 197 g_rgszValueToStringLookupForDevice: 198 dw g_szValueCfgDeviceJrIdeIsa 199 dw g_szValueCfgDeviceFast 200 dw g_szValueCfgDeviceRev2 198 201 dw g_szValueCfgDeviceRev1 199 dw g_szValueCfgDeviceRev2200 dw g_szValueCfgDeviceFast201 202 dw g_szValueCfgDevice16b 202 203 dw g_szValueCfgDevice32b 203 204 dw g_szValueCfgDeviceSerial 204 dw g_szValueCfgDeviceJrIdeIsa 205 205 206 206 207 g_rgbChoiceToValueLookupForCOM:
Note:
See TracChangeset
for help on using the changeset viewer.