comparison code_part1/OSTC_code_asm_part1/english_text.asm @ 174:53b16a746166

Multi-lang + Move texts to single compact table. + Place at address 0x15000, reserved up to 0x17AFF (10kB) + Generate the english_test.asm reference (4kB) + Move altimeter texts into the table.
author JeanDo
date Thu, 03 Feb 2011 04:09:21 +0100
parents
children d70dd3177d57
comparison
equal deleted inserted replaced
173:4a7a778d9e49 174:53b16a746166
1 ; OSTC - diving computer code
2 ; Copyright (C) 2008 HeinrichsWeikamp GbR
3 ;
4 ; This program is free software: you can redistribute it and/or modify
5 ; it under the terms of the GNU General Public License as published by
6 ; the Free Software Foundation, either version 3 of the License, or
7 ; (at your option) any later version.
8 ;
9 ; This program is distributed in the hope that it will be useful,
10 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ; GNU General Public License for more details.
13 ;
14 ; You should have received a copy of the GNU General Public License
15 ; along with this program. If not, see <http://www.gnu.org/licenses/>.
16 ;
17 ; hold texts and parameters for the texts
18 ; written by: Matthias Heinrichs, info@heinrichsweikamp.com
19 ; written: 10/13/07
20 ; last updated: 05/24/08
21 ; known bugs:
22 ; ToDo:
23 ; macro X Y "translation" ; English original
24 TCODE .0, .0, "Building MD2 Hash" ;001 Building MD2 Hash
25 TCODE .0, .25, "Please Wait..." ;002 Please Wait...
26 TCODE .0, .2, "HeinrichsWeikamp OSTC2" ;003 HeinrichsWeikamp OSTC2
27 TCODE .65, .2, "Menu?" ;004 Menu?
28 TCODE .65, .2, "Menu:" ;005 Menu:
29 TCODE .20, .35, "Logbook" ;006 Logbook
30 TCODE .20, .65, "Gas Setup" ;007 Gas Setup
31 TCODE .20, .35, "Set Time" ;008 Set Time
32 TCODE .20, .95, "Reset Menu" ;009 Reset Menu
33 TCODE .20, .125, "Setup" ;010 Setup
34 TCODE .20, .185, "Exit" ;011 Exit
35 TCODE .115, .2, "Wait.." ;012 Wait..
36 TCODE .0, .24, "MD2 Hash:" ;013 MD2 Hash:
37 TCODE .0, .0, "Desat" ;014 Desat
38 TCODE .50, .2, "Interface" ;015 Interface
39 TCODE .10, .30, "Start" ;016 Start
40 TCODE .10, .55, "Data" ;017 Data
41 TCODE .10, .80, "Header" ;018 Header
42 TCODE .10, .105, "Profile" ;019 Profile
43 TCODE .10, .130, "Done." ;020 Done.
44 TCODE .20, .35, "Cancel Reset" ;021 Cancel Reset
45 TCODE .32, .65, "Time:" ;022 Time:
46 TCODE .32, .95, "Date:" ;023 Date:
47 TCODE .32, .155, "Set Hours" ;024 Set Hours
48 TCODE .6, .0, "Reset..." ;025 Reset...
49 TCODE .55, .2, "Logbook" ;026 Logbook
50 TCODE .14, .2, "Custom Functions I" ;027 Custom Functions I
51 TCODE .40, .2, "Reset Menu" ;028 Reset Menu
52 TCODE .50, .2, "Set Time:" ;029 Set Time:
53 TCODE .100, .50, "SetMarker" ;030 SetMarker
54 TCODE .100, .25, "Decoplan" ;031 Decoplan
55 TCODE .100, .0, "Gaslist" ;032 Gaslist
56 TCODE .100, .50, "ResetAvr" ;033 ResetAvr
57 TCODE .100, .100, "Exit" ;034 Exit
58 TCODE .0, .0, "NoFly" ;035 NoFly
59 ; 32 custom function descriptors I
60 TCODE .40, .35, "Start Dive [m]" ;036 Start Dive [m]
61 TCODE .40, .35, "End Dive [m]" ;037 End Dive [m]
62 TCODE .40, .35, "End Delay [min]" ;038 End Delay [min]
63 TCODE .40, .35, "Power Off [min]" ;039 Power Off [min]
64 TCODE .40, .35, "Pre-menu [min]" ;040 Pre-menu [min]
65 TCODE .40, .35, "velocity[m/min]" ;041 velocity[m/min]
66 TCODE .40, .35, "Wake-up [mBar]" ;042 Wake-up [mBar]
67 TCODE .40, .35, "max.Surf.[mBar]" ;043 max.Surf.[mBar]
68 TCODE .40, .35, "GF display [%]" ;044 GF display [%]
69 TCODE .40, .35, "min. O2 Dis.[%]" ;045 min. O2 Dis.[%]
70 TCODE .40, .35, "Dive menus[min]" ;046 Dive menus[min]
71 TCODE .40, .35, "Saturate x [%]" ;047 Saturate x [%]
72 TCODE .40, .35, "Desaturate x[%]" ;048 Desaturate x[%]
73 TCODE .40, .35, "NoFly Ratio [%]" ;049 NoFly Ratio [%]
74 TCODE .40, .35, "GF alarm 1 [%]" ;050 GF alarm 1 [%]
75 TCODE .40, .35, "CNSshow surf[%]" ;051 CNSshow surf[%]
76 TCODE .40, .35, "Deco Offset [m]" ;052 Deco Offset [m]
77 TCODE .40, .35, "ppO2 low [Bar]" ;053 ppO2 low [Bar]
78 TCODE .40, .35, "ppO2 high [Bar]" ;054 ppO2 high [Bar]
79 TCODE .40, .35, "ppO2 show [Bar]" ;055 ppO2 show [Bar]
80 TCODE .40, .35, "sampling rate " ;056 sampling rate
81 TCODE .40, .35, "Divisor Temp " ;057 Divisor Temp
82 TCODE .40, .35, "Divisor Decodat" ;058 Divisor Decodat
83 TCODE .40, .35, "Divisor NotUse1" ;059 Divisor NotUse1
84 TCODE .40, .35, "Divisor ppO2 " ;060 Divisor ppO2
85 TCODE .40, .35, "Divisor Debug " ;061 Divisor Debug
86 TCODE .40, .35, "Divisor NotUse2" ;062 Divisor NotUse2
87 TCODE .40, .35, "CNSshow dive[%]" ;063 CNSshow dive[%]
88 TCODE .40, .35, "Logbook offset " ;064 Logbook offset
89 TCODE .40, .35, "Last Deco at[m]" ;065 Last Deco at[m]
90 TCODE .40, .35, "End Apnoe [h]" ;066 End Apnoe [h]
91 TCODE .40, .35, "Show Batt.Volts" ;067 Show Batt.Volts
92 ;licence:
93 TCODE .0, .35, "This program is" ;068 This program is
94 TCODE .0, .65, "distributed in the" ;069 distributed in the
95 TCODE .0, .95, "hope that it will be" ;070 hope that it will be
96 TCODE .0, .125, "useful, but WITHOUT" ;071 useful, but WITHOUT
97 TCODE .0, .155, "ANY WARRANTY; without" ;072 ANY WARRANTY
98 TCODE .0, .185, "even the implied" ;073 even the implied
99 TCODE .0, .215, "warranty of" ;074 warranty of
100 TCODE .0, .35, "MERCHANTABILITY or" ;075 MERCHANTABILITY or
101 TCODE .0, .65, "FITNESS FOR A" ;076 FITNESS FOR A
102 TCODE .0, .95, "PARTICULAR PURPOSE." ;077 PARTICULAR PURPOSE.
103 TCODE .0, .125, "See the GNU General" ;078 See the GNU General
104 TCODE .0, .155, "Public License for" ;079 Public License for
105 TCODE .0, .185, "more details:" ;080 more details:
106 TCODE .0, .215, "www.heinrichsweikamp.de" ;081 www.heinrichsweikamp.de
107 ; end of licence POS
108 TCODE .102, .54, "Decostop" ;082 Decostop
109 TCODE .0, .0, "m/min" ;083 m/min
110 TCODE .108, .113, "No Stop" ;084 No Stop
111 TCODE .135, .113, "TTS" ;085 TTS
112 TCODE .100, .0, "Divetime" ;086 Divetime
113 TCODE .0, .0, "Depth" ;087 Depth
114 TCODE .0, .0, "First Gas?" ;088 First Gas?
115 TCODE .0, .0, "Default:" ;089 Default:
116 TCODE .0, .0, "Minutes" ;090 Minutes
117 TCODE .0, .0, "Month " ;091 Month
118 TCODE .0, .0, "Day " ;092 Day
119 TCODE .0, .0, "Year " ;093 Year
120 TCODE .0, .0, "Set " ;094 Set
121 TCODE .0, .0, "Gas# " ;095 Gas#
122 TCODE .0, .0, "Yes" ;096 Yes
123 TCODE .0, .0, "Current:" ;097 Current:
124 TCODE .40, .2, "Setup Menu:" ;098 Setup Menu:
125 TCODE .20, .35, "Custom FunctionsI" ;099 Custom FunctionsI
126 TCODE .20, .125, "Decotype:" ;100 Decotype:
127 TCODE .85, .125, "ZH-L16 OC" ;101 ZH-L16 OC
128 TCODE .85, .125, "Gauge " ;102 Gauge
129 TCODE .85, .125, "Gauge" ;103 Gauge
130 TCODE .85, .125, "ZH-L16 CC" ;104 ZH-L16 CC
131 TCODE .0, .0, "Active Gas? " ;105 Active Gas?
132 TCODE .10, .2, "Gas Setup - Gaslist" ;106 Gas Setup - Gaslist
133 TCODE .0, .0, "Depth +" ;107 Depth +
134 TCODE .0, .0, "Depth -" ;108 Depth -
135 TCODE .20, .35, "Back" ;109 Back
136 TCODE .20, .65, "CCR SetPoint Menu" ;110 CCR SetPoint Menu
137 TCODE .20, .2, "CCR SetPoint Menu" ;111 CCR SetPoint Menu
138 TCODE .0, .0, "SP#" ;112 SP#
139 TCODE .20, .95, "Battery Info" ;113 Battery Info
140 TCODE .10, .2, "Battery Information" ;114 Battery Information
141 TCODE .0, .9, "Cycles:" ;115 Cycles:
142 TCODE .85, .125, "Apnoe" ;116 Apnoe
143 TCODE .0, .18, "Last Complete:" ;117 Last Complete:
144 TCODE .0, .27, "Lowest Vbatt:" ;118 Lowest Vbatt:
145 TCODE .0, .36, "Lowest at:" ;119 Lowest at:
146 TCODE .0, .45, "Tmin:" ;120 Tmin:
147 TCODE .0, .54, "Tmax:" ;121 Tmax:
148 TCODE .100, .125, "Gas 6.." ;122 Gas 6..
149 TCODE .100, .25, "O2 +" ;123 O2 +
150 TCODE .100, .50, "O2 -" ;124 O2 -
151 TCODE .100, .75, "He +" ;125 He +
152 TCODE .100, .100, "He -" ;126 He -
153 TCODE .100, .0, "Exit" ;127 Exit
154 TCODE .100, .25, "Delete" ;128 Delete
155 TCODE .20, .65, "Debug:" ;129 Debug:
156 TCODE .65, .65, "ON " ;130 ON
157 TCODE .65, .65, "OFF" ;131 OFF
158 TCODE .100, .50, "Del. all" ;132 Del. all
159 TCODE .10, .0, "Unexpected reset from" ;133 Unexpected reset from
160 TCODE .10, .25, "Divemode! Please help" ;134 Divemode! Please help
161 TCODE .10, .50, "and report the Debug " ;135 and report the Debug
162 TCODE .10, .75, "Information below!" ;136 Information below!
163 TCODE .100, .75, "Bailout" ;137 Bailout
164 TCODE .85, .125, "Apnoe " ;138 Apnoe
165 TCODE .105, .120, "Descent" ;139 Descent
166 TCODE .105, .60, "Surface" ;140 Surface
167 TCODE .65, .2, "Quit?" ;141 Quit?
168 TCODE .20, .155, "More" ;142 More
169 TCODE .42, .72, "Confirm:" ;143 Confirm:
170 TCODE .60, .2, "Menu 2:" ;144 Menu 2:
171 TCODE .52, .96, "Cancel" ;145 Cancel
172 TCODE .52, .120, "OK!" ;146 OK!
173 TCODE .20, .35, "More" ;147 More
174 TCODE .0, .0, ":.........:" ;148 :.........:
175 TCODE .0, .8, "(ppO2:" ;149 (ppO2:
176 TCODE .2, .39, "Bar) " ;150 Bar)
177 TCODE .108, .216, "Marker?" ;151 Marker?
178 TCODE .85, .125, "L16-GF OC" ;152 L16-GF OC
179 TCODE .20, .65, "Custom FunctionsII" ;153 Custom FunctionsII
180 ; 32 Custom funtion descriptot II
181 TCODE .40, .35, "GF Low [%]" ;154 GF Low [%]
182 TCODE .40, .35, "GF High [%]" ;155 GF High [%]
183 TCODE .40, .35, "Color# Battery " ;156 Color# Battery
184 TCODE .40, .35, "Color# Standard" ;157 Color# Standard
185 TCODE .40, .35, "Color# Divemask" ;158 Color# Divemask
186 TCODE .40, .35, "Color# Warnings" ;159 Color# Warnings
187 TCODE .40, .35, "Divemode secs. " ;160 Divemode secs.
188 TCODE .40, .35, "Adjust fixed SP" ;161 Adjust fixed SP
189 TCODE .40, .35, "Warn Ceiling " ;162 Warn Ceiling
190 TCODE .40, .35, "Mix type icons " ;163 Mix type icons
191 TCODE .40, .35, "Blink BetterGas" ;164 Blink BetterGas
192 TCODE .40, .35, "DepthWarn[mBar]" ;165 DepthWarn[mBar]
193 TCODE .40, .35, "CNS warning [%]" ;166 CNS warning [%]
194 TCODE .40, .35, "GF warning [%]" ;167 GF warning [%]
195 TCODE .40, .35, "ppO2 warn [Bar]" ;168 ppO2 warn [Bar]
196 TCODE .40, .35, "Vel.warn[m/min]" ;169 Vel.warn[m/min]
197 TCODE .40, .35, "Time offset/day" ;170 Time offset/day
198 TCODE .40, .35, "Show altimeter " ;171 Show altimeter
199 TCODE .40, .35, "Show Log-Marker" ;172 Show Log-Marker
200 TCODE .40, .35, "Show Stopwatch " ;173 Show Stopwatch
201 TCODE .40, .35, "ShowTissueGraph" ;174 ShowTissueGraph
202 TCODE .40, .35, "Show Lead.Tiss." ;175 Show Lead.Tiss.
203 TCODE .40, .35, "Shalow stop 1st" ;176 Shalow stop 1st
204 TCODE .40, .35, "not used " ;177 not used
205 TCODE .40, .35, "not used " ;178 not used
206 TCODE .40, .35, "not used " ;179 not used
207 TCODE .40, .35, "not used " ;180 not used
208 TCODE .40, .35, "not used " ;181 not used
209 TCODE .40, .35, "not used " ;182 not used
210 TCODE .40, .35, "not used " ;183 not used
211 TCODE .40, .35, "not used " ;184 not used
212 TCODE .40, .35, "not used " ;185 not used
213 ;
214 TCODE .13, .2, "Custom Functions II" ;186 Custom Functions II
215 TCODE .20, .95, "Show License" ;187 Show License
216 TCODE .0, .2, "Sim. Results:" ;188 Sim. Results:
217 TCODE .90, .25, "Surface" ;189 Surface
218 TCODE .0, .0, "ppO2 +" ;190 ppO2 +
219 TCODE .0, .0, "ppO2 -" ;191 ppO2 -
220 TCODE .0, .0, "Dil." ;192 Dil.
221 ; ZH-L16 mode description
222 TCODE .0, .35, "Decotype: ZH-L16 OC" ;193 Decotype: ZH-L16 OC
223 TCODE .0, .65, "For Open Circuit " ;194 For Open Circuit
224 TCODE .0, .95, "Divers. Supports 5 " ;195 Divers. Supports 5
225 TCODE .0, .125, "Trimix Gases. " ;196 Trimix Gases.
226 TCODE .0, .155, "Configure your gas " ;197 Configure your gas
227 TCODE .0, .185, "in Gassetup menu. " ;198 in Gassetup menu.
228 TCODE .0, .215, "Check CF11 & CF12 !" ;199 Check CF11 & CF12 !
229 ; Gaugemode description
230 TCODE .0, .35, "Decotype: Gauge " ;200 Decotype: Gauge
231 TCODE .0, .65, "Divetime will be in" ;201 Divetime will be in
232 TCODE .0, .95, "Minutes:Seconds. " ;202 Minutes:Seconds.
233 TCODE .0, .125, "OSTC2 will not " ;203 OSTC2 will not
234 TCODE .0, .155, "compute Deco, NoFly" ;204 compute Deco, NoFly
235 TCODE .0, .185, "time and Desat. " ;205 time and Desat.
236 TCODE .0, .215, "time at all! " ;206 time at all!
237 ; Const.ppO2 description
238 TCODE .0, .35, "Decotype: ZH-L16 CC" ;207 Decotype: ZH-L16 CC
239 TCODE .0, .65, "For (Semi-)Closed " ;208 For (Semi-)Closed
240 TCODE .0, .95, "Circuit rebreathers" ;209 Circuit rebreathers
241 TCODE .0, .125, "Configure the 3 " ;210 Configure the 3
242 TCODE .0, .155, "SetPoints in CCR - " ;211 SetPoints in CCR -
243 TCODE .0, .185, "Setup menu. 5 bail-" ;212 Setup menu. 5 bail-
244 TCODE .0, .215, "outs are available." ;213 outs are available.
245 ; Apnoemode description
246 TCODE .0, .35, "Decotype: Apnoe " ;214 Decotype: Apnoe
247 TCODE .0, .65, "OSTC2 will display " ;215 OSTC2 will display
248 TCODE .0, .95, "each descent separ-" ;216 each descent separ-
249 TCODE .0, .125, "ately in Min:Sec. " ;217 ately in Min:Sec.
250 TCODE .0, .155, "Will temporally set" ;218 Will temporally set
251 TCODE .0, .185, "samplerate to 1 sec" ;219 samplerate to 1 sec
252 TCODE .0, .215, "No Deco calculation" ;220 No Deco calculation
253 ; Multi GF OC mode description
254 TCODE .0, .35, "Decotype: L16-GF OC" ;221 Decotype: L16-GF OC
255 TCODE .0, .65, "Decompression cal- " ;222 Decompression cal-
256 TCODE .0, .95, "culations with the " ;223 culations with the
257 TCODE .0, .125, "GF-Method (GF_lo/GF" ;224 GF-Method (GF_lo/GF
258 TCODE .0, .155, "_hi). Check CF32 & " ;225 _hi). Check CF32 &
259 TCODE .0, .185, "CF33! Open Circuit " ;226 CF33! Open Circuit
260 TCODE .0, .215, "with Deep Stops. " ;227 with Deep Stops.
261 ; Multi GF CC mode description
262 TCODE .0, .35, "Decotype: L16-GF CC" ;228 Decotype: L16-GF CC
263 TCODE .0, .65, "Decompression cal- " ;229 Decompression cal-
264 TCODE .0, .95, "culations with the " ;230 culations with the
265 TCODE .0, .125, "GF-Method (GF_lo/GF" ;231 GF-Method (GF_lo/GF
266 TCODE .0, .155, "_hi). Check CF32 & " ;232 _hi). Check CF32 &
267 TCODE .0, .185, "CF33!Closed Circuit" ;233 CF33!Closed Circuit
268 TCODE .0, .215, "with Deep Stops. " ;234 with Deep Stops.
269 ;
270 TCODE .10, .2, "Decomode changed! " ;235 Decomode changed!
271 TCODE .85, .125, "L16-GF CC" ;236 L16-GF CC
272 TCODE .2, .12, "Not found" ;237 Not found
273 TCODE .100, .0, "SetPoint" ;238 SetPoint
274 TCODE .100, .0, "No Deco" ;239 No Deco
275 TCODE .90, .50, "Interval:" ;240 Interval:
276 TCODE .100, .75, "Display" ;241 Display
277 TCODE .100, .0, "No deco" ;242 No deco
278 TCODE .132, .0, "beta" ;243 beta
279 TCODE .100, .100, "unuse" ;244 unuse
280 TCODE .20, .65, "Reset CF,Gas & Deco" ;245 Reset CF,Gas & Deco
281 TCODE .50, .145, "LowBatt!" ;246 LowBatt!
282 TCODE .20, .125, "Simulator" ;247 Simulator
283 TCODE .30, .2, "OSTC Simulator" ;248 OSTC Simulator
284 TCODE .20, .35, "Start Dive" ;249 Start Dive
285 TCODE .100, .25, "+ 1m" ;250 + 1m
286 TCODE .100, .50, "- 1m" ;251 - 1m
287 TCODE .100, .75, "+10m" ;252 +10m
288 TCODE .100, .100, "-10m" ;253 -10m
289 TCODE .100, .0, "Close" ;254 Close
290 TCODE .131, .170, "Time" ;255 Time
291
292 ; Text Bank2 (Texts 256-511)
293 TCODE .0, .0, "x" ;256 x
294 TCODE .20, .35, "Date format:" ;257 Date format:
295 TCODE .40, .2, "Setup Menu 2:" ;258 Setup Menu 2:
296 TCODE .105, .35, "MMDDYY" ;259 MMDDYY
297 TCODE .105, .35, "DDMMYY" ;260 DDMMYY
298 TCODE .105, .35, "YYMMDD" ;261 YYMMDD
299 TCODE .1, .1, "OSTC " ;262 OSTC
300 TCODE .65, .168, "Bail" ;263 Bail
301 TCODE .7, .48, "Air " ;264 Air
302 TCODE .120, .135, "Air " ;265 Air
303 TCODE .2, .39, "Calibrate" ;266 Calibrate
304 TCODE .0, .216, "Max." ;267 Max.
305 TCODE .10, .8, "not" ;268 not
306 TCODE .10, .16, "found!" ;269 found!
307 TCODE .0, .0, "mV:" ;270 mV:
308 ; New CFs Warning
309 TCODE .24, .2, "New CF added!" ;271 New CF added!
310 TCODE .0, .35, "New CustomFunctions" ;272 New CustomFunctions
311 TCODE .0, .65, "were added! Check" ;273 were added! Check
312 TCODE .0, .95, "CF I and CF II Menu" ;274 CF I and CF II Menu
313 TCODE .0, .125, "for Details!" ;275 for Details!
314 TCODE .20, .95, "Salinity: " ;276 Salinity:
315
316 TCODE .20, .65, "Bottom Time:" ;277 Bottom Time:
317 TCODE .20, .95, "Max. Depth:" ;278 Max. Depth:
318 TCODE .20, .125, "Calculate Deco" ;279 Calculate Deco
319 TCODE .20, .155, "Show Decoplan" ;280 Show Decoplan
320
321 TCODE .93, .170, "Avr.Depth" ;281 Avr.Depth
322 TCODE .90, .170, "Lead Tiss." ;282 Lead Tiss.
323 TCODE .93, .170, "Stopwatch" ;283 Stopwatch
324 TCODE .20, .95, "Reset Logbook" ;284 Reset Logbook
325 TCODE .20, .125, "Reboot OSTC" ;285 Reboot OSTC
326 TCODE .20, .155, "Reset Decodata" ;286 Reset Decodata
327 ;
328 TCODE .20, .155, "Altimeter" ;287 Altimeter
329 TCODE .38, .1, "Set Altimeter" ;288 Set Altimeter
330 TCODE .20, .35, "Sea ref: " ;289 Sea ref:
331 TCODE .0, .0, "Enabled: " ;290 Enabled:
332 TCODE .20, .95, "Default: 1013 mbar" ;291 Default: 1013 mbar
333 TCODE .20, .125, "+1 mbar" ;292 +1 mbar
334 TCODE .20, .155, "-1 mbar" ;293 -1 mbar
335 TCODE .85, .185, "Alt: " ;294 Alt:
336