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