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

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

Reworked the 'skip detecting the slave if there was no master' code to be more complete (includes configurator drives) and to take into account int13h/25h calls. Some of the changes in my last checkin have been rolled back as a result (they are no longer needed). I did take a byte out of RAMVARS, but there was an alignment byte available for the taking. I also added a perl script for padding and adding the checksum byte to a binary image, which can be invoked manually or with 'make checksum'.

File size: 14.6 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 v1.2.0.",LF,CR,NULL
10g_szXtideUniversalBiosSignature: db "XTIDE120",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_szYes: db "Yes",NULL
25g_szMultichoiceBooleanFlag:
26 db "No",LF
27 db "Yes",NULL
28
29; Exit messages
30g_szDlgExitToDos: db "Exit to DOS?",NULL
31g_szDlgSaveChanges: db "Do you want to save changes to XTIDE Universal BIOS image file?",NULL
32
33
34; Generic dialog strings
35g_szNotificationDialog: db "Notification.",NULL
36g_szErrorDialog: db "Error!",NULL
37g_szGenericDialogInfo: db "Press ENTER or ESC to close dialog.",NULL
38
39; Flashing related strings
40g_szFlashTitle: db "Flashing EEPROM, please wait.",NULL
41g_szErrEepromTooSmall: db "Image is too large for selected EEPROM type!",NULL
42g_szErrEepromPolling: db "Timeout when polling EEPROM.",LF
43 db "EEPROM was not flashed properly!",NULL
44g_szErrEepromVerify: db "EEPROM did not return the same byte that was written.",LF
45 db "EEPROM was not flashed properly!",NULL
46g_szPCFlashSuccessfull: db "EEPROM was written successfully.",LF
47 db "Press any key to reboot.",NULL
48g_szForeignFlash: db "EEPROM was written successfully.",NULL
49
50
51; Strings for main menu
52g_szItemMainExitToDOS: db "Exit to DOS",NULL
53g_szItemMainLoadFile: db "Load BIOS from file",NULL
54g_szItemMainLoadROM: db "Load BIOS from EEPROM",NULL
55g_szItemMainLoadStngs: db "Load old settings from EEPROM",NULL
56g_szItemMainConfigure: db "Configure XTIDE Universal BIOS",NULL
57g_szItemMainFlash: db "Flash EEPROM",NULL
58
59g_szDlgMainLoadROM: db "Successfully loaded XTIDE Universal BIOS from EEPROM.",NULL
60g_szDlgMainLoadStngs: db "Successfully loaded settings from EEPROM.",NULL
61g_szDlgMainLoadFile: db "Successfully loaded file for flashing.",NULL
62g_szDlgMainSaveFile: db "Successfully saved XTIDE Universal BIOS to file.",NULL
63g_szDlgMainFileTooBig: db "Selected file is too big to be loaded for flashing!",NULL
64g_szDlgMainLoadErr: db "Failed to load file!",NULL
65g_szDlgMainSaveErr: db "Failed to save file!",NULL
66g_szDlgFileTitle: db "Select file to be flashed.",NULL
67g_szDlgFileFilter: db "*.*",NULL
68
69
70g_szNfoMainExitToDOS: db "Quits XTIDE Universal BIOS Configurator.",NULL
71g_szNfoMainLoadFile: db "Load BIOS file to be configured or flashed.",NULL
72g_szNfoMainLoadROM: db "Load BIOS from EEPROM to be reconfigured.",NULL
73g_szNfoMainLoadStngs: db "Load old XTIDE Universal BIOS settings from EEPROM.",NULL
74g_szNfoMainConfigure: db "Configure XTIDE Universal BIOS settings.",NULL
75g_szNfoMainFlash: db "Flash loaded BIOS image to EEPROM.",NULL
76
77
78; Strings for XTIDE Universal BIOS configuration menu
79g_szItemCfgBackToMain: db "Back to Main Menu",NULL
80g_szItemCfgIde1: db "Primary IDE Controller",NULL
81g_szItemCfgIde2: db "Secondary IDE Controller",NULL
82g_szItemCfgIde3: db "Tertiary IDE Controller",NULL
83g_szItemCfgIde4: db "Quaternary IDE Controller",NULL
84g_szItemCfgBootMenu: db "Boot menu settings",NULL
85g_szItemCfgFullMode: db "Full operating mode",NULL
86g_szItemCfgStealSize: db "kiB to steal from RAM",NULL
87g_szItemCfgIdeCnt: db "IDE controllers",NULL
88
89g_szDlgCfgFullMode: db "Enable full operating mode?",NULL
90g_szDlgCfgStealSize: db "How many kiB of base memory to steal for XTIDE Universal BIOS variables (1...255)?",NULL
91g_szDlgCfgIdeCnt: db "How many IDE controllers to manage (1...4)?",NULL
92
93g_szNfoCfgIde: db "IDE controller and drive configuration.",NULL
94g_szNfoCfgBootMenu: db "Boot menu configuration.",NULL
95g_szNfoCfgFullMode: db "Full mode supports multiple controllers and has more features.",NULL
96g_szNfoCfgStealSize: db "How many kiB's to steal from Conventional memory for XTIDE Universal BIOS variables.",NULL
97g_szNfoCfgIdeCnt: db "Number of IDE controllers to manage.",NULL
98
99g_szHelpCfgFullMode: incbin "Configuration_FullMode.txt"
100 db NULL
101g_szHelpCfgStealSize: incbin "Configuration_StealSize.txt"
102 db NULL
103
104
105; Strings for IDE Controller menu
106g_szItemBackToCfgMenu: db "Back to Configuration Menu",NULL
107g_szItemIdeMaster: db "Master Drive",NULL
108g_szItemIdeSlave: db "Slave Drive",NULL
109g_szItemIdeDevice: db "Device type",NULL
110g_szItemIdeCmdPort: db "Base (cmd block) address",NULL
111g_szItemIdeCtrlPort: db "Control block address",NULL
112g_szItemIdeEnIRQ: db "Enable interrupt",NULL
113g_szItemIdeIRQ: db "IRQ",NULL
114g_szItemSerialCOM: db "COM Port",NULL
115g_szItemSerialBaud: db "Baud Rate",NULL
116g_szItemSerialPort: db "COM Port I/O address",NULL
117
118g_szItemIdeSerialComPort: db "COM port",NULL
119g_szItemIdeSerialBaudRate: db "Baud rate",NULL
120
121g_szDlgDevice: db "Select controller type.",NULL
122g_szDlgIdeCmdPort: db "Enter IDE command block (base port) address.",NULL
123g_szDlgIdeCtrlPort: db "Enter IDE control block address (usually command block + 200h).",NULL
124g_szDlgIdeEnIRQ: db "Enable interrupt?",NULL
125g_szDlgIdeIRQ: db "Enter IRQ channel (2...7 for 8-bit controllers, 2...15 for any other controller).",NULL
126
127g_szNfoIdeBackToCfgMenu:db "Back to XTIDE Universal BIOS Configuration Menu.",NULL
128g_szNfoIdeMaster: db "Settings for Master Drive.",NULL
129g_szNfoIdeSlave: db "Settings for Slave Drive.",NULL
130g_szNfoIdeDevice: db "Select controller device type.",NULL
131g_szNfoIdeCmdPort: db "IDE Controller Command Block (base port) address.",NULL
132g_szNfoIdeCtrlPort: db "IDE Controller Control Block address. Usually Cmd Block + 8 for XTIDE, and Cmd Block + 200h for ATA.",NULL
133g_szNfoIdeEnIRQ: db "Interrupt or polling mode.",NULL
134g_szNfoIdeIRQ: db "IRQ channel to use.",NULL
135g_szNfoIdeSerialCOM: db "Select a COM port by number.",NULL
136g_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
137g_szNfoIdeSerialPort: db "Select a COM port by custom I/O port address. Address must be in the range 248h to 430h and be on an 8-byte boundary.", NULL
138
139g_szHelpIdeCmdPort: incbin "IDE_CommandPort.txt"
140 db NULL
141g_szHelpIdeCtrlPort: incbin "IDE_ControlPort.txt"
142 db NULL
143g_szHelpIdeEnIRQ: incbin "IDE_EnableInterrupt.txt"
144 db NULL
145g_szHelpIdeIRQ: incbin "IDE_IRQ.txt"
146 db NULL
147g_szHelpIdeSerialCOM: incbin "IDE_SerialCOM.txt"
148 db NULL
149g_szHelpIdeSerialPort: incbin "IDE_SerialPort.txt"
150 db NULL
151g_szHelpIdeSerialBaud: incbin "IDE_SerialBaud.txt"
152 db NULL
153
154g_szMultichoiceCfgDevice:
155 db "8-bit dual port (XTIDE)",LF
156 db "XTIDE mod by Chuck(G)",LF
157 db "8-bit single port",LF
158 db "16-bit standard IDE",LF
159 db "32-bit generic IDE",LF
160 db "Serial port virtual device",NULL
161
162g_szSerialCOMChoice:
163 db "COM1 - Port 3f8h",LF
164 db "COM2 - Port 2f8h",LF
165 db "COM3 - Port 3e8h",LF
166 db "COM4 - Port 2e8h",LF
167 db "COM5 - Port 2f0h",LF
168 db "COM6 - Port 3e0h",LF
169 db "COM7 - Port 2e0h",LF
170 db "COM8 - Port 260h",LF
171 db "COM9 - Port 368h",LF
172 db "COMA - Port 268h",LF
173 db "COMB - Port 360h",LF
174 db "COMC - Port 270h",LF
175 db "COMx - Custom Port",NULL
176
177g_szValueCfgCOM1: db "COM1",NULL
178g_szValueCfgCOM2: db "COM2",NULL
179g_szValueCfgCOM3: db "COM3",NULL
180g_szValueCfgCOM4: db "COM4",NULL
181g_szValueCfgCOM5: db "COM5",NULL
182g_szValueCfgCOM6: db "COM6",NULL
183g_szValueCfgCOM7: db "COM7",NULL
184g_szValueCfgCOM8: db "COM8",NULL
185g_szValueCfgCOM9: db "COM9",NULL
186g_szValueCfgCOMA: db "COMA",NULL
187g_szValueCfgCOMB: db "COMB",NULL
188g_szValueCfgCOMC: db "COMC",NULL
189g_szValueCfgCOMx: db "Custom",NULL
190
191g_szSerialBaudChoice:
192 db "2400 baud",LF
193 db "9600 baud",LF
194 db "38.4K baud",LF
195 db "115.2K baud",NULL
196
197g_szValueCfgBaud2400: db "2400",NULL
198g_szValueCfgBaud9600: db "9600",NULL
199g_szValueCfgBaud38_4: db "38.4K",NULL
200g_szValueCfgBaud115_2: db "115.2K",NULL
201
202g_szValueCfgDeviceDual8b: db "XTIDE",NULL
203g_szValueCfgDeviceMod: db "Chuck(G)",NULL
204g_szValueCfgDeviceSingle8b: db "8-bit",NULL
205g_szValueCfgDevice16b: db "16-bit",NULL
206g_szValueCfgDevice32b: db "32-bit",NULL
207g_szValueCfgDeviceSerial: db "Serial",NULL
208
209
210; Strings for DRVPARAMS menu
211g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL
212g_szItemDrvBlockMode: db "Block Mode Transfers",NULL
213g_szItemDrvUserCHS: db "User specified CHS",NULL
214g_szItemDrvCyls: db "Cylinders",NULL
215g_szItemDrvHeads: db "Heads",NULL
216g_szItemDrvSect: db "Sectors per track",NULL
217
218g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL
219g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL
220g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL
221g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL
222g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL
223
224g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL
225g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL
226g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL
227g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL
228g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL
229
230g_szHelpDrvBlockMode: incbin "Drive_BlockMode.txt"
231 db NULL
232g_szHelpDrvUserCHS: incbin "Drive_UserCHS.txt"
233 db NULL
234
235
236; Strings for boot menu settings menu
237g_szItemBootTimeout: db "Selection timeout",NULL
238g_szItemBootDrive: db "Default boot drive",NULL
239g_szItemBootDispMode: db "Display Mode",NULL
240g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL
241g_szItemBootSwap: db "Swap boot drive numbers",NULL
242g_szItemSerialDetect: db "Scan for Serial Drives",NULL
243
244g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (1...1092, 0 disables timeout).",NULL
245g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks, FFh for ROM boot).",NULL
246g_szDlgBootDispMode: db "Select display mode for Boot Menu.",NULL
247g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives to display on boot menu.",NULL
248g_szDlgBootSwap: db "Enable drive number translation?",NULL
249g_szDlgSerialDetect: db "Scan for serial drives?",NULL
250
251g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks.",NULL
252g_szNfoBootDrive: db "Default drive on boot menu.",NULL
253g_szNfoDispMode: db "Display Mode for Boot Menu.",NULL
254g_szNfoBootFloppyDrvs: db "Number of Floppy Drives to display on boot menu.",NULL
255g_szNfoBootSwap: db "Drive Number Translation (swap first drive with selected).",NULL
256g_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
257
258g_szHelpBootTimeout: incbin "Bootmenu_Timeout.txt"
259 db NULL
260g_szHelpBootDrive: incbin "Bootmenu_DefaultDrive.txt"
261 db NULL
262g_szHelpBootFloppyDrvs: incbin "Bootmenu_FloppyDrives.txt"
263 db NULL
264g_szHelpBootSwap: incbin "Bootmenu_SwapDrives.txt"
265 db NULL
266g_szHelpSerialDetect: incbin "Bootmenu_SerialDetect.txt"
267 db NULL
268
269g_szMultichoiceBootDispMode:
270 db "Default",LF
271 db "40x25 Black & White",LF
272 db "40x25 Color",LF
273 db "80x25 Black & White",LF
274 db "80x25 Color",LF
275 db "80x25 Monochrome",NULL
276
277g_szMultichoiceBootFloppyDrvs:
278 db "Autodetect",LF
279 db "1",LF
280 db "2",LF
281 db "3",LF
282 db "4",NULL
283
284g_szValueBootDispModeDefault: db "Default",NULL
285g_szValueBootDispModeBW40: db "BW40",NULL
286g_szValueBootDispModeCO40: db "CO40",NULL
287g_szValueBootDispModeBW80: db "BW80",NULL
288g_szValueBootDispModeCO80: db "CO80",NULL
289g_szValueBootDispModeMono: db "Mono",NULL
290
291g_szValueBootFloppyDrvsAuto: db "Auto",NULL
292g_szValueBootFloppyDrvs1: db "1",NULL
293g_szValueBootFloppyDrvs2: db "2",NULL
294g_szValueBootFloppyDrvs3: db "3",NULL
295g_szValueBootFloppyDrvs4: db "4",NULL
296
297
298; Strings for Flash menu
299g_szItemFlashStart: db "Start flashing",NULL
300g_szItemFlashEepromType:db "EEPROM type",NULL
301g_szItemFlashSDP: db "SDP command",NULL
302g_szItemFlashAddr: db "EEPROM address",NULL
303g_szItemFlashPageSize: db "Page size",NULL
304g_szItemFlashChecksum: db "Generate checksum byte",NULL
305
306g_szDlgFlashEepromType: db "Select EEPROM type.",NULL
307g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL
308g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL
309g_szDlgFlashPageSize: db "Select write page size.",NULL
310g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL
311
312g_szNfoFlashEepromType: db "EEPROM type.",NULL
313g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL
314g_szNfoFlashSDP: db "Software Data Protection command.",NULL
315g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL
316g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL
317g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL
318
319g_szHelpFlashSDP: incbin "Flash_SdpCommand.txt"
320 db NULL
321g_szHelpFlashPageSize: incbin "Flash_PageSize.txt"
322 db NULL
323g_szHelpFlashChecksum: incbin "Flash_Checksum.txt"
324 db NULL
325
326g_szMultichoiceEepromType:
327 db "2816 (2 kiB)",LF
328 db "2864 (8 kiB)",LF
329 db "2864 mod (8 kiB)",LF
330 db "28256 (32 kiB)",LF
331 db "28512 (64 kiB)",NULL
332g_szValueFlash2816: db "2816",NULL
333g_szValueFlash2864: db "2864",NULL
334g_szValueFlash2864Mod: db "2864mod",NULL
335g_szValueFlash28256: db "28256",NULL
336g_szValueFlash28512: db "28512",NULL
337
338g_szMultichoiceSdpCommand:
339 db "None",LF
340 db "Enable",LF
341 db "Disable",NULL
342g_szValueFlashNone: db "None",NULL
343g_szValueFlashEnable: db "Enable",NULL
344g_szValueFlashDisable: db "Disable",NULL
345
346g_szMultichoicePageSize:
347 db "1 byte",LF
348 db "2 bytes",LF
349 db "4 bytes",LF
350 db "8 bytes",LF
351 db "16 bytes",LF
352 db "32 bytes",LF
353 db "64 bytes",NULL
354g_szValueFlash1byte: db "1 byte",NULL
355g_szValueFlash2bytes: db "2 bytes",NULL
356g_szValueFlash4bytes: db "4 bytes",NULL
357g_szValueFlash8bytes: db "8 bytes",NULL
358g_szValueFlash16bytes: db "16 bytes",NULL
359g_szValueFlash32bytes: db "32 bytes",NULL
360g_szValueFlash64bytes: db "64 bytes",NULL
361
362g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
363
364g_szDashForZero: db "- ",NULL
Note: See TracBrowser for help on using the repository browser.