annotate code_part1/OSTC_code_c_part2/shared_definitions.h @ 168:494587193f5d

Use 16bits for TTS sum. + Display in divemode as 16bits. + Display in decoplanning as 16bits.
author JeanDo
date Tue, 25 Jan 2011 01:02:35 +0100
parents cb055a7d75f3
children e26f49674956
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
2 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
3 ; shared_definitions.h
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
4 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
5 ; Declare variables used both in C and ASM code
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
6 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
7 ; This program is free software: you can redistribute it and/or modify
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
8 ; it under the terms of the GNU General Public License as published by
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
9 ; the Free Software Foundation, either version 3 of the License, or
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
10 ; (at your option) any later version.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
11 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
12 ; This program is distributed in the hope that it will be useful,
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
13 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
14 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
15 ; GNU General Public License for more details.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
16 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
17 ; You should have received a copy of the GNU General Public License
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
18 ; along with this program. If not, see <http://www.gnu.org/licenses/>.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
19 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
20 ; Copyright (c) 2010, JD Gascuel.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
21 ;=============================================================================
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
22 ; RATIONAL
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
23 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
24 ; We must enforce good data passing between the C and the ASM parts of code.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
25 ; The previous design used two independant definitions of each variable,
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
26 ; one in C, one in ASM. If they did not match, no error was generated, and
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
27 ; anything can happend at runtime...
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
28 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
29 ; The new design use LINKING to ensure the variables defined in C are at the
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
30 ; same address when used in ASM code. And it uses a unique declaration file
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
31 ; (with suitable macros) to make sure they have the same size in both language.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
32 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
33 ; HISTORY
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
34 ; 2011-01-20: [jDG] Creation.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
35 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
36 ; NOTE
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
37 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
38 ; This file have to obey both ASM and C syntax. The only common directives
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
39 ; are #if/#ifdef/#endif and the #define, so they are eavily used to do the
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
40 ; trick.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
41 ;
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
42 ; BUGS
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
43 ;=============================================================================
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
44 #endif
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
45
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
46 #ifdef __18CXX
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
47 //------------------------------------------------------------------------
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
48 // C-style declarations:
167
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
49 # ifdef TEST_MAIN
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
50 # define VAR_UCHAR(n) extern unsigned char n
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
51 # define TAB_UCHAR(n,size) extern unsigned char n[size]
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
52 # define VAR_UINT(n) extern unsigned int n
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
53 # define TAB_UINT(n,size) extern unsigned int n[size]
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
54 # else
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
55 # define VAR_UCHAR(n) unsigned char n
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
56 # define TAB_UCHAR(n,size) unsigned char n[size]
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
57 # define VAR_UINT(n) unsigned int n
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
58 # define TAB_UINT(n,size) unsigned int n[size]
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
59 # endif
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
60 #else
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
61 ;-------------------------------------------------------------------------
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
62 ; ASM-style declarations:
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
63 #define VAR_UCHAR(n) n res 1
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
64 #define TAB_UCHAR(n,size) n res size
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
65 #define VAR_UINT(n) n res 2
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
66 #define TAB_UINT(n,size) n res 2*size
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
67 #endif
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
68
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
69 #ifdef __18CXX
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
70 //---- BANK 2 DATA -------------------------------------------------------
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
71 // Gather all data C-code --> ASM-code
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
72 # pragma udata overlay bank2=0x200
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
73 #else
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
74 bank2 udata_ovr 0x200
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
75 #endif
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
76
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
77 VAR_UINT (int_O_GF_step);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
78 VAR_UINT (int_O_gtissue_limit);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
79 VAR_UINT (int_O_gtissue_press);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
80 VAR_UINT (int_O_limit_GF_low);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
81 VAR_UINT (int_O_gtissue_press_at_GF_low);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
82 VAR_UINT (int_O_calc_tissue_call_counter);
168
494587193f5d Use 16bits for TTS sum.
JeanDo
parents: 167
diff changeset
83 VAR_UINT (int_O_desaturation_time); //
494587193f5d Use 16bits for TTS sum.
JeanDo
parents: 167
diff changeset
84 VAR_UINT (int_O_ascenttime); // TTS (in minutes)
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
85
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
86 VAR_UCHAR (char_O_GF_low_pointer);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
87 VAR_UCHAR (char_O_actual_pointer);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
88
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
89 VAR_UCHAR (char_O_nullzeit); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
90 VAR_UCHAR (char_O_deco_status); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
91 VAR_UCHAR (char_O_gradient_factor); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
92 VAR_UCHAR (char_O_gtissue_no); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
93 VAR_UCHAR (char_O_diluent); // new in v.101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
94 VAR_UCHAR (char_O_CNS_fraction); // new in v.101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
95 VAR_UCHAR (char_O_relative_gradient_GF); // new in v.102
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
96
165
8b5b848db4cd + Clean Buhlmann tables addressing
JeanDo
parents: 164
diff changeset
97 TAB_UCHAR (char_O_array_decotime, 7); // Old-school decompression table (ZH-L16)
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
98 TAB_UCHAR (char_O_array_decodepth, 6); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
99
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
100 TAB_UCHAR (char_O_deco_table, 0x20); // New school decompression table (GF mode)
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
101 TAB_UCHAR (char_O_tissue_saturation, 0x20); // Compartiment desaturation time, in min.
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
102
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
103 VAR_UINT (int_O_DBS_bitfield);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
104 VAR_UINT (int_O_DBS2_bitfield);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
105 VAR_UINT (int_O_DBG_pre_bitfield);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
106 VAR_UINT (int_O_DBG_post_bitfield);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
107 VAR_UCHAR (char_O_NDL_at_20mtr);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
108
164
999abb01c78f + Change data allocation scheme
JeanDo
parents: 163
diff changeset
109 TAB_UCHAR (char_O_hash, 16);
999abb01c78f + Change data allocation scheme
JeanDo
parents: 163
diff changeset
110
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
111 #ifdef __18CXX
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
112 //---- BANK 3 DATA -------------------------------------------------------
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
113 // Gather all data ASM-code --> C-code
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
114 # pragma udata overlay bank3=0x300
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
115 #else
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
116 ; In ASM, put the same bank, in overlay mode, at the same address
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
117 bank3 udata_ovr 0x300
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
118 #endif
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
119
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
120 VAR_UCHAR (char_I_step_is_1min);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
121 TAB_UCHAR (char_I_table_deco_done, 0x20);
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
122
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
123 VAR_UINT (int_I_pres_respiration); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
124 VAR_UINT (int_I_pres_surface); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
125 VAR_UINT (int_I_temp); // new in v101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
126 VAR_UCHAR (char_I_temp); // new in v101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
127 VAR_UCHAR (char_I_actual_ppO2); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
128 VAR_UCHAR (char_I_N2_ratio); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
129 VAR_UCHAR (char_I_He_ratio); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
130 VAR_UCHAR (char_I_saturation_multiplier); // for conservatism/safety values 1.0 no conservatism to 1.5 50% faster saturation
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
131 VAR_UCHAR (char_I_desaturation_multiplier);// for conservatism/safety values 0.66 50% slower desaturation to 1.0 no conservatism// consveratism used in calc_tissue , calc_tissue_step_1_min and sim_tissue_1min
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
132 VAR_UCHAR (char_I_GF_High_percentage); // new in v.102
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
133 VAR_UCHAR (char_I_GF_Low_percentage); // new in v.102
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
134 VAR_UCHAR (char_I_deco_distance); //
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
135 VAR_UCHAR (char_I_const_ppO2); // new in v.101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
136 VAR_UCHAR (char_I_deco_ppO2_change); // new in v.101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
137 VAR_UCHAR (char_I_deco_ppO2); // new in v.101
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
138 VAR_UCHAR (char_I_depth_last_deco); // new in v.101 unit: [m]
167
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
139 VAR_UCHAR (char_I_deco_model); // new in v.102. 0 == ZH-L16, 1 = ZH-L16-GF (Grandiant facttor)
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
140
167
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
141 VAR_UCHAR (char_I_deco_gas_change1); // new in v.101
163
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
142 VAR_UCHAR (char_I_deco_gas_change2); // new in v.109
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
143 VAR_UCHAR (char_I_deco_gas_change3); // new in v.109
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
144 VAR_UCHAR (char_I_deco_gas_change4); // new in v.109
144822282fa3 Fusion declaration of shared C/ASM variables.
JeanDo
parents:
diff changeset
145 VAR_UCHAR (char_I_deco_gas_change5); // new in v.109
167
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
146
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
147 VAR_UCHAR (char_I_deco_N2_ratio1); // new in v.101
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
148 VAR_UCHAR (char_I_deco_He_ratio1); // new in v.101
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
149 VAR_UCHAR (char_I_deco_N2_ratio2); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
150 VAR_UCHAR (char_I_deco_He_ratio2); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
151 VAR_UCHAR (char_I_deco_N2_ratio3); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
152 VAR_UCHAR (char_I_deco_He_ratio3); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
153 VAR_UCHAR (char_I_deco_N2_ratio4); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
154 VAR_UCHAR (char_I_deco_He_ratio4); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
155 VAR_UCHAR (char_I_deco_N2_ratio5); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
156 VAR_UCHAR (char_I_deco_He_ratio5); // new in v.109
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
157
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
158 #ifdef __18CXX
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
159 //----------------------------------------------------------------------------
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
160 // Access to various utilities defined in ASM-code.
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
161 //
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
162 // Note: Need to switch to BANK1 before calling most of them !
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
163 extern unsigned char win_top, win_leftx2, win_font, win_invert;
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
164 extern ram unsigned char letter[26];
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
165
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
166 extern void PLED_ClearScreen(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
167 extern void PLED_standard_color(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
168 extern void PLED_warnings_color(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
169 extern void PLED_divemask_color(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
170
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
171 extern void PLED_box(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
172 extern void PLED_frame(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
173 extern void aa_wordprocessor(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
174
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
175 /// Set WREG color.
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
176 extern void PLED_set_color(void);
cb055a7d75f3 + Use overlay local vars.
JeanDo
parents: 165
diff changeset
177 #endif