Changeset 614 in xtideuniversalbios
- Timestamp:
- Jun 10, 2021, 4:56:34 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BIOS_Drive_Information_Tool/Src/Main.asm
r613 r614 25 25 %include "Version.inc" ; From XTIDE Universal BIOS 26 26 %include "ATA_ID.inc" ; From XTIDE Universal BIOS 27 %include "Ram vars.inc" ; From XTIDE Universal BIOS (needed by Int13h.inc)27 %include "RamVars.inc" ; From XTIDE Universal BIOS (needed by Int13h.inc) 28 28 %include "Int13h.inc" ; From XTIDE Universal BIOS 29 29 %include "EBIOS.inc" ; From XTIDE Universal BIOS -
trunk/XTIDE_Universal_BIOS/Inc/ATA_ID.inc
r593 r614 22 22 23 23 ; Maximum valid P-CHS parameters 24 MAX_ VALID_PCHS_CYLINDERS EQU 1638325 MAX_ VALID_PCHS_HEADS EQU 1626 MAX_ VALID_PCHS_SECTORS_PER_TRACK EQU 6324 MAX_PCHS_CYLINDERS EQU 16383 25 MAX_PCHS_HEADS EQU 16 26 MAX_PCHS_SECTORS_PER_TRACK EQU 63 27 27 28 28 -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r605 r614 46 46 FLG_DRVPARAMS_BLOCKMODE EQU (1<<4) ; Enable Block mode transfers 47 47 FLG_DRVPARAMS_USERCHS EQU (1<<5) ; User specified P-CHS values 48 MAX_PCHS_CYLINDERS EQU 1638349 MAX_PCHS_HEADS EQU 1650 MAX_PCHS_SECTORS_PER_TRACK EQU 6351 MAX_PCHS_TOTAL_SECTOR_COUNT EQU (MAX_PCHS_CYLINDERS * MAX_PCHS_HEADS * MAX_PCHS_SECTORS_PER_TRACK) ; 16,514,06452 48 FLG_DRVPARAMS_USERLBA EQU (1<<6) ; User specified LBA value 49 FLG_DRVPARAMS_DO_NOT_DETECT EQU (1<<7) ; Disable detection of drive 53 50 54 51 … … 143 140 .rgbJump resb 3 ; First instruction to ROM init (jmp) 144 141 145 .rgbSign resb 8 ; Signature for XTIDE Configurator Program142 .rgbSign resb 6 ; Signature for XTIDE Configurator Program (must be even length) 146 143 .szTitle resb 31 ; BIOS title string 147 144 .szVersion resb 25 ; BIOS version string -
trunk/XTIDE_Universal_BIOS/Inc/Version.inc
r601 r614 20 20 21 21 ; Flash signature revisions: 22 ; XUB208 Added option to skip slave drive detection 22 23 ; XTIDE207 Added device type DEVICE_8BIT_XTIDE_REV2_OLIVETTI 23 24 ; XTIDE206 Added support for Color Themes … … 50 51 %define TITLE_STRING TITLE_STRING_START, TITLE_STRING_END 51 52 %define ROM_VERSION_STRING "v2.0.0",BETA,"3+ (",__DATE__,")",NULL 52 %define FLASH_SIGNATURE "X TIDE207" ; Do not terminate with NULL53 %define FLASH_SIGNATURE "XUB208" ; Do not terminate with NULL 53 54 54 55 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm
r613 r614 35 35 ; ES:SI: Ata information with possible corrections made 36 36 ; AH: INT 13h Error Code from reading ATA information 37 ; CF cleared if drive now accepted37 ; CF Cleared if drive now accepted 38 38 ; Corrupts registers: 39 39 ; AL, BX, CX, DX, DI … … 49 49 50 50 ; Only correct cylinders since there are no reports that head or sectors could be wrong 51 MIN_U WORD [es:si+ATA1.wCylCnt], MAX_ VALID_PCHS_CYLINDERS ; Limit to max allowed value52 51 MIN_U WORD [es:si+ATA1.wCylCnt], MAX_PCHS_CYLINDERS ; Limit to max allowed value 52 53 53 ; Note! There are ATA ID words 54-58 that also need to be modified! However, 54 54 ; the drive itself should modify them when we do Initialize Device Parameters command at AH=9h. 55 55 ; Verification from real drive needed before we fix them manually 56 56 57 57 clc ; Return success 58 58 .Return: … … 82 82 ; Verify P-CHS cylinders 83 83 mov bx, ATA1.wCylCnt 84 mov ax, MAX_ VALID_PCHS_CYLINDERS84 mov ax, MAX_PCHS_CYLINDERS 85 85 call .CompareCHorSfromOffsetBXtoMaxValueInAX 86 86 87 87 mov bl, ATA1.wHeadCnt & 0FFh 88 mov ax, MAX_ VALID_PCHS_HEADS88 mov ax, MAX_PCHS_HEADS 89 89 call .CompareCHorSfromOffsetBXtoMaxValueInAX 90 90 91 91 mov bl, ATA1.wSPT & 0FFh 92 mov al, MAX_ VALID_PCHS_SECTORS_PER_TRACK92 mov al, MAX_PCHS_SECTORS_PER_TRACK 93 93 call .CompareCHorSfromOffsetBXtoMaxValueInAX 94 94 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r605 r614 44 44 call StartDetectionWithDriveSelectByteInBHandStringInCX ; Detect and create DPT + BOOTNFO 45 45 46 test BYTE [cs:bp+IDEVARS.drvParamsSlave+DRVPARAMS.wFlags], FLG_DRVPARAMS_DO_NOT_DETECT 47 jnz SHORT .SkipSlaveDetection 46 48 mov cx, g_szDetectSlave 47 49 mov bh, MASK_DRVNHEAD_SET | FLG_DRVNHEAD_DRV 48 50 call StartDetectionWithDriveSelectByteInBHandStringInCX 51 .SkipSlaveDetection: 49 52 50 53 %ifdef MODULE_HOTKEYS -
trunk/XTIDE_Universal_BIOS/makefile
r613 r614 118 118 DEFINES_AT_LARGE = $(DEFINES_AT) $(DEFINES_COMMON_LARGE) 119 119 120 DEFINES_XT_TINY = MODULE_STRINGS_COMPRESSED MODULE_8BIT_IDE NO_ATAID_VALIDATION NO_ATAID_CORRECTIONCLD_NEEDED120 DEFINES_XT_TINY = MODULE_STRINGS_COMPRESSED MODULE_8BIT_IDE NO_ATAID_VALIDATION CLD_NEEDED 121 121 DEFINES_386 = $(DEFINES_AT) USE_386 MODULE_ADVANCED_ATA MODULE_WIN9X_CMOS_HACK 122 122 DEFINES_386_LARGE = $(DEFINES_386) $(DEFINES_COMMON_LARGE) -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
r592 r614 26 26 MAX_LITE_MODE_CONTROLLERS EQU 2 27 27 EEPROM_POLLING_TIMEOUT_TICKS EQU 3 ; 1 tick = 54.9 ms 28 XTIDE_SIGNATURE_LENGTH EQU 8 ; XTIDE Universal BIOS signature string length28 XTIDE_SIGNATURE_LENGTH EQU 6 ; XTIDE Universal BIOS signature string length (must be even) 29 29 NUMBER_OF_EEPROM_TYPES EQU 5 30 30 MAX_EEPROM_SIZE_IN_BYTES EQU 65536 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm
r605 r614 42 42 pop ds ; ROMVARS now in DS:DI 43 43 call ChecksumSystemBios 44 call DetectOlivettiM24 44 45 call ResetIdevarsToDefaultValues 45 46 call DetectIdePortsAndDevices … … 139 140 140 141 ;-------------------------------------------------------------------- 142 ; DetectOlivettiM24 143 ; Parameters: 144 ; Nothing 145 ; Returns: 146 ; ZF: Set if computer is not an Olivetti M24 147 ; Clear if computer is an Olivetti M24 148 ; Corrupts registers: 149 ; AX, BX, CX, DX 150 ;-------------------------------------------------------------------- 151 ALIGN JUMP_ALIGN 152 DetectOlivettiM24: 153 mov ah, 0FEh ; Request the current date and time 154 mov ch, 0FFh ; Set the hours to an invalid value 155 int BIOS_TIME_PCI_PNP_INTERRUPT_1Ah 156 inc ch ; Hours changed? 157 jz SHORT .ThisIsNotAnOlivettiM24 158 mov BYTE [cs:IsOlivettiM24], 1 159 .ThisIsNotAnOlivettiM24: 160 ret 161 162 IsOlivettiM24: 163 db 0 164 165 166 ;-------------------------------------------------------------------- 141 167 ; ResetIdevarsToDefaultValues 142 168 ; Parameters: -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm
r596 r614 73 73 push di 74 74 75 mov si, g_s zXtideUniversalBiosSignature75 mov si, g_sXtideUniversalBiosSignature 76 76 add di, BYTE ROMVARS.rgbSign 77 77 mov cx, XTIDE_SIGNATURE_LENGTH / 2 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/IdeAutodetect.asm
r609 r614 139 139 eSHL_IM bx, 1 ; SHL 1 register offsets for XT-CF 140 140 call DetectIdeDeviceFromPortsDXandSIwithOffsetsInBLandBH 141 jc SHORT .ContinueDetection 142 mov al, DEVICE_8BIT_XTCF_PIO8_WITH_BIU_OFFLOAD 143 cmp BYTE [cs:IsOlivettiM24], 1 144 jne SHORT .IdeDeviceFound 141 145 mov al, DEVICE_8BIT_XTCF_PIO8 142 jnc SHORT .IdeDeviceFound 146 jmp SHORT .IdeDeviceFound 147 .ContinueDetection: 143 148 shr bx, 1 144 149 .SkipXTCF: … … 166 171 pop dx 167 172 cmp al, DEVICE_8BIT_XTIDE_REV2 168 je SHORT .IdeDeviceFound 173 jne SHORT .XtideRev1 174 cmp BYTE [cs:IsOlivettiM24], 1 175 jne SHORT .IdeDeviceFound 176 mov al, DEVICE_8BIT_XTIDE_REV2_OLIVETTI 177 ret ; With CF cleared 178 .XtideRev1: 169 179 mov al, DEVICE_8BIT_XTIDE_REV1 ; We must have rev 1 170 180 .IdeDeviceFound: -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r593 r614 25 25 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 26 26 %include "RomVars.inc" ; XTIDE Universal BIOS variables 27 %include "ATA_ID.inc" ; Needed for Master/Slave Drive menu 27 28 %include "IdeRegisters.inc" ; Needed for port and device autodetection 28 29 %include "JRIDE_ISA.inc" ; For JR-IDE/ISA default segment -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r607 r614 475 475 ;-------------------------------------------------------------------- 476 476 .EnableOrDisableSerial: 477 mov bx, g_MenuitemIdeControllerSerialBaud478 call DisableMenuitemFromCSBX479 480 mov bx, g_MenuitemIdeControllerSerialCOM481 call DisableMenuitemFromCSBX482 483 mov bx, g_MenuitemIdeControllerSerialPort484 call DisableMenuitemFromCSBX485 486 477 mov bx, [g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 487 478 call Buffers_GetRomvarsValueToAXfromOffsetInBX 488 479 cmp al, DEVICE_SERIAL_PORT 489 jne SHORT .DisableAllSerial 490 491 mov bx, g_MenuitemIdeControllerSerialCOM 492 call EnableMenuitemFromCSBX 493 494 mov bx, g_MenuitemIdeControllerSerialBaud 495 call EnableMenuitemFromCSBX 496 480 mov ax, DisableMenuitemFromCSBX 481 jne SHORT .DisableSerialControllerMenuitems 482 mov ax, EnableMenuitemFromCSBX 483 call .EnableSerialControllerMenuitems 497 484 mov bx, [g_MenuitemIdeControllerSerialCOM+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 498 485 call Buffers_GetRomvarsValueToAXfromOffsetInBX 486 cmp al, 'x' 487 mov ax, DisableMenuitemFromCSBX 488 jne SHORT .DisableCustomPortMenuitem 489 ret 490 .DisableSerialControllerMenuitems: 491 .EnableSerialControllerMenuitems: 492 mov bx, g_MenuitemIdeControllerSerialCOM 493 call ax 494 mov bx, g_MenuitemIdeControllerSerialBaud 495 call ax 496 .DisableCustomPortMenuitem: 499 497 mov bx, g_MenuitemIdeControllerSerialPort 500 cmp al, 'x' 501 je SHORT .EnableMenuitemFromCSBX 502 jmp SHORT .DisableMenuitemFromCSBX 503 .DisableAllSerial: 504 ret 498 jmp ax 505 499 506 500 … … 516 510 ALIGN JUMP_ALIGN 517 511 MasterDrive: 512 mov bx, g_MenuitemMasterSlaveDisableDetection 513 call DisableMenuitemFromCSBX 518 514 mov bx, [cs:g_MenuitemIdeControllerMasterDrive+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 519 515 jmp SHORT DisplayMasterSlaveMenu … … 521 517 ALIGN JUMP_ALIGN 522 518 SlaveDrive: 519 mov bx, g_MenuitemMasterSlaveDisableDetection 520 call EnableMenuitemFromCSBX 523 521 mov bx, [cs:g_MenuitemIdeControllerSlaveDrive+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 524 522 ; Fall to DisplayMasterSlaveMenu 525 523 526 ALIGN JUMP_ALIGN527 524 DisplayMasterSlaveMenu: 528 ;529 ; "Block Mode Transfers" and "Internal Write Cache" are not supported on serial drives, disable/enable the options as appropriate530 ;531 push bx532 mov bx, [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset]533 call Buffers_GetRomvarsValueToAXfromOffsetInBX534 mov bx, g_MenuitemMasterSlaveBlockModeTransfers535 536 cmp al, DEVICE_SERIAL_PORT537 je .isSerial538 539 call EnableMenuitemFromCSBX540 mov bx, g_MenuitemMasterSlaveWriteCache541 call EnableMenuitemFromCSBX542 jmp .isDone543 544 .isSerial:545 call DisableMenuitemFromCSBX546 mov bx, g_MenuitemMasterSlaveWriteCache547 call DisableMenuitemFromCSBX548 549 .isDone:550 pop bx551 552 525 call MasterSlaveMenu_InitializeToDrvparamsOffsetInBX 553 526 jmp MasterSlaveMenu_EnterMenuOrModifyItemVisibility … … 657 630 mov ax, DEVICE_XTIDE_DEFAULT_PORT ; Defaults for 8-bit XTIDE and XT-CF devices 658 631 mov bx, DEVICE_XTIDE_DEFAULT_PORTCTRL 659 632 660 633 ; XT-CF does not support IRQ so it must be disabled (IRQ setting is not visible for XT-CF) 661 634 ; XTIDE does not use IRQs by default -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MasterSlaveMenu.asm
r592 r614 26 26 at MENUPAGE.fnEnter, dw MasterSlaveMenu_EnterMenuOrModifyItemVisibility 27 27 at MENUPAGE.fnBack, dw IdeControllerMenu_EnterMenuOrModifyItemVisibility 28 at MENUPAGE.wMenuitems, dw 1 028 at MENUPAGE.wMenuitems, dw 11 29 29 iend 30 30 … … 39 39 iend 40 40 41 g_MenuitemMasterSlaveDisableDetection: 42 istruc MENUITEM 43 at MENUITEM.fnActivate, dw Menuitem_ActivateMultichoiceSelectionForMenuitemInDSSI 44 at MENUITEM.fnFormatValue, dw MenuitemPrint_WriteLookupValueStringToBufferInESDIfromShiftedItemInDSSI 45 at MENUITEM.szName, dw g_szItemDrvDisableDetection 46 at MENUITEM.szQuickInfo, dw g_szNfoDrvDisableDetection 47 at MENUITEM.szHelp, dw g_szHelpDrvDisableDetection 48 at MENUITEM.bFlags, db FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 49 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 50 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 51 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvDisableDetection 52 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceBooleanFlag 53 at MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup, dw g_rgszValueToStringLookupForFlagBooleans 54 at MENUITEM.itemValue + ITEM_VALUE.wValueBitmask, dw FLG_DRVPARAMS_DO_NOT_DETECT 55 iend 56 41 57 g_MenuitemMasterSlaveBlockModeTransfers: 42 58 istruc MENUITEM … … 46 62 at MENUITEM.szQuickInfo, dw g_szNfoDrvBlockMode 47 63 at MENUITEM.szHelp, dw g_szHelpDrvBlockMode 48 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_FLAGVALUE64 at MENUITEM.bFlags, db FLG_MENUITEM_FLAGVALUE 49 65 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 50 66 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL … … 62 78 at MENUITEM.szQuickInfo, dw g_szNfoDrvXlateMode 63 79 at MENUITEM.szHelp, dw g_szNfoDrvXlateMode 64 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_MASKVALUE80 at MENUITEM.bFlags, db FLG_MENUITEM_MASKVALUE 65 81 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 66 82 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 67 83 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvXlateMode 68 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoi seXlateMode84 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceXlateMode 69 85 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForXlateMode 70 86 at MENUITEM.itemValue + ITEM_VALUE.rgszChoiceToStringLookup, dw g_rgszChoiceToStringLookupForXlateMode … … 80 96 at MENUITEM.szQuickInfo, dw g_szNfoDrvWriteCache 81 97 at MENUITEM.szHelp, dw g_szHelpDrvWriteCache 82 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_MASKVALUE98 at MENUITEM.bFlags, db FLG_MENUITEM_MASKVALUE 83 99 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 84 100 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL 85 101 at MENUITEM.itemValue + ITEM_VALUE.szDialogTitle, dw g_szDlgDrvWriteCache 86 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoi seWrCache102 at MENUITEM.itemValue + ITEM_VALUE.szMultichoice, dw g_szMultichoiceWrCache 87 103 at MENUITEM.itemValue + ITEM_VALUE.rgwChoiceToValueLookup, dw g_rgwChoiceToValueLookupForWriteCache 88 104 at MENUITEM.itemValue + ITEM_VALUE.rgszChoiceToStringLookup, dw g_rgszChoiceToStringLookupForWriteCache … … 98 114 at MENUITEM.szQuickInfo, dw g_szNfoDrvUserCHS 99 115 at MENUITEM.szHelp, dw g_szHelpDrvUserCHS 100 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE116 at MENUITEM.bFlags, db FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 101 117 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 102 118 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL … … 163 179 at MENUITEM.szQuickInfo, dw g_szNfoDrvUserLBA 164 180 at MENUITEM.szHelp, dw g_szHelpDrvUserLBA 165 at MENUITEM.bFlags, db FLG_MENUITEM_ VISIBLE | FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE181 at MENUITEM.bFlags, db FLG_MENUITEM_MODIFY_MENU | FLG_MENUITEM_FLAGVALUE 166 182 at MENUITEM.bType, db TYPE_MENUITEM_MULTICHOICE 167 183 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL … … 239 255 %endif 240 256 %endif 257 mov [g_MenuitemMasterSlaveDisableDetection+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 241 258 mov [g_MenuitemMasterSlaveBlockModeTransfers+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 242 259 mov [g_MenuitemMasterSlaveChsTranslateMode+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax … … 274 291 push cs 275 292 pop ds 293 mov bx, [g_MenuitemMasterSlaveDisableDetection+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 294 call Buffers_GetRomvarsValueToAXfromOffsetInBX 295 mov si, g_MenupageForMasterSlaveMenu 296 ePUSH_T bx, Menupage_ChangeToNewMenupageInDSSI 297 test al, FLG_DRVPARAMS_DO_NOT_DETECT 298 jnz SHORT .DisableAllItemsOnThisMenuExceptDisableDetection 299 call .EnableOrDisableItemsDependingOnControllerBeingSerialOrNot 276 300 call .EnableOrDisableUserCHSandLBA 277 301 call .EnableOrDisableCHandS 278 call .EnableOrDisableUserLbaValue 279 mov si, g_MenupageForMasterSlaveMenu 280 jmp Menupage_ChangeToNewMenupageInDSSI 302 jmp .EnableOrDisableUserLbaValue 303 304 305 ;-------------------------------------------------------------------- 306 ; .EnableOrDisableItemsDependingOnControllerBeingSerialOrNot 307 ; Parameters: 308 ; SS:BP: Menu handle 309 ; Returns: 310 ; Nothing 311 ; Corrupts registers: 312 ; AX, BX 313 ;-------------------------------------------------------------------- 314 ALIGN JUMP_ALIGN 315 .EnableOrDisableItemsDependingOnControllerBeingSerialOrNot: 316 mov bx, [g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 317 call Buffers_GetRomvarsValueToAXfromOffsetInBX 318 mov bx, g_MenuitemMasterSlaveChsTranslateMode 319 call EnableMenuitemFromCSBX 320 cmp al, DEVICE_SERIAL_PORT 321 je SHORT .DisableAllItemsNotApplicableToSerialDrives 322 mov bx, g_MenuitemMasterSlaveBlockModeTransfers 323 call EnableMenuitemFromCSBX 324 mov bx, g_MenuitemMasterSlaveWriteCache 325 jmp EnableMenuitemFromCSBX 326 327 328 ;-------------------------------------------------------------------- 329 ; .DisableAllItemsOnThisMenuExceptDisableDetection 330 ; .DisableAllItemsNotApplicableToSerialDrives 331 ; Parameters: 332 ; SS:BP: Menu handle 333 ; Returns: 334 ; Nothing 335 ; Corrupts registers: 336 ; AX, BX 337 ;-------------------------------------------------------------------- 338 ALIGN JUMP_ALIGN 339 .DisableAllItemsOnThisMenuExceptDisableDetection: 340 mov bx, g_MenuitemMasterSlaveChsTranslateMode 341 call DisableMenuitemFromCSBX 342 mov bx, g_MenuitemMasterSlaveUserCHS 343 call DisableMenuitemFromCSBX 344 call .DisableCHandS 345 mov bx, g_MenuitemMasterSlaveUserLBA 346 call DisableMenuitemFromCSBX 347 mov bx, g_MenuitemMasterSlaveUserLbaValue 348 call DisableMenuitemFromCSBX 349 .DisableAllItemsNotApplicableToSerialDrives: 350 mov bx, g_MenuitemMasterSlaveBlockModeTransfers 351 call DisableMenuitemFromCSBX 352 mov bx, g_MenuitemMasterSlaveWriteCache 353 jmp SHORT .DisableMenuitemFromCSBX 281 354 282 355 … … 338 411 jnz SHORT .DisableCHandS 339 412 413 mov ax, EnableMenuitemFromCSBX 414 jmp SHORT .EnableCHandS 415 416 .DisableCHandS: 417 mov ax, DisableMenuitemFromCSBX 418 .EnableCHandS: 340 419 mov bx, g_MenuitemMasterSlaveCylinders 341 call EnableMenuitemFromCSBX420 call ax 342 421 mov bx, g_MenuitemMasterSlaveHeads 343 call EnableMenuitemFromCSBX422 call ax 344 423 mov bx, g_MenuitemMasterSlaveSectors 345 jmp SHORT .EnableMenuitemFromCSBX 346 347 ALIGN JUMP_ALIGN 348 .DisableCHandS: 349 mov bx, g_MenuitemMasterSlaveCylinders 350 call DisableMenuitemFromCSBX 351 mov bx, g_MenuitemMasterSlaveHeads 352 call DisableMenuitemFromCSBX 353 mov bx, g_MenuitemMasterSlaveSectors 354 jmp SHORT .DisableMenuitemFromCSBX 424 jmp ax 355 425 356 426 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r612 r614 26 26 ; Menu title 27 27 g_szProgramTitle: db "Configuration and Flashing program for XTIDE Universal BIOS v2.0.0.",LF,CR,NULL 28 g_s zXtideUniversalBiosSignature: db FLASH_SIGNATURE,NULL28 g_sXtideUniversalBiosSignature: db FLASH_SIGNATURE ; No need to terminate with NULL. 29 29 g_szBiosIsNotLoaded: db "BIOS is not loaded!",NULL 30 30 g_szEEPROM: db "EEPROM",NULL … … 307 307 g_szValueCfgDeviceSerial: db "Serial",NULL 308 308 309 g_szSerialCOMChoice: db "COM1 - address 3F8h",LF310 db "COM2 - address 2F8h",LF311 db "COM3 - address 3E8h",LF312 db "COM4 - address 2E8h",LF313 db "COM5 - address 2F0h",LF314 db "COM6 - address 3E0h",LF315 db "COM7 - address 2E0h",LF316 db "COM8 - address 260h",LF317 db "COM9 - address 368h",LF318 db "COMA - address 268h",LF319 db "COMB - address 360h",LF320 db "COMC - address 270h",LF321 db "COMx - Custom address",NULL322 323 g_szValueCfgCOM1: db "COM1",NULL324 g_szValueCfgCOM2: db "COM2",NULL325 g_szValueCfgCOM3: db "COM3",NULL326 g_szValueCfgCOM4: db "COM4",NULL327 g_szValueCfgCOM5: db "COM5",NULL328 g_szValueCfgCOM6: db "COM6",NULL329 g_szValueCfgCOM7: db "COM7",NULL330 g_szValueCfgCOM8: db "COM8",NULL331 g_szValueCfgCOM9: db "COM9",NULL332 g_szValueCfgCOMA: db "COMA",NULL333 g_szValueCfgCOMB: db "COMB",NULL334 g_szValueCfgCOMC: db "COMC",NULL335 g_szValueCfgCOMx: db "Custom",NULL336 337 g_szSerialBaudChoice: db "115.2K baud",LF338 db "57.6K baud",LF339 db "38.4K baud",LF340 db "28.8K baud",LF341 db "19.2K baud",LF342 db "9600 baud",LF343 db "4800 baud",LF344 db "2400 baud",NULL345 346 g_szValueCfgBaud115_2: db "115.2K",NULL347 g_szValueCfgBaud57_6: db "57.6K",NULL348 g_szValueCfgBaud38_4: db "38.4K",NULL349 g_szValueCfgBaud28_8: db "28.8K",NULL350 g_szValueCfgBaud19_2: db "19.2K",NULL351 g_szValueCfgBaud9600: db "9600",NULL352 g_szValueCfgBaud4800: db "4800",NULL353 g_szValueCfgBaud2400: db "2400",NULL309 g_szSerialCOMChoice: db "COM1 - address 3F8h",LF 310 db "COM2 - address 2F8h",LF 311 db "COM3 - address 3E8h",LF 312 db "COM4 - address 2E8h",LF 313 db "COM5 - address 2F0h",LF 314 db "COM6 - address 3E0h",LF 315 db "COM7 - address 2E0h",LF 316 db "COM8 - address 260h",LF 317 db "COM9 - address 368h",LF 318 db "COMA - address 268h",LF 319 db "COMB - address 360h",LF 320 db "COMC - address 270h",LF 321 db "COMx - Custom address",NULL 322 323 g_szValueCfgCOM1: db "COM1",NULL 324 g_szValueCfgCOM2: db "COM2",NULL 325 g_szValueCfgCOM3: db "COM3",NULL 326 g_szValueCfgCOM4: db "COM4",NULL 327 g_szValueCfgCOM5: db "COM5",NULL 328 g_szValueCfgCOM6: db "COM6",NULL 329 g_szValueCfgCOM7: db "COM7",NULL 330 g_szValueCfgCOM8: db "COM8",NULL 331 g_szValueCfgCOM9: db "COM9",NULL 332 g_szValueCfgCOMA: db "COMA",NULL 333 g_szValueCfgCOMB: db "COMB",NULL 334 g_szValueCfgCOMC: db "COMC",NULL 335 g_szValueCfgCOMx: db "Custom",NULL 336 337 g_szSerialBaudChoice: db "115.2K baud",LF 338 db "57.6K baud",LF 339 db "38.4K baud",LF 340 db "28.8K baud",LF 341 db "19.2K baud",LF 342 db "9600 baud",LF 343 db "4800 baud",LF 344 db "2400 baud",NULL 345 346 g_szValueCfgBaud115_2: db "115.2K",NULL 347 g_szValueCfgBaud57_6: db "57.6K",NULL 348 g_szValueCfgBaud38_4: db "38.4K",NULL 349 g_szValueCfgBaud28_8: db "28.8K",NULL 350 g_szValueCfgBaud19_2: db "19.2K",NULL 351 g_szValueCfgBaud9600: db "9600",NULL 352 g_szValueCfgBaud4800: db "4800",NULL 353 g_szValueCfgBaud2400: db "2400",NULL 354 354 355 355 356 356 ; Strings for DRVPARAMS menu 357 g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL 358 g_szItemDrvBlockMode: db "Block Mode Transfers",NULL 359 g_szItemDrvXlateMode: db "CHS translation method",NULL 360 g_szItemDrvWriteCache: db "Internal Write Cache",NULL 361 g_szItemDrvUserCHS: db "User specified CHS",NULL 362 g_szItemDrvCyls: db "Cylinders",NULL 363 g_szItemDrvHeads: db "Heads",NULL 364 g_szItemDrvSect: db "Sectors per track",NULL 365 g_szItemDrvUserLBA: db "User specified LBA",NULL 366 g_szItemDrvLbaSectors: db "Millions of sectors",NULL 367 368 g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL 369 g_szDlgDrvXlateMode: db "Select P-CHS to L-CHS translation method.",NULL 370 g_szDlgDrvWriteCache: db "Select hard drive internal write cache settings.",NULL 371 g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL 372 g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL 373 g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL 374 g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL 375 g_szDlgDrvUserLBA: db "Limit drive capacity?",NULL 376 g_szDlgDrvLbaSectors: db "Enter maximum capacity in millions of sectors (16...256).",NULL 377 378 g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL 379 g_szNfoDrvXlateMode: db "P-CHS to L-CHS translation method.",NULL 380 g_szNfoDrvWriteCache: db "Hard Drive Internal Write Cache settings (WARNING!).",NULL 381 g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL 382 g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL 383 g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL 384 g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL 385 g_szNfoDrvUserLBA: db "Limit drive capacity to fix compatibility problems with Windows 9x.",NULL 386 g_szNfoDrvLbaSectors: db "Millions of sectors (1024*1024). 1M sectors = 512 MiB. Recommended limits are 64 for Windows 95, 128 for Windows 98 and 256 for Windows ME (and 98 with updated fdisk).",NULL 387 388 g_szHelpDrvBlockMode: db "Block Mode will speed up transfers since multiple sectors can be transferred before waiting next data request." 389 db " Normally Block Mode should always be kept enabled but there is at least one" 390 db " drive with buggy Block Mode implementation (Quantum ProDrive LPS 340A).",NULL 391 392 g_szHelpDrvWriteCache: db "Modern Hard Drives have a large amount of internal write cache." 393 db " The cache will speed up writes since the drive can free the bus right after data has been written to cache." 394 db " The drive then starts to write the data from cache to disk by itself." 395 db " This can be dangerous since all unwritten data in cache is lost if power is turned off or the system is reset." 396 db " Modern operating systems will flush the cache when user shuts down the system." 397 db " DOS does not have that sort of protection so it is up to the user to make sure cache is flushed." 398 db " WARNING!!! Write cache should be left disabled.",NULL 399 400 g_szHelpDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them." 401 db " This can be used to limit drive size for old operating systems that do not support large hard disks." 402 db " Some early IDE drives have buggy autodetection so they require CHS to be specified manually." 403 db " Limiting Cylinders will work for all drives but drives may not accept all values for Heads and Sectors per Track.",NULL 404 405 g_szHelpDrvUserLBA: db "Limit drive size to X million sectors for EBIOS functions. This option is useful to" 406 db " prevent large drive compatibility problems with MS-DOS 7.x (Windows 95 and 98).",NULL 407 408 g_szMultichoiseXlateMode: 409 db "NORMAL",LF 410 db "LARGE",LF 411 db "Assisted LBA",LF 412 db "Autodetect",NULL 413 414 g_szValueDrvXlateNormal:db "NORMAL",NULL 415 g_szValueDrvXlateLarge: db "LARGE",NULL 416 g_szValueDrvXlateLBA: db "LBA",NULL 417 g_szValueDrvXlateAuto: db "Auto",NULL 418 419 g_szMultichoiseWrCache: db "Drive Default",LF 420 db "Disable Write Cache",LF 421 db "Enable Write Cache",NULL 422 423 g_szValueDrvWrCaDis: db "Disabled",NULL 424 g_szValueDrvWrCaEn: db "Enabled",NULL 357 g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL 358 g_szItemDrvDisableDetection: db "Disable Detection",NULL 359 g_szItemDrvBlockMode: db "Block Mode Transfers",NULL 360 g_szItemDrvXlateMode: db "CHS translation method",NULL 361 g_szItemDrvWriteCache: db "Internal Write Cache",NULL 362 g_szItemDrvUserCHS: db "User specified CHS",NULL 363 g_szItemDrvCyls: db "Cylinders",NULL 364 g_szItemDrvHeads: db "Heads",NULL 365 g_szItemDrvSect: db "Sectors per track",NULL 366 g_szItemDrvUserLBA: db "User specified LBA",NULL 367 g_szItemDrvLbaSectors: db "Millions of sectors",NULL 368 369 g_szDlgDrvDisableDetection: db "Disable detection of this drive?",NULL 370 g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL 371 g_szDlgDrvXlateMode: db "Select P-CHS to L-CHS translation method.",NULL 372 g_szDlgDrvWriteCache: db "Select hard drive internal write cache settings.",NULL 373 g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL 374 g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL 375 g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL 376 g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL 377 g_szDlgDrvUserLBA: db "Limit drive capacity?",NULL 378 g_szDlgDrvLbaSectors: db "Enter maximum capacity in millions of sectors (16...256).",NULL 379 380 g_szNfoDrvDisableDetection: db "Disable detection of this drive.",NULL 381 g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL 382 g_szNfoDrvXlateMode: db "P-CHS to L-CHS translation method.",NULL 383 g_szNfoDrvWriteCache: db "Hard Drive Internal Write Cache settings (WARNING!).",NULL 384 g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL 385 g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL 386 g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL 387 g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL 388 g_szNfoDrvUserLBA: db "Limit drive capacity to fix compatibility problems with Windows 9x.",NULL 389 g_szNfoDrvLbaSectors: db "Millions of sectors (1024*1024). 1M sectors = 512 MiB. Recommended limits are 64 for Windows 95," 390 db " 128 for Windows 98 and 256 for Windows ME (and 98 with updated fdisk).",NULL 391 392 g_szHelpDrvDisableDetection: db "Disabling slave drive detection will reduce the boot time slightly. This is useful when you know that" 393 db " there will never be a slave drive connected to a particular controller.",NULL 394 395 g_szHelpDrvBlockMode: db "Block Mode will speed up transfers since multiple sectors can be transferred before waiting next data request." 396 db " Normally Block Mode should always be kept enabled but there is at least one" 397 db " drive with buggy Block Mode implementation (Quantum ProDrive LPS 340A).",NULL 398 399 g_szHelpDrvWriteCache: db "Modern Hard Drives have a large amount of internal write cache." 400 db " The cache will speed up writes since the drive can free the bus right after data has been written to cache." 401 db " The drive then starts to write the data from cache to disk by itself." 402 db " This can be dangerous since all unwritten data in cache is lost if power is turned off or the system is reset." 403 db " Modern operating systems will flush the cache when user shuts down the system." 404 db " DOS does not have that sort of protection so it is up to the user to make sure cache is flushed." 405 db " WARNING!!! Write cache should be left disabled.",NULL 406 407 g_szHelpDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them." 408 db " This can be used to limit drive size for old operating systems that do not support large hard disks." 409 db " Some early IDE drives have buggy autodetection so they require CHS to be specified manually." 410 db " Limiting Cylinders will work for all drives but drives may not accept all values for Heads and Sectors per Track.",NULL 411 412 g_szHelpDrvUserLBA: db "Limit drive size to X million sectors for EBIOS functions. This option is useful to" 413 db " prevent large drive compatibility problems with MS-DOS 7.x (Windows 95 and 98).",NULL 414 415 g_szMultichoiceXlateMode: db "NORMAL",LF 416 db "LARGE",LF 417 db "Assisted LBA",LF 418 db "Autodetect",NULL 419 420 g_szValueDrvXlateNormal: db "NORMAL",NULL 421 g_szValueDrvXlateLarge: db "LARGE",NULL 422 g_szValueDrvXlateLBA: db "LBA",NULL 423 g_szValueDrvXlateAuto: db "Auto",NULL 424 425 g_szMultichoiceWrCache: db "Drive Default",LF 426 db "Disable Write Cache",LF 427 db "Enable Write Cache",NULL 428 429 g_szValueDrvWrCaDis: db "Disabled",NULL 430 g_szValueDrvWrCaEn: db "Enabled",NULL 425 431 426 432 427 433 ; Strings for boot settings menu 428 g_szItemBootTimeout: db "Selection timeout",NULL429 g_szItemBootDrive: db "Default boot drive",NULL430 g_szItemBootDispMode: db "Display Mode",NULL431 g_szItemColorTheme: db "Color Theme",NULL432 g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL433 g_szItemSerialDetect: db "Scan for Serial Drives",NULL434 g_szItemClearBdaDriveCount: db "Remove other hard drives",NULL435 436 g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (2...1092).",NULL437 g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks).",NULL438 g_szDlgBootDispMode: db "Select display mode.",NULL439 g_szDlgColorTheme: db "Select color theme.",NULL440 g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives in system.",NULL441 g_szDlgSerialDetect: db "Scan for serial drives?",NULL442 g_szDlgClearBdaDriveCount: db "Remove existing INT 13h hard drives during drive detection?",NULL443 444 g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks. 1 tick = 54.9 ms.",NULL445 g_szNfoBootDrive: db "Default boot drive.",NULL446 g_szNfoDispMode: db "Display mode to set when booting.",NULL447 g_szNfoColorTheme: db "Color theme used by the boot menu and the hotkey bar.",NULL448 g_szNfoBootFloppyDrvs: db "Number of Floppy Drives in system.",NULL449 g_szNfoSerialDetect: db "Scans all standard COM ports for serial drives."450 db " This can also be invoked by holding down ALT at the end of normal drive detection.",NULL451 g_szNfoClearBdaDriveCount: db "Can be used to remove duplicate hard drives.",NULL452 453 g_szHelpBootTimeout: db "Boot Menu selection timeout in BIOS timer ticks (1 second = 18.2 ticks)."454 db " When timer goes to zero, currently selected drive will be booted automatically."455 db " Timeout can be disabled by setting this to 0.",NULL456 g_szHelpBootDrive: db "Drive to be set selected by default when Boot Menu is displayed.",NULL457 g_szHelpColorTheme: db "Pick a theme from a list of several pre-defined themes to customize the colors used by the boot menu and, if"458 db " available, the hotkey bar. Selecting a theme or loading a BIOS, or its settings, from file or from ROM will"459 db " make XTIDECFG apply the theme to itself for easy preview. The ability to preview themes requires that"460 db " XTIDECFG is running in a display mode that can display colors. In other words, you may configure the"461 db " BIOS on a machine with a monochrome graphics adapter and not be able to preview the theme but the BIOS will"462 db " still use the selected theme when installed in a machine with a color graphics adapter.",NULL463 g_szHelpBootFloppyDrvs: db "Detecting the correct number of floppy drives might fail when using a floppy controller with its own BIOS."464 db " A minimum number of floppy drives can be specified to force non-detected drives to appear on boot menu.",NULL465 g_szHelpSerialDetect: db "Set to Yes, at the end of normal drive detection, COM ports 1-7 (in reverse order) will be scanned for a connection"466 db " to a serial drive server. This option provides flexibility with the COM port and baud rate to be used,"467 db " it need not be configured ahead of time, but at the expense of a slower boot process."468 db " Even when this option is set to No, this functionality can still be invoked by holding down the ALT key at the end"469 db " of normal drive detection. Note that if any serial drives are detected during the normal drive detection,"470 db " no scan will take place (to avoid finding the same drive twice).",NULL471 g_szHelpClearBdaDriveCount: db "Set to NO for normal operation. Set to YES to get Windows 9x protected mode drivers to work when"472 db " MODULE_WIN9X_CMOS_HACK is not included (dummy drive needs to be defined in system BIOS setup). This option must"473 db " also be set to YES on computers where the system BIOS does not initialize RAM properly. Zenith models Z-171 and"474 db " Z-161 are known examples of such machines.",NULL434 g_szItemBootTimeout: db "Selection timeout",NULL 435 g_szItemBootDrive: db "Default boot drive",NULL 436 g_szItemBootDispMode: db "Display Mode",NULL 437 g_szItemColorTheme: db "Color Theme",NULL 438 g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL 439 g_szItemSerialDetect: db "Scan for Serial Drives",NULL 440 g_szItemClearBdaDriveCount: db "Remove other hard drives",NULL 441 442 g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (2...1092).",NULL 443 g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks).",NULL 444 g_szDlgBootDispMode: db "Select display mode.",NULL 445 g_szDlgColorTheme: db "Select color theme.",NULL 446 g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives in system.",NULL 447 g_szDlgSerialDetect: db "Scan for serial drives?",NULL 448 g_szDlgClearBdaDriveCount: db "Remove existing INT 13h hard drives during drive detection?",NULL 449 450 g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks. 1 tick = 54.9 ms.",NULL 451 g_szNfoBootDrive: db "Default boot drive.",NULL 452 g_szNfoDispMode: db "Display mode to set when booting.",NULL 453 g_szNfoColorTheme: db "Color theme used by the boot menu and the hotkey bar.",NULL 454 g_szNfoBootFloppyDrvs: db "Number of Floppy Drives in system.",NULL 455 g_szNfoSerialDetect: db "Scans all standard COM ports for serial drives." 456 db " This can also be invoked by holding down ALT at the end of normal drive detection.",NULL 457 g_szNfoClearBdaDriveCount: db "Can be used to remove duplicate hard drives.",NULL 458 459 g_szHelpBootTimeout: db "Boot Menu selection timeout in BIOS timer ticks (1 second = 18.2 ticks)." 460 db " When timer goes to zero, currently selected drive will be booted automatically." 461 db " Timeout can be disabled by setting this to 0.",NULL 462 g_szHelpBootDrive: db "Drive to be set selected by default when Boot Menu is displayed.",NULL 463 g_szHelpColorTheme: db "Pick a theme from a list of several pre-defined themes to customize the colors used by the boot menu and, if" 464 db " available, the hotkey bar. Selecting a theme or loading a BIOS, or its settings, from file or from ROM will" 465 db " make XTIDECFG apply the theme to itself for easy preview. The ability to preview themes requires that" 466 db " XTIDECFG is running in a display mode that can display colors. In other words, you may configure the" 467 db " BIOS on a machine with a monochrome graphics adapter and not be able to preview the theme but the BIOS will" 468 db " still use the selected theme when installed in a machine with a color graphics adapter.",NULL 469 g_szHelpBootFloppyDrvs: db "Detecting the correct number of floppy drives might fail when using a floppy controller with its own BIOS." 470 db " A minimum number of floppy drives can be specified to force non-detected drives to appear on boot menu.",NULL 471 g_szHelpSerialDetect: db "Set to Yes, at the end of normal drive detection, COM ports 1-7 (in reverse order) will be scanned for a connection" 472 db " to a serial drive server. This option provides flexibility with the COM port and baud rate to be used," 473 db " it need not be configured ahead of time, but at the expense of a slower boot process." 474 db " Even when this option is set to No, this functionality can still be invoked by holding down the ALT key at the end" 475 db " of normal drive detection. Note that if any serial drives are detected during the normal drive detection," 476 db " no scan will take place (to avoid finding the same drive twice).",NULL 477 g_szHelpClearBdaDriveCount: db "Set to NO for normal operation. Set to YES to get Windows 9x protected mode drivers to work when" 478 db " MODULE_WIN9X_CMOS_HACK is not included (dummy drive needs to be defined in system BIOS setup). This option must" 479 db " also be set to YES on computers where the system BIOS does not initialize RAM properly. Zenith models Z-171 and" 480 db " Z-161 are known examples of such machines.",NULL 475 481 476 482 g_szMultichoiceBootDispMode: db "Default",LF … … 513 519 514 520 ; Strings for Flash menu 515 g_szItemFlashStart: db "Start flashing",NULL 516 g_szItemFlashEepromType:db "EEPROM type",NULL 517 g_szItemFlashSDP: db "SDP command",NULL 518 g_szItemFlashAddr: db "EEPROM address",NULL 519 g_szItemFlashPageSize: db "Page size",NULL 520 g_szItemFlashChecksum: db "Generate checksum byte",NULL 521 522 g_szDlgFlashEepromType: db "Select EEPROM type.",NULL 523 g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL 524 g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL 525 g_szDlgFlashPageSize: db "Select write page size.",NULL 526 g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL 527 528 g_szNfoFlashEepromType: db "EEPROM type.",NULL 529 g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL 530 g_szNfoFlashSDP: db "Software Data Protection command.",NULL 531 g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL 532 g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL 533 g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL 534 535 g_szHelpFlashSDP: db "Software Data Protection Command:",LF 536 db "None = Do not use Software Data Protection. Meant for EEPROMs that do not support SDP.",LF,LF 537 db "Enable = Write protects the EEPROM after flashing." 538 db " Software Data Protection should always be enabled if EEPROM supports it.",LF,LF 539 db "Disable = Disables Software Data Protection after flashing.",NULL 540 541 g_szHelpFlashPageSize: db "Larger page size will improve write performance but not all EEPROMs support large pages or page writing at all." 542 db " Byte writing mode will be used when page size is set to 1. Byte writing mode is supported by all EEPROMs." 543 db " Large pages cannot be flashed with slow CPUs.",NULL 544 545 g_szHelpFlashChecksum: db "PC BIOSes require a checksum byte at the end of expansion card BIOS ROMs." 546 db " You might not want to generate checksum byte when flashing some other images than XTIDE Universal BIOS.",NULL 547 548 g_szMultichoiceEepromType: 549 db "2816 (2 kiB)",LF 550 db "2864 (8 kiB)",LF 551 db "2864 mod (8 kiB)",LF 552 db "28256 (32 kiB)",LF 553 db "28512 (64 kiB)",NULL 554 g_szValueFlash2816: db "2816",NULL 555 g_szValueFlash2864: db "2864",NULL 556 g_szValueFlash2864Mod: db "2864mod",NULL 557 g_szValueFlash28256: db "28256",NULL 558 g_szValueFlash28512: db "28512",NULL 559 560 g_szMultichoiceSdpCommand: 561 db "None",LF 562 db "Enable",LF 563 g_szValueFlashDisable: db "Disable",NULL 564 g_szValueFlashEnable: db "Enable",NULL 565 g_szValueFlashNone: db "None",NULL 566 567 g_szMultichoicePageSize: 568 db "1 byte",LF 569 db "2 bytes",LF 570 db "4 bytes",LF 571 db "8 bytes",LF 572 db "16 bytes",LF 573 db "32 bytes",LF 574 g_szValueFlash64bytes: db "64 bytes",NULL 575 g_szValueFlash32bytes: db "32 bytes",NULL 576 g_szValueFlash16bytes: db "16 bytes",NULL 577 g_szValueFlash8bytes: db "8 bytes",NULL 578 g_szValueFlash4bytes: db "4 bytes",NULL 579 g_szValueFlash2bytes: db "2 bytes",NULL 580 g_szValueFlash1byte: db "1 byte",NULL 581 582 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL 583 g_szDashForZero: db "- ",NULL 584 g_szValueUnknownError: db "Error!",NULL 585 521 g_szItemFlashStart: db "Start flashing",NULL 522 g_szItemFlashEepromType: db "EEPROM type",NULL 523 g_szItemFlashSDP: db "SDP command",NULL 524 g_szItemFlashAddr: db "EEPROM address",NULL 525 g_szItemFlashPageSize: db "Page size",NULL 526 g_szItemFlashChecksum: db "Generate checksum byte",NULL 527 528 g_szDlgFlashEepromType: db "Select EEPROM type.",NULL 529 g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL 530 g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL 531 g_szDlgFlashPageSize: db "Select write page size.",NULL 532 g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL 533 534 g_szNfoFlashEepromType: db "EEPROM type.",NULL 535 g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL 536 g_szNfoFlashSDP: db "Software Data Protection command.",NULL 537 g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL 538 g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL 539 g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL 540 541 g_szHelpFlashSDP: db "Software Data Protection Command:",LF 542 db "None = Do not use Software Data Protection. Meant for EEPROMs that do not support SDP.",LF,LF 543 db "Enable = Write protects the EEPROM after flashing." 544 db " Software Data Protection should always be enabled if EEPROM supports it.",LF,LF 545 db "Disable = Disables Software Data Protection after flashing.",NULL 546 547 g_szHelpFlashPageSize: db "Larger page size will improve write performance but not all EEPROMs support large pages or page writing at all." 548 db " Byte writing mode will be used when page size is set to 1. Byte writing mode is supported by all EEPROMs." 549 db " Large pages cannot be flashed with slow CPUs.",NULL 550 551 g_szHelpFlashChecksum: db "PC BIOSes require a checksum byte at the end of expansion card BIOS ROMs." 552 db " You might not want to generate checksum byte when flashing some other images than XTIDE Universal BIOS.",NULL 553 554 g_szMultichoiceEepromType: db "2816 (2 kiB)",LF 555 db "2864 (8 kiB)",LF 556 db "2864 mod (8 kiB)",LF 557 db "28256 (32 kiB)",LF 558 db "28512 (64 kiB)",NULL 559 g_szValueFlash2816: db "2816",NULL 560 g_szValueFlash2864: db "2864",NULL 561 g_szValueFlash2864Mod: db "2864mod",NULL 562 g_szValueFlash28256: db "28256",NULL 563 g_szValueFlash28512: db "28512",NULL 564 565 g_szMultichoiceSdpCommand: db "None",LF 566 db "Enable",LF 567 g_szValueFlashDisable: db "Disable",NULL 568 g_szValueFlashEnable: db "Enable",NULL 569 g_szValueFlashNone: db "None",NULL 570 571 g_szMultichoicePageSize: db "1 byte",LF 572 db "2 bytes",LF 573 db "4 bytes",LF 574 db "8 bytes",LF 575 db "16 bytes",LF 576 db "32 bytes",LF 577 g_szValueFlash64bytes: db "64 bytes",NULL 578 g_szValueFlash32bytes: db "32 bytes",NULL 579 g_szValueFlash16bytes: db "16 bytes",NULL 580 g_szValueFlash8bytes: db "8 bytes",NULL 581 g_szValueFlash4bytes: db "4 bytes",NULL 582 g_szValueFlash2bytes: db "2 bytes",NULL 583 g_szValueFlash1byte: db "1 byte",NULL 584 585 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL 586 g_szDashForZero: db "- ",NULL 587 g_szValueUnknownError: db "Error!",NULL 588
Note:
See TracChangeset
for help on using the changeset viewer.