annotate src/text_multilang.asm @ 449:850c1f3c4824

minor
author heinrichsweikamp
date Wed, 31 Aug 2016 14:24:29 +0200
parents aadfe9f2edaf
children 89b480ce4a26
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"
heinrichsweikamp
parents:
diff changeset
13
heinrichsweikamp
parents:
diff changeset
14 ; Because text are indexed by 12bits value in FSR register, they can't
heinrichsweikamp
parents:
diff changeset
15 ; just be anywhere. It is safe to make them start in address 0xHHH000.
heinrichsweikamp
parents:
diff changeset
16 texts code 0x009000
heinrichsweikamp
parents:
diff changeset
17
heinrichsweikamp
parents:
diff changeset
18 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
19 global text_1_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
20 text_1_base:
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
21 IFNDEF french_italian
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
22 MESSG "hwOS code in English and German!"
0
heinrichsweikamp
parents:
diff changeset
23 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
24 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
25 LANG set 0
heinrichsweikamp
parents:
diff changeset
26 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
27 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
28 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
29
heinrichsweikamp
parents:
diff changeset
30 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
31 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
32 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
33 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
34 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
35
heinrichsweikamp
parents:
diff changeset
36 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
37 global text_2_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
38 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
39
heinrichsweikamp
parents:
diff changeset
40 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
41 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
42 LANG set 1
heinrichsweikamp
parents:
diff changeset
43 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
44 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
45 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
46
heinrichsweikamp
parents:
diff changeset
47 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
48 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
49 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
50 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
51 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
52
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
53 ELSE
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
54 MESSG "hwOS code in French and Italian!"
0
heinrichsweikamp
parents:
diff changeset
55 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
56 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
57 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
58 LANG set 2
heinrichsweikamp
parents:
diff changeset
59 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
60 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
61 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
62
heinrichsweikamp
parents:
diff changeset
63 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
64 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
65 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
66 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
67 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
68
heinrichsweikamp
parents:
diff changeset
69 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
70 global text_2_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
71 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
72
heinrichsweikamp
parents:
diff changeset
73 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
74 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
75 LANG set 3
heinrichsweikamp
parents:
diff changeset
76 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
77 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
78 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
79
heinrichsweikamp
parents:
diff changeset
80 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
81 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
82 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
83 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
84 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
85
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
86 ENDIF
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
87
0
heinrichsweikamp
parents:
diff changeset
88 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
89
heinrichsweikamp
parents:
diff changeset
90 END