Mercurial > public > hwos_code
comparison src/text_multilang.asm @ 448:aadfe9f2edaf
work on new battery options
author | heinrichsweikamp |
---|---|
date | Tue, 30 Aug 2016 17:26:21 +0200 |
parents | 11d4fc797f74 |
children | 89b480ce4a26 |
comparison
equal
deleted
inserted
replaced
447:f2a1d535347f | 448:aadfe9f2edaf |
---|---|
14 ; Because text are indexed by 12bits value in FSR register, they can't | 14 ; Because text are indexed by 12bits value in FSR register, they can't |
15 ; just be anywhere. It is safe to make them start in address 0xHHH000. | 15 ; just be anywhere. It is safe to make them start in address 0xHHH000. |
16 texts code 0x009000 | 16 texts code 0x009000 |
17 | 17 |
18 ;============================================================================= | 18 ;============================================================================= |
19 global text_english_base | 19 global text_1_base |
20 text_english_base: | 20 text_1_base: |
21 | 21 IFNDEF french_italian |
22 MESSG "hwOS code in English and German!" | |
22 ;---- PASS 1 : generate description block ------------------------------------ | 23 ;---- PASS 1 : generate description block ------------------------------------ |
23 tcode_idx set 0 | 24 tcode_idx set 0 |
24 LANG set 0 | 25 LANG set 0 |
25 #define TCODE TCODE_1 | 26 #define TCODE TCODE_1 |
26 #include "text_english.inc" | 27 #include "text_english.inc" |
31 #define TCODE TCODE_2 | 32 #define TCODE TCODE_2 |
32 #include "text_english.inc" | 33 #include "text_english.inc" |
33 #undefine TCODE | 34 #undefine TCODE |
34 | 35 |
35 ;============================================================================= | 36 ;============================================================================= |
36 global text_german_base | 37 global text_2_base |
37 text_german_base: | 38 text_2_base: |
38 | 39 |
39 ;---- PASS 1 : generate description block ------------------------------------ | 40 ;---- PASS 1 : generate description block ------------------------------------ |
40 tcode_idx set 0 | 41 tcode_idx set 0 |
41 LANG set 1 | 42 LANG set 1 |
42 #define TCODE TCODE_1 | 43 #define TCODE TCODE_1 |
47 tcode_idx set 0 | 48 tcode_idx set 0 |
48 #define TCODE TCODE_2 | 49 #define TCODE TCODE_2 |
49 #include "text_german.inc" | 50 #include "text_german.inc" |
50 #undefine TCODE | 51 #undefine TCODE |
51 | 52 |
53 ELSE | |
54 MESSG "hwOS code in French and Italian!" | |
52 ;============================================================================= | 55 ;============================================================================= |
53 global text_french_base | |
54 text_french_base | |
55 | |
56 ;---- PASS 1 : generate description block ------------------------------------ | 56 ;---- PASS 1 : generate description block ------------------------------------ |
57 tcode_idx set 0 | 57 tcode_idx set 0 |
58 LANG set 2 | 58 LANG set 2 |
59 #define TCODE TCODE_1 | 59 #define TCODE TCODE_1 |
60 #include "text_french.inc" | 60 #include "text_french.inc" |
65 #define TCODE TCODE_2 | 65 #define TCODE TCODE_2 |
66 #include "text_french.inc" | 66 #include "text_french.inc" |
67 #undefine TCODE | 67 #undefine TCODE |
68 | 68 |
69 ;============================================================================= | 69 ;============================================================================= |
70 global text_italian_base | 70 global text_2_base |
71 text_italian_base | 71 text_2_base: |
72 | 72 |
73 ;---- PASS 1 : generate description block ------------------------------------ | 73 ;---- PASS 1 : generate description block ------------------------------------ |
74 tcode_idx set 0 | 74 tcode_idx set 0 |
75 LANG set 3 | 75 LANG set 3 |
76 #define TCODE TCODE_1 | 76 #define TCODE TCODE_1 |
81 tcode_idx set 0 | 81 tcode_idx set 0 |
82 #define TCODE TCODE_2 | 82 #define TCODE TCODE_2 |
83 #include "text_italian.inc" | 83 #include "text_italian.inc" |
84 #undefine TCODE | 84 #undefine TCODE |
85 | 85 |
86 ENDIF | |
87 | |
86 ;============================================================================= | 88 ;============================================================================= |
87 | 89 |
88 END | 90 END |