Mercurial > public > hwos_code
comparison src/text_multilang.asm @ 460:89b480ce4a26
French/Italian release
author | heinrichsweikamp |
---|---|
date | Mon, 10 Oct 2016 14:48:43 +0200 |
parents | aadfe9f2edaf |
children | b7eb98dbd800 |
comparison
equal
deleted
inserted
replaced
459:25b2ca3dafa9 | 460:89b480ce4a26 |
---|---|
8 ;============================================================================= | 8 ;============================================================================= |
9 ; HISTORY | 9 ; HISTORY |
10 ; 2011-06-12 : [jDG] Creation... | 10 ; 2011-06-12 : [jDG] Creation... |
11 | 11 |
12 #include "text_multilang.inc" | 12 #include "text_multilang.inc" |
13 #include "hwos.inc" | |
13 | 14 |
14 ; Because text are indexed by 12bits value in FSR register, they can't | 15 ; 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 ; just be anywhere. It is safe to make them start in address 0xHHH000. |
16 texts code 0x009000 | 17 texts code 0x009000 |
17 | 18 |
53 ELSE | 54 ELSE |
54 MESSG "hwOS code in French and Italian!" | 55 MESSG "hwOS code in French and Italian!" |
55 ;============================================================================= | 56 ;============================================================================= |
56 ;---- PASS 1 : generate description block ------------------------------------ | 57 ;---- PASS 1 : generate description block ------------------------------------ |
57 tcode_idx set 0 | 58 tcode_idx set 0 |
58 LANG set 2 | 59 LANG set 0 |
59 #define TCODE TCODE_1 | 60 #define TCODE TCODE_1 |
60 #include "text_french.inc" | 61 #include "text_french.inc" |
61 #undefine TCODE | 62 #undefine TCODE |
62 | 63 |
63 ;---- PASS 2 : generate text contens ----------------------------------------- | 64 ;---- PASS 2 : generate text contens ----------------------------------------- |
70 global text_2_base | 71 global text_2_base |
71 text_2_base: | 72 text_2_base: |
72 | 73 |
73 ;---- PASS 1 : generate description block ------------------------------------ | 74 ;---- PASS 1 : generate description block ------------------------------------ |
74 tcode_idx set 0 | 75 tcode_idx set 0 |
75 LANG set 3 | 76 LANG set 1 |
76 #define TCODE TCODE_1 | 77 #define TCODE TCODE_1 |
77 #include "text_italian.inc" | 78 #include "text_italian.inc" |
78 #undefine TCODE | 79 #undefine TCODE |
79 | 80 |
80 ;---- PASS 2 : generate text contens ----------------------------------------- | 81 ;---- PASS 2 : generate text contens ----------------------------------------- |