Changeset 425 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- May 16, 2012, 4:25:29 PM (13 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MasterSlaveMenu.asm
r376 r425 26 26 at MENUPAGE.fnEnter, dw MasterSlaveMenu_EnterMenuOrModifyItemVisibility 27 27 at MENUPAGE.fnBack, dw IdeControllerMenu_EnterMenuOrModifyItemVisibility 28 at MENUPAGE.wMenuitems, dw 928 at MENUPAGE.wMenuitems, dw 10 29 29 iend 30 30 … … 55 55 iend 56 56 57 g_MenuitemMasterSlaveChsTranslateMode: 58 istruc MENUITEM 59 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 60 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromUnshiftedItemInDSSI 61 at MENUITEM.szName, dw g_szItemDrvXlateMode 62 at MENUITEM.szQuickInfo, dw g_szNfoDrvXlateMode 63 at MENUITEM.szHelp, dw g_szNfoDrvXlateMode 64 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE | FLG_MENUITEM_MASKVALUE 65 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 66 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 67 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvXlateMode 68 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiseXlateMode 69 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForXlateMode 70 at MENUITEM.itemValue + ITEM_VALUE.rgszChoiceToStringLookup, dw g_rgszChoiceToStringLookupForXlateMode 71 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw MASK_DRVPARAMS_TRANSLATEMODE 72 at MENUITEM.itemValue + ITEM_VALUE.bFieldPosition, db TRANSLATEMODE_FIELD_POSITION 73 iend 74 57 75 g_MenuitemMasterSlaveWriteCache: 58 76 istruc MENUITEM … … 70 88 at MENUITEM.itemValue + ITEM_VALUE.rgszChoiceToStringLookup, dw g_rgszChoiceToStringLookupForWriteCache 71 89 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw MASK_DRVPARAMS_WRITECACHE 90 at MENUITEM.itemValue + ITEM_VALUE.bFieldPosition, db 0 72 91 iend 73 92 … … 101 120 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvCyls 102 121 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 1 103 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 16383122 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw MAX_USER_CYLINDERS 104 123 %define MASTERSLAVE_CYLINDERS_DEFAULT 65 105 124 iend … … 117 136 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvHeads 118 137 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 1 119 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 16120 %define MASTERSLAVE_HEADS_DEFAULT 16138 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw MAX_USER_HEADS 139 %define MASTERSLAVE_HEADS_DEFAULT MAX_USER_HEADS 121 140 iend 122 141 … … 133 152 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvSect 134 153 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 1 135 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 63136 %define MASTERSLAVE_SECTORS_DEFAULT 63154 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw MAX_USER_SECTORS_PER_TRACK 155 %define MASTERSLAVE_SECTORS_DEFAULT MAX_USER_SECTORS_PER_TRACK 137 156 iend 138 157 … … 165 184 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 166 185 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvLbaSectors 167 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 1 ; 512 MiB186 at MENUITEM.itemValue + ITEM_VALUE.wMinValue, dw 16 ; 8 GiB 168 187 at MENUITEM.itemValue + ITEM_VALUE.wMaxValue, dw 10000000h / (1024 * 1024) ; Limit to 28-bit LBA 169 188 at MENUITEM.itemValue + ITEM_VALUE.fnValueReader, dw ValueReaderForUserLbaValue 170 189 at MENUITEM.itemValue + ITEM_VALUE.fnValueWriter, dw ValueWriterForUserLbaValue 171 %define MASTERSLAVE_USERLBA_DEFAULT 1190 %define MASTERSLAVE_USERLBA_DEFAULT 64 172 191 iend 173 192 … … 183 202 dw g_szValueDrvWrCaEn 184 203 204 g_rgwChoiceToValueLookupForXlateMode: 205 dw TRANSLATEMODE_NORMAL 206 dw TRANSLATEMODE_LARGE 207 dw TRANSLATEMODE_ASSISTED_LBA 208 dw TRANSLATEMODE_AUTO 209 210 g_rgszChoiceToStringLookupForXlateMode: 211 dw g_szValueDrvXlateNormal 212 dw g_szValueDrvXlateLarge 213 dw g_szValueDrvXlateLBA 214 dw g_szValueDrvXlateAuto 215 185 216 186 217 ; Section containing code … … 200 231 lea ax, [bx+DRVPARAMS.wFlags] 201 232 mov [cs:g_MenuitemMasterSlaveBlockModeTransfers+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 233 mov [cs:g_MenuitemMasterSlaveChsTranslateMode+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 202 234 mov [cs:g_MenuitemMasterSlaveWriteCache+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 203 235 mov [cs:g_MenuitemMasterSlaveUserCHS+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax
Note:
See TracChangeset
for help on using the changeset viewer.