0
|
1 ;=============================================================================
|
|
2 ;
|
|
3 ; File text_multilang.asm
|
|
4 ;
|
|
5 ; Implementation text in various selectable languages.
|
|
6 ;
|
|
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
8 ;=============================================================================
|
|
9 ; HISTORY
|
|
10 ; 2011-06-12 : [jDG] Creation...
|
|
11
|
|
12 #include "text_multilang.inc"
|
|
13
|
|
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.
|
|
16 texts code 0x009000
|
|
17
|
|
18 ;=============================================================================
|
448
|
19 global text_1_base
|
|
20 text_1_base:
|
|
21 IFNDEF french_italian
|
|
22 MESSG "hwOS code in English and German!"
|
0
|
23 ;---- PASS 1 : generate description block ------------------------------------
|
|
24 tcode_idx set 0
|
|
25 LANG set 0
|
|
26 #define TCODE TCODE_1
|
|
27 #include "text_english.inc"
|
|
28 #undefine TCODE
|
|
29
|
|
30 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
31 tcode_idx set 0
|
|
32 #define TCODE TCODE_2
|
|
33 #include "text_english.inc"
|
|
34 #undefine TCODE
|
|
35
|
|
36 ;=============================================================================
|
448
|
37 global text_2_base
|
|
38 text_2_base:
|
0
|
39
|
|
40 ;---- PASS 1 : generate description block ------------------------------------
|
|
41 tcode_idx set 0
|
|
42 LANG set 1
|
|
43 #define TCODE TCODE_1
|
|
44 #include "text_german.inc"
|
|
45 #undefine TCODE
|
|
46
|
|
47 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
48 tcode_idx set 0
|
|
49 #define TCODE TCODE_2
|
|
50 #include "text_german.inc"
|
|
51 #undefine TCODE
|
|
52
|
448
|
53 ELSE
|
|
54 MESSG "hwOS code in French and Italian!"
|
0
|
55 ;=============================================================================
|
|
56 ;---- PASS 1 : generate description block ------------------------------------
|
|
57 tcode_idx set 0
|
|
58 LANG set 2
|
|
59 #define TCODE TCODE_1
|
|
60 #include "text_french.inc"
|
|
61 #undefine TCODE
|
|
62
|
|
63 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
64 tcode_idx set 0
|
|
65 #define TCODE TCODE_2
|
|
66 #include "text_french.inc"
|
|
67 #undefine TCODE
|
|
68
|
|
69 ;=============================================================================
|
448
|
70 global text_2_base
|
|
71 text_2_base:
|
0
|
72
|
|
73 ;---- PASS 1 : generate description block ------------------------------------
|
|
74 tcode_idx set 0
|
|
75 LANG set 3
|
|
76 #define TCODE TCODE_1
|
|
77 #include "text_italian.inc"
|
|
78 #undefine TCODE
|
|
79
|
|
80 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
81 tcode_idx set 0
|
|
82 #define TCODE TCODE_2
|
|
83 #include "text_italian.inc"
|
|
84 #undefine TCODE
|
|
85
|
448
|
86 ENDIF
|
|
87
|
0
|
88 ;=============================================================================
|
|
89
|
|
90 END
|