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

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

Added floppy drive emulation over the serial connection (MODULE_SERIAL_FLOPPY). Along the way, various optimizations were made to stay within the 8K ROM size target. Also, serial code now returns the number of sectors transferred.

File size: 15.2 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_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
100
101g_szHelpCfgFullMode: incbin "Configuration_FullMode.txt"
102 db NULL
103g_szHelpCfgStealSize: incbin "Configuration_StealSize.txt"
104 db NULL
105
106; Strings for IDE Controller menu
107g_szItemBackToCfgMenu: db "Back to Configuration Menu",NULL
108g_szItemIdeMaster: db "Master Drive",NULL
109g_szItemIdeSlave: db "Slave Drive",NULL
110g_szItemIdeDevice: db "Device type",NULL
111g_szItemIdeCmdPort: db "Base (cmd block) address",NULL
112g_szItemIdeCtrlPort: db "Control block address",NULL
113g_szItemIdeEnIRQ: db "Enable interrupt",NULL
114g_szItemIdeIRQ: db "IRQ",NULL
115g_szItemSerialCOM: db "COM Port",NULL
116g_szItemSerialBaud: db "Baud Rate",NULL
117g_szItemSerialPort: db "COM Port I/O address",NULL
118
119g_szItemIdeSerialComPort: db "COM port",NULL
120g_szItemIdeSerialBaudRate: db "Baud rate",NULL
121
122g_szDlgDevice: db "Select controller type.",NULL
123g_szDlgIdeCmdPort: db "Enter IDE command block (base port) address.",NULL
124g_szDlgIdeCtrlPort: db "Enter IDE control block address (usually command block + 200h).",NULL
125g_szDlgIdeEnIRQ: db "Enable interrupt?",NULL
126g_szDlgIdeIRQ: db "Enter IRQ channel (2...7 for 8-bit controllers, 2...15 for any other controller).",NULL
127
128g_szNfoIdeBackToCfgMenu:db "Back to XTIDE Universal BIOS Configuration Menu.",NULL
129g_szNfoIdeMaster: db "Settings for Master Drive.",NULL
130g_szNfoIdeSlave: db "Settings for Slave Drive.",NULL
131g_szNfoIdeDevice: db "Select controller device type.",NULL
132g_szNfoIdeCmdPort: db "IDE Controller Command Block (base port) address.",NULL
133g_szNfoIdeCtrlPort: db "IDE Controller Control Block address. Usually Cmd Block + 8 for XTIDE, and Cmd Block + 200h for ATA.",NULL
134g_szNfoIdeEnIRQ: db "Interrupt or polling mode.",NULL
135g_szNfoIdeIRQ: db "IRQ channel to use.",NULL
136g_szNfoIdeSerialCOM: db "Select a COM port by number.",NULL
137g_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
138g_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
139
140g_szHelpIdeCmdPort: incbin "IDE_CommandPort.txt"
141 db NULL
142g_szHelpIdeCtrlPort: incbin "IDE_ControlPort.txt"
143 db NULL
144g_szHelpIdeEnIRQ: incbin "IDE_EnableInterrupt.txt"
145 db NULL
146g_szHelpIdeIRQ: incbin "IDE_IRQ.txt"
147 db NULL
148g_szHelpIdeSerialCOM: incbin "IDE_SerialCOM.txt"
149 db NULL
150g_szHelpIdeSerialPort: incbin "IDE_SerialPort.txt"
151 db NULL
152g_szHelpIdeSerialBaud: incbin "IDE_SerialBaud.txt"
153 db NULL
154
155g_szMultichoiceCfgDevice:
156 db "8-bit dual port (XTIDE)",LF
157 db "XTIDE mod by Chuck(G)",LF
158 db "8-bit single port",LF
159 db "16-bit standard IDE",LF
160 db "32-bit generic IDE",LF
161 db "Serial port virtual device",NULL
162
163g_szSerialCOMChoice:
164 db "COM1 - address 3f8h",LF
165 db "COM2 - address 2f8h",LF
166 db "COM3 - address 3e8h",LF
167 db "COM4 - address 2e8h",LF
168 db "COM5 - address 2f0h",LF
169 db "COM6 - address 3e0h",LF
170 db "COM7 - address 2e0h",LF
171 db "COM8 - address 260h",LF
172 db "COM9 - address 368h",LF
173 db "COMA - address 268h",LF
174 db "COMB - address 360h",LF
175 db "COMC - address 270h",LF
176 db "COMx - Custom address",NULL
177
178g_szValueCfgCOM1: db "COM1",NULL
179g_szValueCfgCOM2: db "COM2",NULL
180g_szValueCfgCOM3: db "COM3",NULL
181g_szValueCfgCOM4: db "COM4",NULL
182g_szValueCfgCOM5: db "COM5",NULL
183g_szValueCfgCOM6: db "COM6",NULL
184g_szValueCfgCOM7: db "COM7",NULL
185g_szValueCfgCOM8: db "COM8",NULL
186g_szValueCfgCOM9: db "COM9",NULL
187g_szValueCfgCOMA: db "COMA",NULL
188g_szValueCfgCOMB: db "COMB",NULL
189g_szValueCfgCOMC: db "COMC",NULL
190g_szValueCfgCOMx: db "Custom",NULL
191
192g_szSerialBaudChoice:
193 db "115.2K baud",LF
194 db "57.6K baud",LF
195 db "38.4K baud",LF
196 db "28.8K baud",LF
197 db "19.2K baud",LF
198 db "9600 baud",LF
199 db "4800 baud",LF
200 db "2400 baud",NULL
201
202g_szValueCfgBaud115_2: db "115.2K",NULL
203g_szValueCfgBaud57_6: db "57.6K",NULL
204g_szValueCfgBaud38_4: db "38.4K",NULL
205g_szValueCfgBaud28_8: db "28.8K",NULL
206g_szValueCfgBaud19_2: db "19.2K",NULL
207g_szValueCfgBaud9600: db "9600",NULL
208g_szValueCfgBaud4800: db "4800",NULL
209g_szValueCfgBaud2400: db "2400",NULL
210
211
212g_szValueCfgDeviceDual8b: db "XTIDE",NULL
213g_szValueCfgDeviceMod: db "Chuck(G)",NULL
214g_szValueCfgDeviceSingle8b: db "8-bit",NULL
215g_szValueCfgDevice16b: db "16-bit",NULL
216g_szValueCfgDevice32b: db "32-bit",NULL
217g_szValueCfgDeviceSerial: db "Serial",NULL
218
219
220; Strings for DRVPARAMS menu
221g_szItemDrvBackToIde: db "Back to IDE Controller Menu",NULL
222g_szItemDrvBlockMode: db "Block Mode Transfers",NULL
223g_szItemDrvUserCHS: db "User specified CHS",NULL
224g_szItemDrvCyls: db "Cylinders",NULL
225g_szItemDrvHeads: db "Heads",NULL
226g_szItemDrvSect: db "Sectors per track",NULL
227
228g_szDlgDrvBlockMode: db "Enable Block Mode Transfers?",NULL
229g_szDlgDrvUserCHS: db "Specify (P-)CHS parameters manually?",NULL
230g_szDlgDrvCyls: db "Enter number of P-CHS cylinders (1...16383).",NULL
231g_szDlgDrvHeads: db "Enter number of P-CHS heads (1...16).",NULL
232g_szDlgDrvSect: db "Enter number of sectors per track (1...63).",NULL
233
234g_szNfoDrvBlockMode: db "Transfer multiple sectors per data request.",NULL
235g_szNfoDrvUserCHS: db "Specify (P-)CHS parameters manually instead of autodetecting them.",NULL
236g_szNfoDrvCyls: db "Number of user specified P-CHS cylinders.",NULL
237g_szNfoDrvHeads: db "Number of user specified P-CHS heads.",NULL
238g_szNfoDrvSect: db "Number of user specified P-CHS sectors per track.",NULL
239
240g_szHelpDrvBlockMode: incbin "Drive_BlockMode.txt"
241 db NULL
242g_szHelpDrvUserCHS: incbin "Drive_UserCHS.txt"
243 db NULL
244
245
246; Strings for boot menu settings menu
247g_szItemBootTimeout: db "Selection timeout",NULL
248g_szItemBootDrive: db "Default boot drive",NULL
249g_szItemBootDispMode: db "Display Mode",NULL
250g_szItemBootFloppyDrvs: db "Number of Floppy Drives",NULL
251g_szItemBootSwap: db "Swap boot drive numbers",NULL
252g_szItemSerialDetect: db "Scan for Serial Drives",NULL
253
254g_szDlgBootTimeout: db "Enter Boot Menu selection timeout in BIOS timer ticks (1...1092, 0 disables timeout).",NULL
255g_szDlgBootDrive: db "Enter default drive number (0xh for Floppy Drives, 8xh for Hard Disks, FFh for ROM boot).",NULL
256g_szDlgBootDispMode: db "Select display mode for Boot Menu.",NULL
257g_szDlgBootFloppyDrvs: db "Select number of Floppy Drives to display on boot menu.",NULL
258g_szDlgBootSwap: db "Enable drive number translation?",NULL
259g_szDlgSerialDetect: db "Scan for serial drives?",NULL
260
261g_szNfoBootTimeout: db "Menu item selection timeout in BIOS timer ticks.",NULL
262g_szNfoBootDrive: db "Default drive on boot menu.",NULL
263g_szNfoDispMode: db "Display Mode for Boot Menu.",NULL
264g_szNfoBootFloppyDrvs: db "Number of Floppy Drives to display on boot menu.",NULL
265g_szNfoBootSwap: db "Drive Number Translation (swap first drive with selected).",NULL
266g_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
267
268g_szHelpBootTimeout: incbin "Bootmenu_Timeout.txt"
269 db NULL
270g_szHelpBootDrive: incbin "Bootmenu_DefaultDrive.txt"
271 db NULL
272g_szHelpBootFloppyDrvs: incbin "Bootmenu_FloppyDrives.txt"
273 db NULL
274g_szHelpBootSwap: incbin "Bootmenu_SwapDrives.txt"
275 db NULL
276g_szHelpSerialDetect: incbin "Bootmenu_SerialDetect.txt"
277 db NULL
278
279g_szMultichoiceBootDispMode:
280 db "Default",LF
281 db "40x25 Black & White",LF
282 db "40x25 Color",LF
283 db "80x25 Black & White",LF
284 db "80x25 Color",LF
285 db "80x25 Monochrome",NULL
286
287g_szMultichoiceBootFloppyDrvs:
288 db "Autodetect",LF
289 db "1",LF
290 db "2",LF
291 db "3",LF
292 db "4",NULL
293
294g_szValueBootDispModeDefault: db "Default",NULL
295g_szValueBootDispModeBW40: db "BW40",NULL
296g_szValueBootDispModeCO40: db "CO40",NULL
297g_szValueBootDispModeBW80: db "BW80",NULL
298g_szValueBootDispModeCO80: db "CO80",NULL
299g_szValueBootDispModeMono: db "Mono",NULL
300
301g_szValueBootFloppyDrvsAuto: db "Auto",NULL
302g_szValueBootFloppyDrvs1: db "1",NULL
303g_szValueBootFloppyDrvs2: db "2",NULL
304g_szValueBootFloppyDrvs3: db "3",NULL
305g_szValueBootFloppyDrvs4: db "4",NULL
306
307
308; Strings for Flash menu
309g_szItemFlashStart: db "Start flashing",NULL
310g_szItemFlashEepromType:db "EEPROM type",NULL
311g_szItemFlashSDP: db "SDP command",NULL
312g_szItemFlashAddr: db "EEPROM address",NULL
313g_szItemFlashPageSize: db "Page size",NULL
314g_szItemFlashChecksum: db "Generate checksum byte",NULL
315
316g_szDlgFlashEepromType: db "Select EEPROM type.",NULL
317g_szDlgFlashSDP: db "Select Software Data Protection command.",NULL
318g_szDlgFlashAddr: db "Enter segment address where EEPROM is located.",NULL
319g_szDlgFlashPageSize: db "Select write page size.",NULL
320g_szDlgFlashChecksum: db "Generate checksum byte to the end of BIOS image?",NULL
321
322g_szNfoFlashEepromType: db "EEPROM type.",NULL
323g_szNfoFlashStart: db "Writes BIOS to EEPROM.",NULL
324g_szNfoFlashSDP: db "Software Data Protection command.",NULL
325g_szNfoFlashAddr: db "Address (segment) where EEPROM is located.",NULL
326g_szNfoFlashPageSize: db "Number of bytes to write before delay.",NULL
327g_szNfoFlashChecksum: db "Generate checksum byte to the end of BIOS image.",NULL
328
329g_szHelpFlashSDP: incbin "Flash_SdpCommand.txt"
330 db NULL
331g_szHelpFlashPageSize: incbin "Flash_PageSize.txt"
332 db NULL
333g_szHelpFlashChecksum: incbin "Flash_Checksum.txt"
334 db NULL
335
336g_szMultichoiceEepromType:
337 db "2816 (2 kiB)",LF
338 db "2864 (8 kiB)",LF
339 db "2864 mod (8 kiB)",LF
340 db "28256 (32 kiB)",LF
341 db "28512 (64 kiB)",NULL
342g_szValueFlash2816: db "2816",NULL
343g_szValueFlash2864: db "2864",NULL
344g_szValueFlash2864Mod: db "2864mod",NULL
345g_szValueFlash28256: db "28256",NULL
346g_szValueFlash28512: db "28512",NULL
347
348g_szMultichoiceSdpCommand:
349 db "None",LF
350 db "Enable",LF
351 db "Disable",NULL
352g_szValueFlashNone: db "None",NULL
353g_szValueFlashEnable: db "Enable",NULL
354g_szValueFlashDisable: db "Disable",NULL
355
356g_szMultichoicePageSize:
357 db "1 byte",LF
358 db "2 bytes",LF
359 db "4 bytes",LF
360 db "8 bytes",LF
361 db "16 bytes",LF
362 db "32 bytes",LF
363 db "64 bytes",NULL
364g_szValueFlash1byte: db "1 byte",NULL
365g_szValueFlash2bytes: db "2 bytes",NULL
366g_szValueFlash4bytes: db "4 bytes",NULL
367g_szValueFlash8bytes: db "8 bytes",NULL
368g_szValueFlash16bytes: db "16 bytes",NULL
369g_szValueFlash32bytes: db "32 bytes",NULL
370g_szValueFlash64bytes: db "64 bytes",NULL
371
372g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL
373
374g_szDashForZero: db "- ",NULL
375
376g_szValueUnknownError: db "Error!",NULL
377
Note: See TracBrowser for help on using the repository browser.