Mercurial > public > hwos_code
comparison src/text_multilang.asm @ 0:11d4fc797f74
init
| author | heinrichsweikamp |
|---|---|
| date | Wed, 24 Apr 2013 19:22:45 +0200 |
| parents | |
| children | aadfe9f2edaf |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:11d4fc797f74 |
|---|---|
| 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 ;============================================================================= | |
| 19 global text_english_base | |
| 20 text_english_base: | |
| 21 | |
| 22 ;---- PASS 1 : generate description block ------------------------------------ | |
| 23 tcode_idx set 0 | |
| 24 LANG set 0 | |
| 25 #define TCODE TCODE_1 | |
| 26 #include "text_english.inc" | |
| 27 #undefine TCODE | |
| 28 | |
| 29 ;---- PASS 2 : generate text contens ----------------------------------------- | |
| 30 tcode_idx set 0 | |
| 31 #define TCODE TCODE_2 | |
| 32 #include "text_english.inc" | |
| 33 #undefine TCODE | |
| 34 | |
| 35 ;============================================================================= | |
| 36 global text_german_base | |
| 37 text_german_base: | |
| 38 | |
| 39 ;---- PASS 1 : generate description block ------------------------------------ | |
| 40 tcode_idx set 0 | |
| 41 LANG set 1 | |
| 42 #define TCODE TCODE_1 | |
| 43 #include "text_german.inc" | |
| 44 #undefine TCODE | |
| 45 | |
| 46 ;---- PASS 2 : generate text contens ----------------------------------------- | |
| 47 tcode_idx set 0 | |
| 48 #define TCODE TCODE_2 | |
| 49 #include "text_german.inc" | |
| 50 #undefine TCODE | |
| 51 | |
| 52 ;============================================================================= | |
| 53 global text_french_base | |
| 54 text_french_base | |
| 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 ;============================================================================= | |
| 70 global text_italian_base | |
| 71 text_italian_base | |
| 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 | |
| 86 ;============================================================================= | |
| 87 | |
| 88 END |
