Changeset 153 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2
- Timestamp:
- May 1, 2011, 10:44:17 AM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
r109 r153 6 6 ; Equates and defines 7 7 MAX_ALLOWED_IDE_CONTROLLERS EQU 4 ; Maximum number of IDE controllers 8 MAX_LITE_MODE_CONTROLLERS EQU 2 8 9 EEPROM_POLLING_TIMEOUT_TICKS EQU 3 ; 1 tick = 54.9 ms 9 10 XTIDE_SIGNATURE_LENGTH EQU 8 ; XTIDE Universal BIOS signature string length -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r109 r153 1 1 ; Project name : XTIDE Univeral BIOS Configurator v2 2 ; Description : Program start and exit. 2 ; Description : Program start and exit. 3 3 4 4 ; Include .inc files -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm
r114 r153 234 234 test ax, FLG_ROMVARS_FULLMODE 235 235 jnz SHORT .EnableMenuitemFromCSBX 236 .LimitIdeControllerCountToOneForLiteMode: 236 237 ; Limit controller count for lite mode 237 238 call Buffers_GetFileBufferToESDI 238 mov BYTE [es:di+ROMVARS.bIdeCnt], 1239 mov BYTE [es:di+ROMVARS.bIdeCnt], MAX_LITE_MODE_CONTROLLERS 239 240 jmp SHORT .DisableMenuitemFromCSBX 240 241 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r109 r153 43 43 iend 44 44 45 g_MenuitemIdeController BusType:45 g_MenuitemIdeControllerDevice: 46 46 istruc MENUITEM 47 47 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 48 48 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 49 at MENUITEM.szName, dw g_szItemIde BusType50 at MENUITEM.szQuickInfo, dw g_szNfoIde BusType51 at MENUITEM.szHelp, dw g_szNfoIde BusType49 at MENUITEM.szName, dw g_szItemIdeDevice 50 at MENUITEM.szQuickInfo, dw g_szNfoIdeDevice 51 at MENUITEM.szHelp, dw g_szNfoIdeDevice 52 52 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_BYTEVALUE 53 53 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 54 54 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 55 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlg BusType56 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceCfg BusType57 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupFor BusType58 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupFor BusType55 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDevice 56 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceCfgDevice 57 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForDevice 58 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForDevice 59 59 iend 60 60 … … 120 120 iend 121 121 122 g_rgwChoiceToValueLookupForBusType: 123 dw BUS_TYPE_8_DUAL 124 dw BUS_TYPE_8_SINGLE 125 dw BUS_TYPE_16 126 dw BUS_TYPE_32 127 g_rgszValueToStringLookupForBusType: 128 dw g_szValueCfgBusTypeDual8b 129 dw g_szValueCfgBusType16b 130 dw g_szValueCfgBusType32b 131 dw g_szValueCfgBusTypeSingle8b 122 g_rgwChoiceToValueLookupForDevice: 123 dw DEVICE_8BIT_DUAL_PORT_XTIDE 124 dw DEVICE_XTIDE_WITH_REVERSED_A3_AND_A0 125 dw DEVICE_8BIT_SINGLE_PORT 126 dw DEVICE_16BIT_ATA 127 dw DEVICE_32BIT_ATA 128 dw DEVICE_SERIAL_PORT 129 g_rgszValueToStringLookupForDevice: 130 dw g_szValueCfgDeviceDual8b 131 dw g_szValueCfgDeviceMod 132 dw g_szValueCfgDeviceSingle8b 133 dw g_szValueCfgDevice16b 134 dw g_szValueCfgDevice32b 135 dw g_szValueCfgDeviceSerial 132 136 133 137 … … 152 156 mov [cs:g_MenuitemIdeControllerSlaveDrive+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 153 157 154 lea ax, [bx+IDEVARS.b BusType]155 mov [cs:g_MenuitemIdeController BusType+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax158 lea ax, [bx+IDEVARS.bDevice] 159 mov [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 156 160 157 161 lea ax, [bx+IDEVARS.wPort] -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r144 r153 88 88 g_szDlgCfgFullMode: db "Enable full operating mode?",NULL 89 89 g_szDlgCfgStealSize: db "How many kiB of base memory to steal for XTIDE Universal BIOS variables (1...255)?",NULL 90 g_szDlgCfgIdeCnt: db "How many IDE controllers to manage (1... 5)?",NULL90 g_szDlgCfgIdeCnt: db "How many IDE controllers to manage (1...4)?",NULL 91 91 92 92 g_szNfoCfgIde: db "IDE controller and drive configuration.",NULL … … 106 106 g_szItemIdeMaster: db "Master Drive",NULL 107 107 g_szItemIdeSlave: db "Slave Drive",NULL 108 g_szItemIde BusType: db "Bustype",NULL108 g_szItemIdeDevice: db "Device type",NULL 109 109 g_szItemIdeCmdPort: db "Base (cmd block) address",NULL 110 110 g_szItemIdeCtrlPort: db "Control block address",NULL … … 112 112 g_szItemIdeIRQ: db "IRQ",NULL 113 113 114 g_szDlg BusType: db "Select type of bus where IDE Controller is connected.",NULL114 g_szDlgDevice: db "Select controller type.",NULL 115 115 g_szDlgIdeCmdPort: db "Enter IDE command block (base port) address.",NULL 116 116 g_szDlgIdeCtrlPort: db "Enter IDE control block address (usually command block + 200h).",NULL … … 121 121 g_szNfoIdeMaster: db "Settings for Master Drive.",NULL 122 122 g_szNfoIdeSlave: db "Settings for Slave Drive.",NULL 123 g_szNfoIde BusType: db "Select controller bustype.",NULL123 g_szNfoIdeDevice: db "Select controller device type.",NULL 124 124 g_szNfoIdeCmdPort: db "IDE Controller Command Block (base port) address.",NULL 125 125 g_szNfoIdeCtrlPort: db "IDE Controller Control Block address. Usually Cmd Block + 200h.",NULL … … 136 136 db NULL 137 137 138 g_szMultichoiceCfg BusType:138 g_szMultichoiceCfgDevice: 139 139 db "8-bit dual port (XTIDE)",LF 140 db "XTIDE mod by Chuck(G)",LF 140 141 db "8-bit single port",LF 141 db "16-bit",LF 142 db "32-bit generic",NULL 143 144 g_szValueCfgBusTypeDual8b: db "2x8-bit",NULL 145 g_szValueCfgBusTypeSingle8b: db "1x8-bit",NULL 146 g_szValueCfgBusType16b: db "16-bit",NULL 147 g_szValueCfgBusType32b: db "32-bit",NULL 142 db "16-bit standard IDE",LF 143 db "32-bit generic IDE",LF 144 db "Serial port virtual device",NULL 145 146 g_szValueCfgDeviceDual8b: db "XTIDE",NULL 147 g_szValueCfgDeviceMod: db "Chuck(G)",NULL 148 g_szValueCfgDeviceSingle8b: db "8-bit",NULL 149 g_szValueCfgDevice16b: db "16-bit",NULL 150 g_szValueCfgDevice32b: db "32-bit",NULL 151 g_szValueCfgDeviceSerial: db "serial",NULL 148 152 149 153
Note:
See TracChangeset
for help on using the changeset viewer.