- Timestamp:
- Feb 18, 2011, 2:50:16 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/MenuStructs.inc
r59 r108 1 ; File name : MenuStructs.inc2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 5.10.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : Menu page and item structs. 7 3 %ifndef MENU_STRUCTS_INC … … 39 35 TYPE_MENUITEM_PAGENEXT EQU (1<<1) ; Item changes to next MENUPAGE 40 36 TYPE_MENUITEM_ACTION EQU (2<<1) ; Non-configurable item 41 TYPE_MENUITEM_MULTICHOI SE EQU (3<<1) ; Item with multiple predefined choises37 TYPE_MENUITEM_MULTICHOICE EQU (3<<1) ; Item with multiple predefined choices 42 38 TYPE_MENUITEM_UNSIGNED EQU (4<<1) ; Menuitem with user inputted unsigned decimal value 43 39 TYPE_MENUITEM_HEX EQU (5<<1) ; Menuitem with user inputted hexadecimal value … … 48 44 .szDialogTitle resb 2 ; Dialog title string 49 45 50 .szMultichoi se resb 2 ; Multiple choises in one string51 .rgwChoi seToValueLookup resb 2 ; Ptr to lookup table for translating selected choise to actual value46 .szMultichoice resb 2 ; Multiple choices in one string 47 .rgwChoiceToValueLookup resb 2 ; Ptr to lookup table for translating selected choice to actual value 52 48 .rgszValueToStringLookup: ; Ptr to lookup table for translating value to string 53 49 .wMinValue resb 2 ; Minimum allowed integer value -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.asm
r65 r108 1 ; File name : Dialogs.asm2 1 ; Project name : XTIDE Univeral BIOS Configurator v2 3 ; Created date : 10.10.20104 ; Last update : 2.12.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for displaying dialogs. 7 3 … … 129 125 call InitializeDialogInputFromDSSI 130 126 mov WORD [si+DIALOG_INPUT.fszTitle], g_szDlgExitToDos 131 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoi seBooleanFlag127 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoiceBooleanFlag 132 128 CALL_MENU_LIBRARY GetSelectionToAXwithInputInDSSI 133 129 add sp, BYTE DIALOG_INPUT_size … … 146 142 call InitializeDialogInputFromDSSI 147 143 mov WORD [si+DIALOG_INPUT.fszTitle], g_szDlgSaveChanges 148 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoi seBooleanFlag144 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoiceBooleanFlag 149 145 CALL_MENU_LIBRARY GetSelectionToAXwithInputInDSSI 150 146 add sp, BYTE DIALOG_INPUT_size -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r107 r108 22 22 23 23 ;-------------------------------------------------------------------- 24 ; Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI24 ; Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 25 25 ; Parameters: 26 26 ; DS:SI: Ptr to MENUITEM … … 31 31 ;-------------------------------------------------------------------- 32 32 ALIGN JUMP_ALIGN 33 Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI:33 Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI: 34 34 call Registers_CopyDSSItoESDI 35 35 … … 37 37 call Memory_ReserveCXbytesFromStackToDSSI 38 38 call InitializeDialogInputInDSSIfromMenuitemInESDI 39 mov ax, [es:di+MENUITEM.itemValue + ITEM_VALUE.szMultichoi se]39 mov ax, [es:di+MENUITEM.itemValue + ITEM_VALUE.szMultichoice] 40 40 mov [si+DIALOG_INPUT.fszItems], ax 41 41 push di … … 133 133 ; Menuitem_StoreValueFromAXtoMenuitemInDSSI 134 134 ; Parameters: 135 ; AX: Value or multichoi se selection to store135 ; AX: Value or multichoice selection to store 136 136 ; DS:SI: Ptr to MENUITEM 137 137 ; SS:BP: Menu handle … … 158 158 dw .InvalidItemType ; TYPE_MENUITEM_PAGENEXT 159 159 dw .InvalidItemType ; TYPE_MENUITEM_ACTION 160 dw .StoreMultichoi seValueFromAXtoESDIwithItemInDSSI ; TYPE_MENUITEM_MULTICHOISE160 dw .StoreMultichoiceValueFromAXtoESDIwithItemInDSSI ; TYPE_MENUITEM_MULTICHOICE 161 161 dw .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI ; TYPE_MENUITEM_UNSIGNED 162 162 dw .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI ; TYPE_MENUITEM_HEX 163 163 164 164 ;-------------------------------------------------------------------- 165 ; .StoreMultichoi seValueFromAXtoESDIwithItemInDSSI166 ; Parameters: 167 ; AX: Multichoi se selection (index)165 ; .StoreMultichoiceValueFromAXtoESDIwithItemInDSSI 166 ; Parameters: 167 ; AX: Multichoice selection (index) 168 168 ; DS:SI: Ptr to MENUITEM 169 169 ; ES:DI: Ptr to value variable … … 175 175 ;-------------------------------------------------------------------- 176 176 ALIGN JUMP_ALIGN 177 .StoreMultichoi seValueFromAXtoESDIwithItemInDSSI:177 .StoreMultichoiceValueFromAXtoESDIwithItemInDSSI: 178 178 test BYTE [si+MENUITEM.bFlags], FLG_MENUITEM_FLAGVALUE 179 jz SHORT .TranslateChoi seToValueUsingLookupTable179 jz SHORT .TranslateChoiceToValueUsingLookupTable 180 180 181 181 test ax, ax ; Setting item flag? … … 191 191 192 192 ALIGN JUMP_ALIGN 193 .TranslateChoi seToValueUsingLookupTable:193 .TranslateChoiceToValueUsingLookupTable: 194 194 shl ax, 1 ; Shift for WORD lookup 195 add ax, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoi seToValueLookup]195 add ax, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoiceToValueLookup] 196 196 xchg bx, ax 197 197 mov ax, [bx] ; Lookup complete -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm
r59 r108 1 ; File name : BootMenuSettingsMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 18.11.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : "Boot Menu Settings" menu structs and functions. 7 3 … … 44 40 g_MenuitemBootMnuStngsDisplayRomBoot: 45 41 istruc MENUITEM 46 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI42 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 47 43 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 48 44 at MENUITEM.szName, dw g_szItemBootRomBoot … … 50 46 at MENUITEM.szHelp, dw g_szHelpBootRomBoot 51 47 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE 52 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE48 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 53 49 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags 54 50 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootRomBoot 55 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag51 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 56 52 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 57 53 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_ROMVARS_ROMBOOT … … 60 56 g_MenuitemBootMnuStngsFloppyDrives: 61 57 istruc MENUITEM 62 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI58 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 63 59 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromUnshiftedItemInDSSI 64 60 at MENUITEM.szName, dw g_szItemBootFloppyDrvs … … 66 62 at MENUITEM.szHelp, dw g_szHelpBootFloppyDrvs 67 63 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE 68 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE64 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 69 65 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.bMinFddCnt 70 66 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootFloppyDrvs 71 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBootFloppyDrvs72 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForFloppyDrives67 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBootFloppyDrvs 68 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForFloppyDrives 73 69 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFloppyDrives 74 70 iend … … 91 87 g_MenuitemBootMnuStngsSwapBootDriveNumbers: 92 88 istruc MENUITEM 93 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI89 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 94 90 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 95 91 at MENUITEM.szName, dw g_szItemBootSwap … … 97 93 at MENUITEM.szHelp, dw g_szHelpBootSwap 98 94 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE 99 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE95 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 100 96 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags 101 97 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBootSwap 102 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag98 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 103 99 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 104 100 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_ROMVARS_DRVXLAT 105 101 iend 106 102 107 g_rgwChoi seToValueLookupForFloppyDrives: ; (No translation)103 g_rgwChoiceToValueLookupForFloppyDrives: ; (No translation) 108 104 dw 0 109 105 dw 1 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm
r59 r108 1 ; File name : ConfigurationMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 24.10.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : "Configure XTIDE Universal BIOS" menu structs and functions. 7 3 … … 89 85 g_MenuitemConfigurationBootLoaderType: 90 86 istruc MENUITEM 91 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI87 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 92 88 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 93 89 at MENUITEM.szName, dw g_szItemCfgBootLoader … … 95 91 at MENUITEM.szHelp, dw g_szNfoCfgBootLoader 96 92 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_BYTEVALUE 97 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE93 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 98 94 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.bBootLdrType 99 95 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szItemCfgBootLoader 100 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseCfgBootLoader101 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForBootLoaderType96 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceCfgBootLoader 97 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForBootLoaderType 102 98 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForBootLoaderType 103 99 iend … … 105 101 g_MenuitemConfigurationFullOperatingMode: 106 102 istruc MENUITEM 107 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI103 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 108 104 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 109 105 at MENUITEM.szName, dw g_szItemCfgFullMode … … 111 107 at MENUITEM.szHelp, dw g_szHelpCfgFullMode 112 108 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 113 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE109 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 114 110 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw ROMVARS.wFlags 115 111 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgCfgFullMode 116 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag112 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 117 113 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 118 114 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_ROMVARS_FULLMODE … … 150 146 151 147 152 g_rgwChoi seToValueLookupForBootLoaderType:148 g_rgwChoiceToValueLookupForBootLoaderType: 153 149 dw BOOTLOADER_TYPE_MENU 154 150 dw BOOTLOADER_TYPE_SIMPLE … … 159 155 dw g_szUnidentified 160 156 dw g_szValueCfgBootLoaderSystem 161 157 162 158 163 159 ; Section containing code -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r74 r108 1 ; File name : FlashMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 19.11.20104 ; Last update : 19.12.20105 ; Author : Tomi Tilli6 2 ; Description : "Flash EEPROM" menu structs and functions. 7 3 … … 39 35 g_MenuitemFlashEepromType: 40 36 istruc MENUITEM 41 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI37 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 42 38 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 43 39 at MENUITEM.szName, dw g_szItemFlashEepromType … … 45 41 at MENUITEM.szHelp, dw g_szNfoFlashEepromType 46 42 at MENUITEM.bFlags, db FLG_MENUITEM_PROGRAMVAR | FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_VISIBLE 47 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE43 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 48 44 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw CFGVARS.bEepromType 49 45 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgFlashEepromType 50 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseEepromType51 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForEepromType46 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceEepromType 47 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForEepromType 52 48 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForEepromType 53 49 iend … … 55 51 g_MenuitemFlashSdpCommand: 56 52 istruc MENUITEM 57 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI53 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 58 54 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 59 55 at MENUITEM.szName, dw g_szItemFlashSDP … … 61 57 at MENUITEM.szHelp, dw g_szHelpFlashSDP 62 58 at MENUITEM.bFlags, db FLG_MENUITEM_PROGRAMVAR | FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_VISIBLE 63 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE59 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 64 60 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw CFGVARS.bSdpCommand 65 61 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgFlashSDP 66 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseSdpCommand67 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForSdpCommand62 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceSdpCommand 63 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForSdpCommand 68 64 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForSdpCommand 69 65 iend … … 71 67 g_MenuitemFlashPageSize: 72 68 istruc MENUITEM 73 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI69 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 74 70 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 75 71 at MENUITEM.szName, dw g_szItemFlashPageSize … … 77 73 at MENUITEM.szHelp, dw g_szHelpFlashPageSize 78 74 at MENUITEM.bFlags, db FLG_MENUITEM_PROGRAMVAR | FLG_MENUITEM_BYTEVALUE | FLG_MENUITEM_VISIBLE 79 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE75 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 80 76 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw CFGVARS.bEepromPage 81 77 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgFlashPageSize 82 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoisePageSize83 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForPageSize78 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoicePageSize 79 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForPageSize 84 80 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForPageSize 85 81 iend … … 102 98 g_MenuitemFlashGenerateChecksum: 103 99 istruc MENUITEM 104 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI100 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 105 101 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 106 102 at MENUITEM.szName, dw g_szItemFlashChecksum … … 108 104 at MENUITEM.szHelp, dw g_szHelpFlashChecksum 109 105 at MENUITEM.bFlags, db FLG_MENUITEM_PROGRAMVAR | FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE 110 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE106 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 111 107 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw CFGVARS.wFlags 112 108 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgFlashChecksum 113 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag109 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 114 110 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 115 111 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_CFGVARS_CHECKSUM 116 112 iend 117 113 118 g_rgwChoi seToValueLookupForEepromType:114 g_rgwChoiceToValueLookupForEepromType: 119 115 dw EEPROM_TYPE.2816_2kiB 120 116 dw EEPROM_TYPE.2864_8kiB … … 127 123 dw g_szValueFlash28512 128 124 129 g_rgwChoi seToValueLookupForSdpCommand:125 g_rgwChoiceToValueLookupForSdpCommand: 130 126 dw SDP_COMMAND.none 131 127 dw SDP_COMMAND.enable … … 136 132 dw g_szValueFlashDisable 137 133 138 g_rgwChoi seToValueLookupForPageSize:134 g_rgwChoiceToValueLookupForPageSize: 139 135 dw EEPROM_PAGE.1_byte 140 136 dw EEPROM_PAGE.2_bytes -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r59 r108 1 ; File name : IdeControllerMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 2.11.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : "IDE Controller" menu structs and functions. 7 3 … … 49 45 g_MenuitemIdeControllerBusType: 50 46 istruc MENUITEM 51 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI47 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 52 48 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 53 49 at MENUITEM.szName, dw g_szItemIdeBusType … … 55 51 at MENUITEM.szHelp, dw g_szNfoIdeBusType 56 52 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE 57 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE53 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 58 54 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 59 55 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgBusType 60 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseCfgBusType61 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw g_rgwChoiseToValueLookupForBusType56 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceCfgBusType 57 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForBusType 62 58 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForBusType 63 59 iend … … 95 91 g_MenuitemIdeControllerEnableInterrupt: 96 92 istruc MENUITEM 97 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI93 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 98 94 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 99 95 at MENUITEM.szName, dw g_szItemIdeEnIRQ … … 101 97 at MENUITEM.szHelp, dw g_szHelpIdeEnIRQ 102 98 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 103 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE99 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 104 100 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 105 101 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgIdeEnIRQ 106 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag102 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 107 103 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 108 104 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw 15 … … 124 120 iend 125 121 126 g_rgwChoi seToValueLookupForBusType:122 g_rgwChoiceToValueLookupForBusType: 127 123 dw BUS_TYPE_8_DUAL 128 124 dw BUS_TYPE_8_SINGLE -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm
r68 r108 1 ; File name : MainMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 6.10.20104 ; Last update : 9.12.20105 ; Author : Tomi Tilli6 2 ; Description : Main menu structs and functions. 7 3 … … 89 85 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 90 86 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw NULL 91 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw NULL92 at MENUITEM.itemValue + ITEM_VALUE.rgwChoi seToValueLookup, dw NULL87 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw NULL 88 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw NULL 93 89 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw NULL 94 90 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw NULL -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MasterSlaveMenu.asm
r59 r108 1 ; File name : MasterSlaveMenu.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 3.11.20104 ; Last update : 18.11.20105 ; Author : Tomi Tilli6 2 ; Description : "Master/Slave Drive" menu structs and functions. 7 3 … … 29 25 g_MenuitemMasterSlaveBlockModeTransfers: 30 26 istruc MENUITEM 31 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI27 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 32 28 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 33 29 at MENUITEM.szName, dw g_szItemDrvBlockMode … … 35 31 at MENUITEM.szHelp, dw g_szHelpDrvBlockMode 36 32 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE 37 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE33 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 38 34 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 39 35 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvBlockMode 40 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag36 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 41 37 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 42 38 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_DRVPARAMS_BLOCKMODE … … 45 41 g_MenuitemMasterSlaveUserCHS: 46 42 istruc MENUITEM 47 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoi seSelectionForMenuitemInDSSI43 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 48 44 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 49 45 at MENUITEM.szName, dw g_szItemDrvUserCHS … … 51 47 at MENUITEM.szHelp, dw g_szHelpDrvUserCHS 52 48 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 53 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOI SE49 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 54 50 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 55 51 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvUserCHS 56 at MENUITEM.itemValue + ITEM_VALUE.szMultichoi se, dw g_szMultichoiseBooleanFlag52 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 57 53 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 58 54 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_DRVPARAMS_USERCHS -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r68 r108 1 ; File name : Strings.asm2 1 ; Project name : XTIDE Universal BIOS Configurator v2 3 ; Created date : 5.10.20104 ; Last update : 9.12.20105 ; Author : Tomi Tilli6 2 ; Description : All strings. 7 8 3 9 4 ; Section containing initialized data … … 20 15 g_szUnsaved: db " ",SINGLE_LEFT_HORIZONTAL_TO_VERTICAL, 21 16 db "Unsaved",SINGLE_RIGHT_HORIZONTAL_TO_VERTICAL, NULL 22 17 23 18 ; Item formatting 24 19 g_szFormatItemWithoutValue: db "%c%s",NULL … … 28 23 g_szNo: db "No",NULL 29 24 g_szYes: db "Yes",NULL 30 g_szMultichoi seBooleanFlag:25 g_szMultichoiceBooleanFlag: 31 26 db "No",LF 32 27 db "Yes",NULL … … 108 103 db NULL 109 104 110 g_szMultichoi seCfgBootLoader:105 g_szMultichoiceCfgBootLoader: 111 106 db "Boot menu",LF 112 107 db "Drive A then C",LF … … 152 147 db NULL 153 148 154 g_szMultichoi seCfgBusType:149 g_szMultichoiceCfgBusType: 155 150 db "8-bit dual port (XTIDE)",LF 156 151 db "8-bit single port",LF … … 220 215 db NULL 221 216 222 g_szMultichoi seBootFloppyDrvs:217 g_szMultichoiceBootFloppyDrvs: 223 218 db "Autodetect",LF 224 219 db "1",LF … … 262 257 db NULL 263 258 264 g_szMultichoi seEepromType:259 g_szMultichoiceEepromType: 265 260 db "2816 (2 kiB)",LF 266 261 db "2864 (8 kiB)",LF … … 272 267 g_szValueFlash28512: db "28512",NULL 273 268 274 g_szMultichoi seSdpCommand:269 g_szMultichoiceSdpCommand: 275 270 db "None",LF 276 271 db "Enable",LF … … 280 275 g_szValueFlashDisable: db "Disable",NULL 281 276 282 g_szMultichoi sePageSize:277 g_szMultichoicePageSize: 283 278 db "1 byte",LF 284 279 db "2 bytes",LF
Note:
See TracChangeset
for help on using the changeset viewer.