source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm@ 374

Last change on this file since 374 was 371, checked in by gregli@…, 13 years ago

Small changes. 1) Changes biosdrvs.com to output CR+LF instead of LF+CR, consistent with DOS/Windows, but I did not update the Assembly Library as this would break the Configurator; 2) Put a C/C++ section in Version.inc for the serial server; 3) Configurator defaults the EEPROM address after scanning for a EEPROM in memory (as it does for loading the BIOS from ROM); 4) Added a command to the Configurator main menu to save chages to the file from which it was loaded (if it was loaded form a file), which is symmetric with the Load command and more discoverable than exiting DOS and then being prompted (which is still there too, if changes are unsaved).

File size: 17.0 KB
Line 
1; Project name : XTIDE Universal BIOS Configurator v2
2; Description : All strings.
3
4; Section containing initialized data
5SECTION .data
6
7; Menu title
8g_szProgramTitle:
9 db "Configuration and Flashing program for XTIDE Universal BIOS v2.0.0.",LF,CR,NULL
10g_szXtideUniversalBiosSignature: db "XTIDE200",NULL
11g_szBiosIsNotLoaded: db "BIOS is not loaded!",NULL
12g_szEEPROM: db "EEPROM",NULL
13g_szSourceAndTypeSeparator: db " : ",NULL
14g_szUnidentified: db "Unidentified",NULL
15g_szUnsaved: db " ",SINGLE_LEFT_HORIZONTAL_TO_VERTICAL,
16 db "Unsaved",SINGLE_RIGHT_HORIZONTAL_TO_VERTICAL,NULL
17
18; Item formatting
19g_szFormatItemWithoutValue: db "%c%s",NULL
20g_szFormatItemNameWithValue: db "%25s%-10S",NULL
21
22
23g_szNo: db "No",NULL
24g_szMultichoiceBooleanFlag:
25 db "No",LF
26g_szYes: db "Yes",NULL
27
28; Exit messages
29g_szDlgExitToDos: db "Exit to DOS?",NULL
30g_szDlgSaveChanges: db "Do you want to save changes to XTIDE Universal BIOS image file?",NULL
31
32
33; Generic dialog strings
34g_szNotificationDialog: db "Notification.",NULL
35g_szErrorDialog: db "Error!",NULL
36g_szGenericDialogInfo: db "Press ENTER or ESC to close dialog.",NULL
37
38; Flashing related strings
39g_szFlashTitle: db "Flashing EEPROM, please wait.",NULL
40g_szErrEepromTooSmall: db "Image is too large for selected EEPROM type!",NULL
41g_szErrEepromPolling: db "Timeout when polling EEPROM.",LF
42 db "EEPROM was not flashed properly!",NULL
43g_szErrEepromVerify: db "EEPROM did not return the same byte that was written.",LF
44 db "EEPROM was not flashed properly!",NULL
45g_szPCFlashSuccessful: db "EEPROM was written successfully.",LF
46 db "Press any key to reboot.",NULL
47g_szForeignFlash: db "EEPROM was written successfully.",NULL
48
49
50; Strings for main menu
51g_szItemMainExitToDOS: db "Exit to DOS",NULL
52g_szItemMainLoadFile: db "Load BIOS from file",NULL
53g_szItemMainLoadROM: db "Load BIOS from EEPROM",NULL
54g_szItemMainLoadStngs: db "Load old settings from EEPROM",NULL
55g_szItemMainConfigure: db "Configure XTIDE Universal BIOS",NULL
56g_szItemMainFlash: db "Flash EEPROM",NULL
57g_szItemMainSave: db "Save BIOS back to original file",NULL
58g_szItemMainLicense: db "Copyright and License Information",NULL
59g_szItemMainHomePage: db "Web Links",NULL
60
61g_szDlgMainLoadROM: db "Successfully loaded XTIDE Universal BIOS from EEPROM.",NULL
62g_szDlgMainLoadStngs: db "Successfully loaded settings from EEPROM.",NULL
63g_szDlgMainLoadFile: db "Successfully loaded file for flashing.",NULL
64g_szDlgMainSaveFile: db "Successfully saved XTIDE Universal BIOS to file.",NULL
65g_szDlgMainFileTooBig: db "Selected file is too big to be loaded for flashing!",NULL
66g_szDlgMainLoadErr: db "Failed to load file!",NULL
67g_szDlgMainSaveErr: db "Failed to save file!",NULL
68g_szDlgFileTitle: db "Select file to be flashed.",NULL
69g_szDlgFileFilter: db "*.*",NULL
70
71g_szNfoMainExitToDOS: db "Quits XTIDE Universal BIOS Configurator.",NULL
72g_szNfoMainLoadFile: db "Load BIOS file to be configured or flashed.",NULL
73g_szNfoMainLoadROM: db "Load BIOS from EEPROM to be reconfigured.",NULL
74g_szNfoMainLoadStngs: db "Load old XTIDE Universal BIOS settings from EEPROM.",NULL
75g_szNfoMainConfigure: db "Configure XTIDE Universal BIOS settings.",NULL
76g_szNfoMainFlash: db "Flash loaded BIOS image to EEPROM.",NULL
77g_szNfoMainSave: db "Save BIOS changes back to original file from which it was loaded.",NULL
78g_szNfoMainLicense: db "XTIDE Universal BIOS and XTIDECFG Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. Released under GNU GPL v2, with ABSOLUTELY NO WARRANTY. Press ENTER for more details...",NULL
79g_szNfoMainHomePage: db "Visit http://code.google.com/p/ xtideuniversalbios (home page) and http://vintage-computer.com/ vcforum (support)",NULL
80
81g_szHelpMainLicense: incbin "Main_License.txt"
82 db NULL
83
84; Strings for XTIDE Universal BIOS configuration menu
85g_szItemCfgBackToMain: db "Back to Main Menu",NULL
86g_szItemCfgIde1: db "Primary IDE Controller",NULL
87g_szItemCfgIde2: db "Secondary IDE Controller",NULL
88g_szItemCfgIde3: db "Tertiary IDE Controller",NULL
89g_szItemCfgIde4: db "Quaternary IDE Controller",NULL
90g_szItemCfgBootMenu: db "Boot settings",NULL
91g_szItemCfgFullMode: db "Full operating mode",NULL
92g_szItemCfgStealSize: db "kiB to steal from RAM",NULL
93g_szItemCfgIdeCnt: db "IDE controllers",NULL
94
95g_szDlgCfgFullMode: db "Enable full operating mode?",NULL
96g_szDlgCfgStealSize: db "How many kiB of base memory to steal for XTIDE Universal BIOS variables (1...255)?",NULL
97g_szDlgCfgIdeCnt: db "How many IDE controllers to manage (1...4)?",NULL
98
99g_szNfoCfgIde: db "IDE controller and drive configuration.",NULL
100g_szNfoCfgBootMenu: db "Boot configuration.",NULL
101g_szNfoCfgFullMode: db "Full mode supports multiple controllers and has more features.",NULL
102g_szNfoCfgStealSize: db "How many kiB's to steal from Conventional memory for XTIDE Universal BIOS variables.",NULL
103g_szNfoCfgIdeCnt: db "Number of IDE controllers to manage.",NULL
104
105g_szSerialMoved: db "A Serial Controller has been moved to the end of the Controller list. No further action is required. Serial Controllers must be placed at the end of the list.",NULL
106
107g_szHelpCfgFullMode: incbin "Configuration_FullMode.txt"
108 db NULL
109g_szHelpCfgStealSize: incbin "Configuration_StealSize.txt"
110 db NULL
111
112; Strings for IDE Controller menu
113g_szItemBackToCfgMenu: db "Back to Configuration Menu",NULL
114g_szItemIdeMaster: db "Master Drive",NULL
115g_szItemIdeSlave: db "Slave Drive",NULL
116g_szItemIdeDevice: db "Device type",NULL
117g_szItemIdeCmdPort: db "Base (cmd block) address",NULL
118g_szItemIdeCtrlPort: db "Control block address",NULL
119g_szItemIdeEnIRQ: db "Enable interrupt",NULL
120g_szItemIdeIRQ: db "IRQ",NULL
121g_szItemSerialCOM: db "COM Port",NULL
122g_szItemSerialBaud: db "Baud Rate",NULL
123g_szItemSerialPort: db "COM Port I/O address",NULL
124
125g_szItemIdeSerialComPort: db "COM port",NULL
126g_szItemIdeSerialBaudRate: db "Baud rate",NULL
127
128g_szDlgDevice: db "Select controller type.",NULL
129g_szDlgIdeCmdPort: db "Enter IDE command block (base port) address.",NULL
130g_szDlgIdeCtrlPort: db "Enter IDE control block address (usually command block + 200h).",NULL
131g_szDlgIdeEnIRQ: db "Enable interrupt?",NULL
132g_szDlgIdeIRQ: db "Enter IRQ channel (2...7 for 8-bit controllers, 2...15 for any other controller).",NULL
133
134g_szNfoIdeBackToCfgMenu:db "Back to XTIDE Universal BIOS Configuration Menu.",NULL
135g_szNfoIdeMaster: db "Settings for Master Drive.",NULL
136g_szNfoIdeSlave: db "Settings for Slave Drive.",NULL
137g_szNfoIdeDevice: db "Select controller device type.",NULL
138g_szNfoIdeCmdPort: db "IDE Controller Command Block (base port) address.",NULL
139g_szNfoIdeCtrlPort: db "IDE Controller Control Block address. Usually Cmd Block + 8 for XTIDE, and Cmd Block + 200h for ATA.",NULL
140g_szNfoIdeEnIRQ: db "Interrupt or polling mode.",NULL
141g_szNfoIdeIRQ: db "IRQ channel to use.",NULL
142g_szNfoIdeSerialCOM: db "Select a COM port by number.",NULL
143g_szNfoIdeSerialBaud: db "Select the COM port's Baud Rate. The server must match this speed. Note that UART clock multipliers may impact the actual speed.",NULL
144g_szNfoIdeSerialPort: db "Select a COM port by custom I/O port address. Any address is valid up to 3f8h, but must be on an 8-byte boundary.",NULL
145
146g_szHelpIdeCmdPort: incbin "IDE_CommandPort.txt"
147 db NULL
148g_szHelpIdeCtrlPort: incbin "IDE_ControlPort.txt"
149 db NULL
150g_szHelpIdeEnIRQ: incbin "IDE_EnableInterrupt.txt"
151 db NULL
152g_szHelpIdeIRQ: incbin "IDE_IRQ.txt"
153 db NULL
154g_szHelpIdeSerialCOM: incbin "IDE_SerialCOM.txt"
155 db NULL
156g_szHelpIdeSerialPort: incbin "IDE_SerialPort.txt"
157 db NULL
158g_szHelpIdeSerialBaud: incbin "IDE_SerialBaud.txt"
159 db NULL
160
161g_szMultichoiceCfgDevice:
162 db "XTIDE rev 1",LF
163 db "XTIDE rev 2 or modded rev 1",LF
164 db "Fast XTIDE (CPLD v2 project)",LF
165 db "16-bit ISA/VLB/PCI IDE",LF
166 db "32-bit VLB/PCI IDE",LF
167 db "Serial port virtual device",LF
168 db "JR-IDE/ISA",NULL
169
170g_szSerialCOMChoice:
171 db "COM1 - address 3f8h",LF
172 db "COM2 - address 2f8h",LF
173 db "COM3 - address 3e8h",LF
174 db "COM4 - address 2e8h",LF
175 db "COM5 - address 2f0h",LF
176 db "COM6 - address 3e0h",LF
177 db "COM7 - address 2e0h",LF
178 db "COM8 - address 260h",LF
179 db "COM9 - address 368h",LF
180 db "COMA - address 268h",LF
181 db "COMB - address 360h",LF
182 db "COMC - address 270h",LF
183 db "COMx - Custom address",NULL
184
185g_szValueCfgCOM1: db "COM1",NULL
186g_szValueCfgCOM2: db "COM2",NULL
187g_szValueCfgCOM3: db "COM3",NULL
188g_szValueCfgCOM4: db "COM4",NULL
189g_szValueCfgCOM5: db "COM5",NULL
190g_szValueCfgCOM6: db "COM6",NULL
191g_szValueCfgCOM7: db "COM7",NULL
192g_szValueCfgCOM8: db "COM8",NULL
193g_szValueCfgCOM9: db "COM9",NULL
194g_szValueCfgCOMA: db "COMA",NULL
195g_szValueCfgCOMB: db "COMB",NULL
196g_szValueCfgCOMC: db "COMC",NULL
197g_szValueCfgCOMx: db "Custom",NULL
198
199g_szSerialBaudChoice:
200 db "115.2K baud",LF
201 db "57.6K baud",LF
202 db "38.4K baud",LF
203 db "28.8K baud",LF
204 db "19.2K baud",LF
205 db "9600 baud",LF
206 db "4800 baud",LF
207 db "2400 baud",NULL
208
209g_szValueCfgBaud115_2: db "115.2K",NULL
210g_szValueCfgBaud57_6: db "57.6K",NULL
211g_szValueCfgBaud38_4: db "38.4K",NULL
212g_szValueCfgBaud28_8: db "28.8K",NULL
213g_szValueCfgBaud19_2: db "19.2K",NULL
214g_szValueCfgBaud9600: db "9600",NULL
215g_szValueCfgBaud4800: db "4800",NULL
216g_szValueCfgBaud2400: db "2400",NULL
217
218
219g_szValueCfgDeviceRev1: db "XTIDE r1",NULL
220g_szValueCfgDeviceRev2: db "XTIDE r2",NULL
221g_szValueCfgDeviceFast: db "Fast XT",NULL
222g_szValueCfgDevice16b: db "16-bit",NULL
223g_szValueCfgDevice32b: db "32-bit",NULL
224g_szValueCfgDeviceSerial: db "Serial",NULL
225g_szValueCfgDeviceJrIdeIsa: db "JR-ISA",NULL
226
227
228; Strings for DRVPARAMS menu
229g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL
230g_szItemDrvBlockMode: db "Block Mode Transfers",NULL
231g_szItemDrvWriteCache: db "Internal Write Cache",NULL
232g_szItemDrvUserCHS: db "User specified CHS",NULL
233g_szItemDrvCyls: db "Cylinders",NULL
234g_szItemDrvHeads: db "Heads",NULL
235g_szItemDrvSect: db "Sectors per track",NULL
236g_szItemDrvUserLBA: db "User specified LBA",NULL
237g_szItemDrvLbaSectors: db "Millions of sectors",NULL
238
239g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL
240g_szDlgDrvWriteCache: db "Select hard drive internal write cache settings.",NULL
241g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL
242g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL
243g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL
244g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL
245g_szDlgDrvUserLBA: db "Limit drive capacity?",NULL
246g_szDlgDrvLbaSectors: db "Enter maximum capacity in millions of sectors (1...256).",NULL
247
248g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL
249g_szNfoDrvWriteCache: db "Hard Drive Internal Write Cache settings (WARNING!).",NULL
250g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL
251g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL
252g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL
253g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL
254g_szNfoDrvUserLBA: db "Limit drive capacity to X million sectors.",NULL
255g_szNfoDrvLbaSectors: db "Millions of sectors (1024*1024). 1M sectors = 512 MiB.",NULL
256
257g_szHelpDrvBlockMode: incbin "Drive_BlockMode.txt"
258 db NULL
259g_szHelpDrvWriteCache: incbin "Drive_WriteCache.txt"
260 db NULL
261g_szHelpDrvUserCHS: incbin "Drive_UserCHS.txt"
262 db NULL
263g_szHelpDrvUserLBA: incbin "Drive_UserLBA.txt"
264 db NULL
265
266g_szMultichoiseWrCache: db "Drive Default",LF
267 db "Disable Write Cache",LF
268 db "Enable Write Cache",NULL
269
270g_szValueDrvWrCaDis: db "Disabled",NULL
271g_szValueDrvWrCaEn: db "Enabled",NULL
272
273
274; Strings for boot settings menu
275g_szItemBootEnableMenu: db "Boot Menu",NULL
276g_szItemBootTimeout: db "Selection timeout",NULL
277g_szItemBootDrive: db "Default boot drive",NULL
278g_szItemBootDispMode: db "Display Mode",NULL
279g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL
280g_szItemBootSwap: db "Swap boot drive numbers",NULL
281g_szItemSerialDetect: db "Scan for Serial Drives",NULL
282
283g_szDlgBootEnableMenu: db "Enable Boot Menu?",NULL
284g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (2...1092).",NULL
285g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks, FFh for ROM boot).",NULL
286g_szDlgBootDispMode: db "Select display mode for Boot Menu.",NULL
287g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives to display on boot menu.",NULL
288g_szDlgBootSwap: db "Enable drive number translation?",NULL
289g_szDlgSerialDetect: db "Scan for serial drives?",NULL
290
291g_szNfoBootEnableMenu: db "Enable to display boot drive selection menu.",NULL
292g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks. 1 tick = 54.9 ms.",NULL
293g_szNfoBootDrive: db "Default drive on boot menu.",NULL
294g_szNfoDispMode: db "Display Mode for Boot Menu.",NULL
295g_szNfoBootFloppyDrvs: db "Number of Floppy Drives to display on boot menu.",NULL
296g_szNfoBootSwap: db "Drive Number Translation (swap first drive with selected).",NULL
297g_szNfoSerialDetect: db "Scans all standard COM ports for serial drives. This can also be invoked by holding down ALT at the end of normal drive detection.",NULL
298
299g_szHelpBootTimeout: incbin "Bootmenu_Timeout.txt"
300 db NULL
301g_szHelpBootDrive: incbin "Bootmenu_DefaultDrive.txt"
302 db NULL
303g_szHelpBootFloppyDrvs: incbin "Bootmenu_FloppyDrives.txt"
304 db NULL
305g_szHelpBootSwap: incbin "Bootmenu_SwapDrives.txt"
306 db NULL
307g_szHelpSerialDetect: incbin "Bootmenu_SerialDetect.txt"
308 db NULL
309
310g_szMultichoiceBootDispMode:
311 db "Default",LF
312 db "40x25 Black & White",LF
313 db "40x25 Color",LF
314 db "80x25 Black & White",LF
315 db "80x25 Color",LF
316 db "80x25 Monochrome",NULL
317
318g_szMultichoiceBootFloppyDrvs:
319 db "Autodetect",LF
320 db "1",LF
321 db "2",LF
322 db "3",LF
323 db "4",NULL
324
325g_szValueBootDispModeDefault: db "Default",NULL
326g_szValueBootDispModeBW40: db "BW40",NULL
327g_szValueBootDispModeCO40: db "CO40",NULL
328g_szValueBootDispModeBW80: db "BW80",NULL
329g_szValueBootDispModeCO80: db "CO80",NULL
330g_szValueBootDispModeMono: db "Mono",NULL
331
332g_szValueBootFloppyDrvsAuto: db "Auto",NULL
333g_szValueBootFloppyDrvs1: db "1",NULL
334g_szValueBootFloppyDrvs2: db "2",NULL
335g_szValueBootFloppyDrvs3: db "3",NULL
336g_szValueBootFloppyDrvs4: db "4",NULL
337
338
339; Strings for Flash menu
340g_szItemFlashStart: db "Start flashing",NULL
341g_szItemFlashEepromType:db "EEPROM type",NULL
342g_szItemFlashSDP: db "SDP command",NULL
343g_szItemFlashAddr: db "EEPROM address",NULL
344g_szItemFlashPageSize: db "Page size",NULL
345g_szItemFlashChecksum: db "Generate checksum byte",NULL
346
347g_szDlgFlashEepromType: db "Select EEPROM type.",NULL
348g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL
349g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL
350g_szDlgFlashPageSize: db "Select write page size.",NULL
351g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL
352
353g_szNfoFlashEepromType: db "EEPROM type.",NULL
354g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL
355g_szNfoFlashSDP: db "Software Data Protection command.",NULL
356g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL
357g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL
358g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL
359
360g_szHelpFlashSDP: incbin "Flash_SdpCommand.txt"
361 db NULL
362g_szHelpFlashPageSize: incbin "Flash_PageSize.txt"
363 db NULL
364g_szHelpFlashChecksum: incbin "Flash_Checksum.txt"
365 db NULL
366
367g_szMultichoiceEepromType:
368 db "2816 (2 kiB)",LF
369 db "2864 (8 kiB)",LF
370 db "2864 mod (8 kiB)",LF
371 db "28256 (32 kiB)",LF
372 db "28512 (64 kiB)",NULL
373g_szValueFlash2816: db "2816",NULL
374g_szValueFlash2864: db "2864",NULL
375g_szValueFlash2864Mod: db "2864mod",NULL
376g_szValueFlash28256: db "28256",NULL
377g_szValueFlash28512: db "28512",NULL
378
379g_szMultichoiceSdpCommand:
380 db "None",LF
381 db "Enable",LF
382g_szValueFlashDisable: db "Disable",NULL
383g_szValueFlashNone: db "None",NULL
384g_szValueFlashEnable: db "Enable",NULL
385
386g_szMultichoicePageSize:
387 db "1 byte",LF
388 db "2 bytes",LF
389 db "4 bytes",LF
390 db "8 bytes",LF
391 db "16 bytes",LF
392 db "32 bytes",LF
393g_szValueFlash64bytes: db "64 bytes",NULL
394g_szValueFlash1byte: db "1 byte",NULL
395g_szValueFlash2bytes: db "2 bytes",NULL
396g_szValueFlash4bytes: db "4 bytes",NULL
397g_szValueFlash8bytes: db "8 bytes",NULL
398g_szValueFlash16bytes: db "16 bytes",NULL
399g_szValueFlash32bytes: db "32 bytes",NULL
400
401g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
402
403g_szDashForZero: db "- ",NULL
404
405g_szValueUnknownError: db "Error!",NULL
406
Note: See TracBrowser for help on using the repository browser.