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

Last change on this file since 242 was 242, checked in by krille_n_@…, 13 years ago

Changes:

  • Optimizations (both for size and speed) in IdeTransfer.asm and MemIdeTransfer.asm
  • Fixed a bug where the SingleByteRead/Write functions in IdeTransfer.asm would fail on 128 sector transfers.
  • Fixed some typos and errors in general, comments etc.
File size: 15.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 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. Any address is valid up to 3f8h, but must 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 - address 3f8h",LF
164 db "COM2 - address 2f8h",LF
165 db "COM3 - address 3e8h",LF
166 db "COM4 - address 2e8h",LF
167 db "COM5 - address 2f0h",LF
168 db "COM6 - address 3e0h",LF
169 db "COM7 - address 2e0h",LF
170 db "COM8 - address 260h",LF
171 db "COM9 - address 368h",LF
172 db "COMA - address 268h",LF
173 db "COMB - address 360h",LF
174 db "COMC - address 270h",LF
175 db "COMx - Custom address",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 "115.2K baud",LF
193 db "57.6K baud",LF
194 db "38.4K baud",LF
195 db "28.8K baud",LF
196 db "19.2K baud",LF
197 db "9600 baud",LF
198 db "4800 baud",LF
199 db "2400 baud",NULL
200
201g_szValueCfgBaud115_2: db "115.2K",NULL
202g_szValueCfgBaud57_6: db "57.6K",NULL
203g_szValueCfgBaud38_4: db "38.4K",NULL
204g_szValueCfgBaud28_8: db "28.8K",NULL
205g_szValueCfgBaud19_2: db "19.2K",NULL
206g_szValueCfgBaud9600: db "9600",NULL
207g_szValueCfgBaud4800: db "4800",NULL
208g_szValueCfgBaud2400: db "2400",NULL
209
210
211g_szValueCfgDeviceDual8b: db "XTIDE",NULL
212g_szValueCfgDeviceMod: db "Chuck(G)",NULL
213g_szValueCfgDeviceSingle8b: db "8-bit",NULL
214g_szValueCfgDevice16b: db "16-bit",NULL
215g_szValueCfgDevice32b: db "32-bit",NULL
216g_szValueCfgDeviceSerial: db "Serial",NULL
217
218
219; Strings for DRVPARAMS menu
220g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL
221g_szItemDrvBlockMode: db "Block Mode Transfers",NULL
222g_szItemDrvUserCHS: db "User specified CHS",NULL
223g_szItemDrvCyls: db "Cylinders",NULL
224g_szItemDrvHeads: db "Heads",NULL
225g_szItemDrvSect: db "Sectors per track",NULL
226
227g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL
228g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL
229g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL
230g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL
231g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL
232
233g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL
234g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL
235g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL
236g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL
237g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL
238
239g_szHelpDrvBlockMode: incbin "Drive_BlockMode.txt"
240 db NULL
241g_szHelpDrvUserCHS: incbin "Drive_UserCHS.txt"
242 db NULL
243
244
245; Strings for boot menu settings menu
246g_szItemBootTimeout: db "Selection timeout",NULL
247g_szItemBootDrive: db "Default boot drive",NULL
248g_szItemBootDispMode: db "Display Mode",NULL
249g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL
250g_szItemBootSwap: db "Swap boot drive numbers",NULL
251g_szItemSerialDetect: db "Scan for Serial Drives",NULL
252
253g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (1...1092, 0 disables timeout).",NULL
254g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks, FFh for ROM boot).",NULL
255g_szDlgBootDispMode: db "Select display mode for Boot Menu.",NULL
256g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives to display on boot menu.",NULL
257g_szDlgBootSwap: db "Enable drive number translation?",NULL
258g_szDlgSerialDetect: db "Scan for serial drives?",NULL
259
260g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks.",NULL
261g_szNfoBootDrive: db "Default drive on boot menu.",NULL
262g_szNfoDispMode: db "Display Mode for Boot Menu.",NULL
263g_szNfoBootFloppyDrvs: db "Number of Floppy Drives to display on boot menu.",NULL
264g_szNfoBootSwap: db "Drive Number Translation (swap first drive with selected).",NULL
265g_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
266
267g_szHelpBootTimeout: incbin "Bootmenu_Timeout.txt"
268 db NULL
269g_szHelpBootDrive: incbin "Bootmenu_DefaultDrive.txt"
270 db NULL
271g_szHelpBootFloppyDrvs: incbin "Bootmenu_FloppyDrives.txt"
272 db NULL
273g_szHelpBootSwap: incbin "Bootmenu_SwapDrives.txt"
274 db NULL
275g_szHelpSerialDetect: incbin "Bootmenu_SerialDetect.txt"
276 db NULL
277
278g_szMultichoiceBootDispMode:
279 db "Default",LF
280 db "40x25 Black & White",LF
281 db "40x25 Color",LF
282 db "80x25 Black & White",LF
283 db "80x25 Color",LF
284 db "80x25 Monochrome",NULL
285
286g_szMultichoiceBootFloppyDrvs:
287 db "Autodetect",LF
288 db "1",LF
289 db "2",LF
290 db "3",LF
291 db "4",NULL
292
293g_szValueBootDispModeDefault: db "Default",NULL
294g_szValueBootDispModeBW40: db "BW40",NULL
295g_szValueBootDispModeCO40: db "CO40",NULL
296g_szValueBootDispModeBW80: db "BW80",NULL
297g_szValueBootDispModeCO80: db "CO80",NULL
298g_szValueBootDispModeMono: db "Mono",NULL
299
300g_szValueBootFloppyDrvsAuto: db "Auto",NULL
301g_szValueBootFloppyDrvs1: db "1",NULL
302g_szValueBootFloppyDrvs2: db "2",NULL
303g_szValueBootFloppyDrvs3: db "3",NULL
304g_szValueBootFloppyDrvs4: db "4",NULL
305
306
307; Strings for Flash menu
308g_szItemFlashStart: db "Start flashing",NULL
309g_szItemFlashEepromType:db "EEPROM type",NULL
310g_szItemFlashSDP: db "SDP command",NULL
311g_szItemFlashAddr: db "EEPROM address",NULL
312g_szItemFlashPageSize: db "Page size",NULL
313g_szItemFlashChecksum: db "Generate checksum byte",NULL
314
315g_szDlgFlashEepromType: db "Select EEPROM type.",NULL
316g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL
317g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL
318g_szDlgFlashPageSize: db "Select write page size.",NULL
319g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL
320
321g_szNfoFlashEepromType: db "EEPROM type.",NULL
322g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL
323g_szNfoFlashSDP: db "Software Data Protection command.",NULL
324g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL
325g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL
326g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL
327
328g_szHelpFlashSDP: incbin "Flash_SdpCommand.txt"
329 db NULL
330g_szHelpFlashPageSize: incbin "Flash_PageSize.txt"
331 db NULL
332g_szHelpFlashChecksum: incbin "Flash_Checksum.txt"
333 db NULL
334
335g_szMultichoiceEepromType:
336 db "2816 (2 kiB)",LF
337 db "2864 (8 kiB)",LF
338 db "2864 mod (8 kiB)",LF
339 db "28256 (32 kiB)",LF
340 db "28512 (64 kiB)",NULL
341g_szValueFlash2816: db "2816",NULL
342g_szValueFlash2864: db "2864",NULL
343g_szValueFlash2864Mod: db "2864mod",NULL
344g_szValueFlash28256: db "28256",NULL
345g_szValueFlash28512: db "28512",NULL
346
347g_szMultichoiceSdpCommand:
348 db "None",LF
349 db "Enable",LF
350 db "Disable",NULL
351g_szValueFlashNone: db "None",NULL
352g_szValueFlashEnable: db "Enable",NULL
353g_szValueFlashDisable: db "Disable",NULL
354
355g_szMultichoicePageSize:
356 db "1 byte",LF
357 db "2 bytes",LF
358 db "4 bytes",LF
359 db "8 bytes",LF
360 db "16 bytes",LF
361 db "32 bytes",LF
362 db "64 bytes",NULL
363g_szValueFlash1byte: db "1 byte",NULL
364g_szValueFlash2bytes: db "2 bytes",NULL
365g_szValueFlash4bytes: db "4 bytes",NULL
366g_szValueFlash8bytes: db "8 bytes",NULL
367g_szValueFlash16bytes: db "16 bytes",NULL
368g_szValueFlash32bytes: db "32 bytes",NULL
369g_szValueFlash64bytes: db "64 bytes",NULL
370
371g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
372
373g_szDashForZero: db "- ",NULL
374
375g_szValueUnknownError: db "Error!",NULL
376
Note: See TracBrowser for help on using the repository browser.