Mercurial > public > mk2
annotate code_part1/OSTC_code_asm_part1/dive_trimix.inc @ 186:57a654c199ae
BUGFIX Gradient Factor algo.
+ Fix calc_hauptroutine_update_tissues() crazzy calculation in GF mode for deco limit.
+ Backup lock/GF_step/deco_pointer during ascent simulation.
author | JeanDo |
---|---|
date | Wed, 02 Feb 2011 00:09:30 +0100 |
parents | e0f29e20bd24 |
children | 652e17b6267a |
rev | line source |
---|---|
110 | 1 dive_trimix_width equ .78 |
2 dive_trimix_height equ .26 | |
3 dive_trimix_block: | |
4 db .39, .26 | |
121
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
5 db .12, 0 |
110 | 6 dw 0x0000 ; rgb=(0,0,0) |
121
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
7 dw 0x1881 ; rgb=(26,17,8) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
8 dw 0x3942 ; rgb=(63,41,19) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
9 dw 0x59e3 ; rgb=(95,60,26) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
10 dw 0x6a23 ; rgb=(107,68,30) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
11 dw 0x7264 ; rgb=(117,76,36) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
12 dw 0x61c2 ; rgb=(96,56,19) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
13 dw 0xb4f1 ; rgb=(176,157,139) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
14 dw 0x8349 ; rgb=(134,104,76) |
110 | 15 dw 0xffff ; rgb=(255,255,255) |
121
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
16 dw 0xde98 ; rgb=(217,208,199) |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
17 dw 0xa44e ; rgb=(160,137,115) |
110 | 18 ; |
121
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
19 db 0xf0, 0x07, 0x59, 0x0f, 0x59, 0x0f, 0x51, 0x65 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
20 db 0x51, 0x0f, 0x51, 0x65, 0x51, 0x0e, 0x10, 0x51 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
21 db 0x65, 0x51, 0x10, 0x0b, 0x10, 0x30, 0x52, 0x65 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
22 db 0x52, 0x30, 0x10, 0x08, 0x20, 0x52, 0x40, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
23 db 0x40, 0x52, 0x20, 0x06, 0x20, 0x51, 0x81, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
24 db 0x69, 0x40, 0x51, 0x20, 0x04, 0x10, 0x51, 0x40 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
25 db 0x70, 0x90, 0x70, 0x6a, 0x40, 0x51, 0x10, 0x02 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
26 db 0x10, 0x40, 0x50, 0x40, 0x60, 0x70, 0x90, 0x70 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
27 db 0x6b, 0x40, 0x50, 0x40, 0x10, 0x01, 0x20, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
28 db 0x40, 0x61, 0x70, 0x90, 0x70, 0x6c, 0x40, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
29 db 0x20, 0x00, 0x10, 0x51, 0x62, 0x70, 0x90, 0xa0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
30 db 0x7a, 0x80, 0x61, 0x51, 0x10, 0x20, 0x50, 0x40 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
31 db 0x62, 0x70, 0x9c, 0x70, 0x61, 0x40, 0x50, 0x20 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
32 db 0x30, 0x50, 0x40, 0x62, 0x70, 0x9c, 0x70, 0x61 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
33 db 0x40, 0x50, 0x30, 0x40, 0x50, 0x63, 0x70, 0x90 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
34 db 0xa0, 0x7a, 0x80, 0x62, 0x50, 0x40, 0x51, 0x63 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
35 db 0x70, 0x90, 0x70, 0x6e, 0x53, 0x63, 0x70, 0x90 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
36 db 0x70, 0x6e, 0x53, 0x63, 0x70, 0x90, 0x70, 0x6e |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
37 db 0x53, 0x63, 0x80, 0x70, 0x80, 0x6e, 0x53, 0xf1 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
38 db 0x65, 0x53, 0x67, 0xb0, 0x78, 0x80, 0x62, 0x53 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
39 db 0x67, 0xa0, 0x98, 0x70, 0x62, 0x53, 0x67, 0xa0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
40 db 0x98, 0x70, 0x62, 0x53, 0x67, 0x80, 0xa0, 0x91 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
41 db 0xb0, 0x84, 0x50, 0x62, 0x53, 0x67, 0x70, 0x91 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
42 db 0x80, 0x69, 0x53, 0x67, 0xa0, 0x90, 0xa0, 0x6a |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
43 db 0x53, 0x67, 0x91, 0xa0, 0x80, 0x69, 0x53, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
44 db 0x92, 0xa0, 0x69, 0x53, 0x67, 0xa2, 0x70, 0x69 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
45 db 0x53, 0xf1, 0x65, 0x53, 0xf1, 0x65, 0x53, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
46 db 0x70, 0xa0, 0x80, 0x6a, 0x53, 0x67, 0xa0, 0x90 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
47 db 0x80, 0x6a, 0x53, 0x67, 0xa0, 0x90, 0x80, 0x6a |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
48 db 0x53, 0x62, 0x50, 0x81, 0x50, 0x60, 0xa0, 0x90 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
49 db 0xb0, 0x86, 0x50, 0x62, 0x53, 0x62, 0x70, 0x91 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
50 db 0x70, 0x60, 0xa0, 0x98, 0x70, 0x62, 0x53, 0x62 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
51 db 0x70, 0x91, 0x70, 0x60, 0xa0, 0x98, 0x70, 0x62 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
52 db 0x53, 0x62, 0x80, 0x71, 0x80, 0x60, 0xb0, 0x78 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
53 db 0x80, 0x62, 0x53, 0xf1, 0x65, 0x53, 0xf1, 0x65 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
54 db 0x53, 0xf1, 0x65, 0x53, 0x67, 0x70, 0xa8, 0xb0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
55 db 0x62, 0x53, 0x67, 0xa0, 0x98, 0x70, 0x62, 0x53 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
56 db 0x67, 0xb0, 0xa0, 0x90, 0xa0, 0x75, 0x80, 0x62 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
57 db 0x53, 0x67, 0x70, 0x91, 0x86, 0x50, 0x62, 0x53 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
58 db 0x67, 0x99, 0x70, 0x62, 0x53, 0x67, 0xa0, 0x98 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
59 db 0x70, 0x62, 0x53, 0x67, 0x80, 0xa0, 0x90, 0x70 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
60 db 0x85, 0x50, 0x62, 0x53, 0x67, 0x92, 0x76, 0x80 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
61 db 0x62, 0x53, 0x67, 0x99, 0x70, 0x62, 0x53, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
62 db 0x80, 0xa8, 0xb0, 0x62, 0x53, 0xf1, 0x65, 0x53 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
63 db 0xf1, 0x65, 0x53, 0x67, 0x70, 0xa0, 0x80, 0x6a |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
64 db 0x53, 0x67, 0xa0, 0x90, 0x80, 0x6a, 0x53, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
65 db 0xa0, 0x90, 0x80, 0x6a, 0x53, 0x62, 0x50, 0x81 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
66 db 0x50, 0x60, 0xa0, 0x90, 0xb0, 0x86, 0x50, 0x62 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
67 db 0x53, 0x62, 0x70, 0x91, 0x70, 0x60, 0xa0, 0x98 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
68 db 0x70, 0x62, 0x53, 0x62, 0x70, 0x91, 0x70, 0x60 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
69 db 0xa0, 0x98, 0x70, 0x62, 0x53, 0x62, 0x80, 0x71 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
70 db 0x80, 0x60, 0xb0, 0x78, 0x80, 0x62, 0x53, 0xf1 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
71 db 0x65, 0x53, 0xf1, 0x65, 0x53, 0xf1, 0x61, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
72 db 0x62, 0x53, 0x67, 0x70, 0x80, 0x65, 0x40, 0xa0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
73 db 0x70, 0x62, 0x53, 0x67, 0xa0, 0x90, 0x70, 0x40 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
74 db 0x62, 0x80, 0xa0, 0x90, 0x70, 0x62, 0x53, 0x67 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
75 db 0xa0, 0x91, 0xa0, 0x80, 0x60, 0x70, 0x92, 0x80 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
76 db 0x62, 0x51, 0x40, 0x50, 0x67, 0x70, 0x93, 0xa0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
77 db 0x91, 0xa0, 0x80, 0x63, 0x50, 0x40, 0x30, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
78 db 0x30, 0x67, 0xb0, 0x94, 0xa0, 0x40, 0x63, 0x30 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
79 db 0x50, 0x30, 0x20, 0x50, 0x40, 0x68, 0xb0, 0x94 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
80 db 0x70, 0x40, 0x62, 0x40, 0x50, 0x20, 0x10, 0x51 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
81 db 0x67, 0x70, 0x96, 0xa0, 0x80, 0x61, 0x51, 0x10 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
82 db 0x00, 0x30, 0x50, 0x40, 0x65, 0xa0, 0x91, 0xa0 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
83 db 0x40, 0x50, 0xa0, 0x92, 0x70, 0x60, 0x40, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
84 db 0x30, 0x01, 0x10, 0x51, 0x30, 0x64, 0xa0, 0x90 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
85 db 0x70, 0x63, 0xb0, 0x91, 0x70, 0x30, 0x51, 0x10 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
86 db 0x02, 0x20, 0x51, 0x64, 0x70, 0x80, 0x65, 0x50 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
87 db 0xa0, 0x70, 0x51, 0x20, 0x04, 0x30, 0x51, 0x30 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
88 db 0x6b, 0x30, 0x80, 0x50, 0x30, 0x06, 0x30, 0x51 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
89 db 0x40, 0x69, 0x40, 0x51, 0x30, 0x08, 0x20, 0x52 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
90 db 0x40, 0x30, 0x63, 0x30, 0x40, 0x52, 0x30, 0x0a |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
91 db 0x10, 0x30, 0x59, 0x30, 0x10, 0x0d, 0x10, 0x20 |
e0f29e20bd24
Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents:
110
diff
changeset
|
92 db 0x30, 0x53, 0x30, 0x20, 0x10, 0x07 |