annotate code_part1/OSTC_code_c_part2/p2_definitions.h @ 137:e6aa4a74c3c2

Fix: Customviews for Apnoe and Gauge mode
author mh <>
date Wed, 05 Jan 2011 20:44:10 +0100
parents 14a074e1a375
children 144822282fa3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
1 // *********************************************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
2 // ** Common definitions for the OSTC decompression code **
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
3 // *********************************************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
4
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
5 //////////////////////////////////////////////////////////////////////////////
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
6 // OSTC - diving computer code
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
7 // Copyright (C) 2008 HeinrichsWeikamp GbR
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
8 //
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
9 // This program is free software: you can redistribute it and/or modify
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
10 // it under the terms of the GNU General Public License as published by
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
11 // the Free Software Foundation, either version 3 of the License, or
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
12 // (at your option) any later version.
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
13 //
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
14 // This program is distributed in the hope that it will be useful,
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
17 // GNU General Public License for more details.
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
18 //
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
19 // You should have received a copy of the GNU General Public License
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
21 //
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
22 //////////////////////////////////////////////////////////////////////////////
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
23 // history:
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
24 // 12/25/10 v110: [jDG] split in three files (deco.c, main.c, definitions.h)
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
25
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
26 # define DBG_c_gas 0b0000000000000001
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
27 # define DBG_c_ppO2 0b0000000000000010
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
28 # define DBG_RUN 0b0000000000000100
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
29 # define DBG_RESTART 0b0000000000001000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
30
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
31 # define DBG_CdeSAT 0b0000000000010000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
32 # define DBG_C_MODE 0b0000000000100000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
33 # define DBG_C_SURF 0b0000000001000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
34 # define DBG_HEwoHE 0b0000000010000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
35
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
36 # define DBG_C_DPPO2 0b0000000100000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
37 # define DBG_C_DGAS 0b0000001000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
38 # define DBG_C_DIST 0b0000010000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
39 # define DBG_C_LAST 0b0000100000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
40
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
41 # define DBG_C_GF 0b0001000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
42 # define DBG_ZH16ERR 0b0010000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
43 # define DBG_PHIGH 0b0100000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
44 # define DBG_PLOW 0b1000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
45
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
46
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
47 # define DBS_mode 0b0000000000000001
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
48 # define DBS_ppO2 0b0000000000000010
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
49 # define DBS_HE_sat 0b0000000000000100
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
50 # define DBS_ppO2chg 0b0000000000001000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
51
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
52 # define DBS_SAT2l 0b0000000000010000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
53 # define DBS_SAT2h 0b0000000000100000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
54 # define DBS_GFLOW2l 0b0000000001000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
55 # define DBS_GFLOW2h 0b0000000010000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
56
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
57 # define DBS_GFHGH2l 0b0000000100000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
58 # define DBS_GFHGH2h 0b0000001000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
59 # define DBS_GASO22l 0b0000010000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
60 # define DBS_GASO22h 0b0000100000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
61
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
62 # define DBS_DIST2h 0b0001000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
63 # define DBS_LAST2h 0b0010000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
64 # define DBS_DECOO2l 0b0100000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
65 # define DBS_DECOO2h 0b1000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
66
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
67
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
68 # define DBS2_PRES2h 0b0000000000000001
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
69 # define DBS2_PRES2l 0b0000000000000010
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
70 # define DBS2_SURF2l 0b0000000000000100
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
71 # define DBS2_SURF2h 0b0000000000001000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
72
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
73 # define DBS2_DESAT2l 0b0000000000010000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
74 # define DBS2_DESAT2h 0b0000000000100000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
75 # define DBS2_GFDneg 0b0000000001000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
76 # define DBS2_ 0b000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
77
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
78 # define DBS2_ 0b000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
79 # define DBS2_ 0b000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
80 # define DBS2_ 0b000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
81 # define DBS2_ 0b000000000000000
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
82
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
83 # define MBAR_REACH_GASCHANGE_AUTO_CHANGE_OFF 150
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
84
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
85 // *************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
86 // ** P R O T O T Y P E S **
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
87 // *************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
88 void calc_hauptroutine(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
89 void calc_tissue(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
90 void calc_nullzeit(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
91 void backup_sim_pres_tissue(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
92 void restore_sim_pres_tissue(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
93
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
94 void calc_without_deco(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
95 void clear_tissue(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
96 void calc_ascenttime(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
97 void update_startvalues(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
98 void clear_decoarray(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
99 void update_decoarray(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
100 void sim_tissue_1min(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
101 void sim_tissue_10min(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
102 void calc_gradient_factor(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
103 void calc_wo_deco_step_1_min(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
104 void calc_tissue_step_1_min(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
105 //void debug(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
106 void calc_percentage(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
107 void calc_hauptroutine_data_input(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
108 void calc_hauptroutine_update_tissues(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
109 void calc_hauptroutine_calc_deco(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
110 void calc_hauptroutine_calc_ascend_to_deco(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
111 //void build_debug_output(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
112 void calc_nextdecodepth_GF(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
113 void copy_deco_table_GF(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
114 void clear_internal_deco_table_GF(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
115 void update_internal_deco_table_GF(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
116
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
117
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
118 void deco_calc_hauptroutine(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
119 void deco_calc_without_deco(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
120 void deco_clear_tissue(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
121 void deco_calc_percentage(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
122 void deco_calc_wo_deco_step_1_min(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
123 void deco_debug(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
124 void deco_gradient_array(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
125 void deco_hash(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
126 void deco_calc_desaturation_time(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
127 void deco_calc_CNS_fraction(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
128 void deco_clear_CNS_fraction(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
129 void deco_push_tissues_to_vault(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
130 void deco_pull_tissues_from_vault(void);
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
131
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
132 // *************************************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
133 // ** V A R I A B L E S D E C L A R A T I O N S **
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
134 // *************************************************
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
135 // prefixes etc:
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
136 // _O_ = output for use in the assembler code
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
137 // _I_ = input from the assembler code for the c code
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
138 // char_ and int_ = used to identify output and input size
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
139 // var = variable (from b"uhlmann)
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
140 // pres = pressure
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
141 // gtissue = guiding tissue, the one limiting the ascent
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
142 // e2secs = exp of the b"uhlmann formula precalculated for a 2 second step
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
143 // e1min = same for 1 minute step
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
144 // sim = used in simulating the ascent to the surface
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
145 // nullzeit = remaining ground/bottom time for "no deco"
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
146 // hauptroutine = main
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
147
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
148 extern unsigned int int_O_tissue_for_debug[32];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
149 extern unsigned int int_O_GF_spare____;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
150 extern unsigned int int_O_GF_step;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
151 extern unsigned int int_O_gtissue_limit;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
152 extern unsigned int int_O_gtissue_press;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
153 extern unsigned int int_O_limit_GF_low;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
154 extern unsigned int int_O_gtissue_press_at_GF_low;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
155 extern unsigned char char_I_step_is_1min;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
156 extern unsigned char char_O_GF_low_pointer;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
157 extern unsigned char char_O_actual_pointer;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
158 extern unsigned char char_O_deco_table[32];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
159 extern unsigned char char_I_table_deco_done[32];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
160 extern unsigned int int_O_calc_tissue_call_counter;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
161
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
162 //---- Bank 5 parameters -----------------------------------------------------
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
163 extern unsigned int int_I_pres_respiration;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
164 extern unsigned int int_I_pres_surface;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
165 extern unsigned int int_I_temp;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
166 extern unsigned char char_I_temp;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
167 extern unsigned char char_I_actual_ppO2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
168 extern unsigned char char_I_deco_N2_ratio2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
169 extern unsigned char char_I_deco_He_ratio2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
170 extern unsigned char char_I_deco_N2_ratio3;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
171 extern unsigned char char_I_deco_He_ratio3;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
172 extern unsigned char char_I_deco_N2_ratio4;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
173 extern unsigned char char_I_deco_He_ratio4;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
174 extern unsigned char char_I_deco_N2_ratio5;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
175 extern unsigned char char_I_deco_He_ratio5;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
176 extern unsigned char char_I_N2_ratio;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
177 extern unsigned char char_I_He_ratio;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
178 extern unsigned char char_I_saturation_multiplier;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
179 extern unsigned char char_I_desaturation_multiplier;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
180 extern unsigned char char_I_GF_High_percentage;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
181 extern unsigned char char_I_GF_Low_percentage;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
182 extern unsigned char char_I_spare;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
183 extern unsigned char char_I_deco_distance;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
184 extern unsigned char char_I_const_ppO2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
185 extern unsigned char char_I_deco_ppO2_change;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
186 extern unsigned char char_I_deco_ppO2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
187 extern unsigned char char_I_deco_gas_change;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
188 extern unsigned char char_I_deco_N2_ratio;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
189 extern unsigned char char_I_deco_He_ratio;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
190 extern unsigned char char_I_depth_last_deco;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
191 extern unsigned char char_I_deco_model;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
192
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
193 extern unsigned int int_O_desaturation_time;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
194 extern unsigned char char_O_nullzeit;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
195 extern unsigned char char_O_deco_status;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
196 extern unsigned char char_O_array_decotime[7];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
197 extern unsigned char char_O_array_decodepth[6];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
198 extern unsigned char char_O_ascenttime;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
199 extern unsigned char char_O_gradient_factor;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
200 extern unsigned char char_O_tissue_saturation[32];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
201 extern unsigned char char_O_array_gradient_weighted[16];
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
202 extern unsigned char char_O_gtissue_no;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
203 extern unsigned char char_O_diluent;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
204 extern unsigned char char_O_CNS_fraction;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
205 extern unsigned char char_O_relative_gradient_GF;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
206 extern unsigned char char_I_deco_gas_change2;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
207 extern unsigned char char_I_deco_gas_change3;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
208 extern unsigned char char_I_deco_gas_change4;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
209 extern unsigned char char_I_deco_gas_change5;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
210
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
211 //---- Bank 9 parameters -----------------------------------------------------
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
212 extern unsigned int int_O_DBS_bitfield;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
213 extern unsigned int int_O_DBS2_bitfield;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
214 extern unsigned int int_O_DBG_pre_bitfield;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
215 extern unsigned int int_O_DBG_post_bitfield;
14a074e1a375 Split C code, and use direct linking.
JeanDo
parents:
diff changeset
216 extern unsigned char char_O_NDL_at_20mtr;