annotate src/text_multilang.asm @ 307:14719662fb95 new_screen_layout

Merged Screen layout work #4 into VSItextv2
author Janos Kovacs <kovjanos@gmail.com>
date Tue, 02 Jun 2015 23:38:21 +0100
parents 11d4fc797f74
children aadfe9f2edaf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File text_multilang.asm
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ; Implementation text in various selectable languages.
heinrichsweikamp
parents:
diff changeset
6 ;
heinrichsweikamp
parents:
diff changeset
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
8 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
9 ; HISTORY
heinrichsweikamp
parents:
diff changeset
10 ; 2011-06-12 : [jDG] Creation...
heinrichsweikamp
parents:
diff changeset
11
heinrichsweikamp
parents:
diff changeset
12 #include "text_multilang.inc"
heinrichsweikamp
parents:
diff changeset
13
heinrichsweikamp
parents:
diff changeset
14 ; Because text are indexed by 12bits value in FSR register, they can't
heinrichsweikamp
parents:
diff changeset
15 ; just be anywhere. It is safe to make them start in address 0xHHH000.
heinrichsweikamp
parents:
diff changeset
16 texts code 0x009000
heinrichsweikamp
parents:
diff changeset
17
heinrichsweikamp
parents:
diff changeset
18 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
19 global text_english_base
heinrichsweikamp
parents:
diff changeset
20 text_english_base:
heinrichsweikamp
parents:
diff changeset
21
heinrichsweikamp
parents:
diff changeset
22 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
23 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
24 LANG set 0
heinrichsweikamp
parents:
diff changeset
25 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
26 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
27 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
28
heinrichsweikamp
parents:
diff changeset
29 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
30 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
31 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
32 #include "text_english.inc"
heinrichsweikamp
parents:
diff changeset
33 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
34
heinrichsweikamp
parents:
diff changeset
35 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
36 global text_german_base
heinrichsweikamp
parents:
diff changeset
37 text_german_base:
heinrichsweikamp
parents:
diff changeset
38
heinrichsweikamp
parents:
diff changeset
39 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
40 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
41 LANG set 1
heinrichsweikamp
parents:
diff changeset
42 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
43 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
44 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
45
heinrichsweikamp
parents:
diff changeset
46 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
47 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
48 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
49 #include "text_german.inc"
heinrichsweikamp
parents:
diff changeset
50 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
51
heinrichsweikamp
parents:
diff changeset
52 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
53 global text_french_base
heinrichsweikamp
parents:
diff changeset
54 text_french_base
heinrichsweikamp
parents:
diff changeset
55
heinrichsweikamp
parents:
diff changeset
56 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
57 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
58 LANG set 2
heinrichsweikamp
parents:
diff changeset
59 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
60 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
61 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
62
heinrichsweikamp
parents:
diff changeset
63 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
64 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
65 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
66 #include "text_french.inc"
heinrichsweikamp
parents:
diff changeset
67 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
68
heinrichsweikamp
parents:
diff changeset
69 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
70 global text_italian_base
heinrichsweikamp
parents:
diff changeset
71 text_italian_base
heinrichsweikamp
parents:
diff changeset
72
heinrichsweikamp
parents:
diff changeset
73 ;---- PASS 1 : generate description block ------------------------------------
heinrichsweikamp
parents:
diff changeset
74 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
75 LANG set 3
heinrichsweikamp
parents:
diff changeset
76 #define TCODE TCODE_1
heinrichsweikamp
parents:
diff changeset
77 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
78 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
79
heinrichsweikamp
parents:
diff changeset
80 ;---- PASS 2 : generate text contens -----------------------------------------
heinrichsweikamp
parents:
diff changeset
81 tcode_idx set 0
heinrichsweikamp
parents:
diff changeset
82 #define TCODE TCODE_2
heinrichsweikamp
parents:
diff changeset
83 #include "text_italian.inc"
heinrichsweikamp
parents:
diff changeset
84 #undefine TCODE
heinrichsweikamp
parents:
diff changeset
85
heinrichsweikamp
parents:
diff changeset
86 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
87
heinrichsweikamp
parents:
diff changeset
88 END