0
|
1 ;=============================================================================
|
|
2 ;
|
560
|
3 ; File text_multilang.asm Version 2.92 = 2.26
|
0
|
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
|
560
|
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 ;=============================================================================
|
560
|
38
|
|
39
|
|
40 global text_2_base
|
448
|
41 text_2_base:
|
0
|
42
|
|
43 ;---- PASS 1 : generate description block ------------------------------------
|
|
44 tcode_idx set 0
|
|
45 LANG set 1
|
|
46 #define TCODE TCODE_1
|
|
47 #include "text_german.inc"
|
|
48 #undefine TCODE
|
|
49
|
|
50 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
51 tcode_idx set 0
|
|
52 #define TCODE TCODE_2
|
|
53 #include "text_german.inc"
|
|
54 #undefine TCODE
|
|
55
|
560
|
56 ELSE
|
|
57 MESSG "hwOS code in French and Italian!"
|
0
|
58 ;=============================================================================
|
|
59 ;---- PASS 1 : generate description block ------------------------------------
|
|
60 tcode_idx set 0
|
460
|
61 LANG set 0
|
0
|
62 #define TCODE TCODE_1
|
|
63 #include "text_french.inc"
|
|
64 #undefine TCODE
|
|
65
|
|
66 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
67 tcode_idx set 0
|
|
68 #define TCODE TCODE_2
|
|
69 #include "text_french.inc"
|
|
70 #undefine TCODE
|
|
71
|
|
72 ;=============================================================================
|
448
|
73 global text_2_base
|
|
74 text_2_base:
|
0
|
75
|
|
76 ;---- PASS 1 : generate description block ------------------------------------
|
|
77 tcode_idx set 0
|
460
|
78 LANG set 1
|
0
|
79 #define TCODE TCODE_1
|
|
80 #include "text_italian.inc"
|
|
81 #undefine TCODE
|
|
82
|
|
83 ;---- PASS 2 : generate text contens -----------------------------------------
|
|
84 tcode_idx set 0
|
|
85 #define TCODE TCODE_2
|
|
86 #include "text_italian.inc"
|
|
87 #undefine TCODE
|
|
88
|
448
|
89 ENDIF
|
|
90
|
0
|
91 ;=============================================================================
|
|
92
|
|
93 END
|