annotate src/text_multilang.asm @ 471:9edb1359ce43

NEW: New Customview 11 in dive mode shows ppO2, EAD/END and CNS CHANGE: Customview 4 shows Clock, Battery Information and Tissue Information
author heinrichsweikamp
date Sun, 11 Dec 2016 14:43:56 +0100
parents 89b480ce4a26
children b7eb98dbd800
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File text_multilang.asm
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ; Implementation text in various selectable languages.
heinrichsweikamp
parents:
diff changeset
6 ;
heinrichsweikamp
parents:
diff changeset
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
8 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
9 ; HISTORY
heinrichsweikamp
parents:
diff changeset
10 ; 2011-06-12 : [jDG] Creation...
heinrichsweikamp
parents:
diff changeset
11
heinrichsweikamp
parents:
diff changeset
12 #include "text_multilang.inc"
460
89b480ce4a26 French/Italian release
heinrichsweikamp
parents: 448
diff changeset
13 #include "hwos.inc"
0
heinrichsweikamp
parents:
diff changeset
14
heinrichsweikamp
parents:
diff changeset
15 ; Because text are indexed by 12bits value in FSR register, they can't
heinrichsweikamp
parents:
diff changeset
16 ; just be anywhere. It is safe to make them start in address 0xHHH000.
heinrichsweikamp
parents:
diff changeset
17 texts code 0x009000
heinrichsweikamp
parents:
diff changeset
18
heinrichsweikamp
parents:
diff changeset
19 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
20 global text_1_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
21 text_1_base:
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
22 IFNDEF french_italian
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
23 MESSG "hwOS code in English and German!"
0
heinrichsweikamp
parents:
diff changeset
24 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
25 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
26 LANG set 0
heinrichsweikamp
parents:
diff changeset
27 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
28 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
29 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
30
heinrichsweikamp
parents:
diff changeset
31 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
32 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
33 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
34 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
35 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
36
heinrichsweikamp
parents:
diff changeset
37 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
38 global text_2_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
39 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
40
heinrichsweikamp
parents:
diff changeset
41 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
42 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
43 LANG set 1
heinrichsweikamp
parents:
diff changeset
44 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
45 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
46 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
47
heinrichsweikamp
parents:
diff changeset
48 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
49 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
50 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
51 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
52 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
53
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
54 ELSE
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
55 MESSG "hwOS code in French and Italian!"
0
heinrichsweikamp
parents:
diff changeset
56 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
57 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
58 tcode_idx set 0
460
89b480ce4a26 French/Italian release
heinrichsweikamp
parents: 448
diff changeset
59 LANG set 0
0
heinrichsweikamp
parents:
diff changeset
60 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
61 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
62 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
63
heinrichsweikamp
parents:
diff changeset
64 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
65 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
66 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
67 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
68 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
69
heinrichsweikamp
parents:
diff changeset
70 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
71 global text_2_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
72 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
73
heinrichsweikamp
parents:
diff changeset
74 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
75 tcode_idx set 0
460
89b480ce4a26 French/Italian release
heinrichsweikamp
parents: 448
diff changeset
76 LANG set 1
0
heinrichsweikamp
parents:
diff changeset
77 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
78 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
79 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
80
heinrichsweikamp
parents:
diff changeset
81 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
82 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
83 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
84 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
85 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
86
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
87 ENDIF
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
88
0
heinrichsweikamp
parents:
diff changeset
89 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
90
heinrichsweikamp
parents:
diff changeset
91 END