annotate src/text_multilang.asm @ 592:05053910d668

BUGFIX: Re-enable Sensors after sleep in PSCR mode
author heinrichsweikamp
date Wed, 18 Apr 2018 17:03:52 +0200
parents b7eb98dbd800
children ca4556fb60b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
3 ; File text_multilang.asm Version 2.92 = 2.26
0
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
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
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 ;=============================================================================
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
38
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
39
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
40 global text_2_base
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
41 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
42
heinrichsweikamp
parents:
diff changeset
43 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
44 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
45 LANG set 1
heinrichsweikamp
parents:
diff changeset
46 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
47 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
48 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
49
heinrichsweikamp
parents:
diff changeset
50 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
51 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
52 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
53 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
54 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
55
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
56 ELSE
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 460
diff changeset
57 MESSG "hwOS code in French and Italian!"
0
heinrichsweikamp
parents:
diff changeset
58 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
59 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
60 tcode_idx set 0
460
89b480ce4a26 French/Italian release
heinrichsweikamp
parents: 448
diff changeset
61 LANG set 0
0
heinrichsweikamp
parents:
diff changeset
62 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
63 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
64 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
65
heinrichsweikamp
parents:
diff changeset
66 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
67 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
68 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
69 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
70 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
71
heinrichsweikamp
parents:
diff changeset
72 ;=============================================================================
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
73 global text_2_base
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
74 text_2_base:
0
heinrichsweikamp
parents:
diff changeset
75
heinrichsweikamp
parents:
diff changeset
76 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
77 tcode_idx set 0
460
89b480ce4a26 French/Italian release
heinrichsweikamp
parents: 448
diff changeset
78 LANG set 1
0
heinrichsweikamp
parents:
diff changeset
79 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
80 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
81 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
82
heinrichsweikamp
parents:
diff changeset
83 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
84 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
85 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
86 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
87 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
88
448
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
89 ENDIF
aadfe9f2edaf work on new battery options
heinrichsweikamp
parents: 0
diff changeset
90
0
heinrichsweikamp
parents:
diff changeset
91 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
92
heinrichsweikamp
parents:
diff changeset
93 END