annotate code_part1/OSTC_code_asm_part1/dive_air.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 8aa8acada0fd
children 652e17b6267a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
110
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
1 dive_air_width equ .78
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
2 dive_air_height equ .26
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
3 dive_air_block:
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
4 db .39, .26
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
5 db .5, 0
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
6 dw 0x0000 ; rgb=(0,0,0)
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
7 dw 0x31a6 ; rgb=(53,53,53)
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
8 dw 0x7bcf ; rgb=(122,122,122)
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
9 dw 0xbdd7 ; rgb=(185,185,185)
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
10 dw 0xffff ; rgb=(255,255,255)
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
11 ;
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
12 db 0x07, 0x49, 0x0f, 0x49, 0x0f, 0x41, 0x05, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
13 db 0x0f, 0x41, 0x05, 0x41, 0x0e, 0x20, 0x41, 0x05
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
14 db 0x41, 0x20, 0x0b, 0x10, 0x30, 0x42, 0x05, 0x42
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
15 db 0x30, 0x10, 0x08, 0x20, 0x42, 0x20, 0x10, 0x05
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
16 db 0x10, 0x20, 0x42, 0x20, 0x06, 0x20, 0x41, 0x30
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
17 db 0x0b, 0x30, 0x41, 0x20, 0x04, 0x20, 0x41, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
18 db 0x0d, 0x20, 0x41, 0x20, 0x02, 0x10, 0x41, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
19 db 0x0f, 0x20, 0x41, 0x10, 0x01, 0x30, 0x40, 0x30
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
20 db 0xf1, 0x01, 0x30, 0x40, 0x30, 0x00, 0x10, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
21 db 0x10, 0xf1, 0x01, 0x10, 0x41, 0x10, 0x20, 0x40
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
22 db 0x30, 0xf1, 0x03, 0x30, 0x40, 0x20, 0x30, 0x40
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
23 db 0x20, 0xf1, 0x03, 0x20, 0x40, 0x30, 0x41, 0x10
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
24 db 0xf1, 0x03, 0x10, 0x43, 0xf1, 0x05, 0x43, 0xf1
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
25 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
26 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
27 db 0x43, 0xf1, 0x05, 0x43, 0x0f, 0x11, 0x03, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
28 db 0x0b, 0x10, 0x20, 0x30, 0x41, 0x20, 0x03, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
29 db 0x08, 0x10, 0x30, 0x45, 0x20, 0x03, 0x43, 0x04
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
30 db 0x10, 0x20, 0x30, 0x45, 0x20, 0x10, 0x05, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
31 db 0x02, 0x10, 0x45, 0x30, 0x20, 0x41, 0x07, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
32 db 0x02, 0x20, 0x43, 0x20, 0x02, 0x41, 0x07, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
33 db 0x02, 0x20, 0x45, 0x30, 0x20, 0x41, 0x07, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
34 db 0x02, 0x10, 0x30, 0x48, 0x20, 0x10, 0x05, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
35 db 0x05, 0x10, 0x20, 0x30, 0x47, 0x20, 0x03, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
36 db 0x09, 0x10, 0x30, 0x44, 0x20, 0x03, 0x43, 0x0c
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
37 db 0x10, 0x20, 0x30, 0x40, 0x20, 0x03, 0x43, 0xf1
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
38 db 0x00, 0x10, 0x03, 0x43, 0xf1, 0x05, 0x43, 0x06
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
39 db 0x30, 0x40, 0x10, 0x0b, 0x43, 0x06, 0x30, 0x40
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
40 db 0x10, 0x0b, 0x43, 0x06, 0x30, 0x40, 0x10, 0x0b
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
41 db 0x43, 0x01, 0x10, 0x21, 0x10, 0x00, 0x30, 0x40
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
42 db 0x30, 0x26, 0x10, 0x03, 0x43, 0x01, 0x20, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
43 db 0x20, 0x00, 0x30, 0x48, 0x20, 0x03, 0x43, 0x01
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
44 db 0x20, 0x41, 0x20, 0x00, 0x30, 0x48, 0x20, 0x03
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
45 db 0x43, 0x01, 0x10, 0x21, 0x10, 0x00, 0x29, 0x10
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
46 db 0x03, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
47 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0x06, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
48 db 0x38, 0x20, 0x03, 0x43, 0x06, 0x30, 0x48, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
49 db 0x03, 0x43, 0x06, 0x30, 0x48, 0x20, 0x03, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
50 db 0x07, 0x30, 0x41, 0x10, 0x09, 0x43, 0x06, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
51 db 0x41, 0x10, 0x0a, 0x43, 0x06, 0x41, 0x30, 0x0b
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
52 db 0x43, 0x06, 0x42, 0x20, 0x0a, 0x43, 0x06, 0x42
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
53 db 0x30, 0x0a, 0x43, 0x06, 0x23, 0x0a, 0x43, 0xf1
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
54 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
55 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
56 db 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
57 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0x10, 0xf1, 0x03
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
58 db 0x10, 0x41, 0x30, 0x40, 0x10, 0xf1, 0x03, 0x10
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
59 db 0x40, 0x30, 0x20, 0x40, 0x30, 0xf1, 0x03, 0x30
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
60 db 0x40, 0x20, 0x10, 0x41, 0xf1, 0x03, 0x41, 0x10
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
61 db 0x00, 0x30, 0x40, 0x20, 0xf1, 0x01, 0x20, 0x40
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
62 db 0x30, 0x01, 0x10, 0x41, 0x10, 0x0f, 0x10, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
63 db 0x10, 0x02, 0x30, 0x41, 0x10, 0x0d, 0x10, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
64 db 0x30, 0x04, 0x30, 0x41, 0x10, 0x0b, 0x10, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
65 db 0x30, 0x06, 0x30, 0x41, 0x20, 0x09, 0x20, 0x41
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
66 db 0x30, 0x08, 0x30, 0x42, 0x30, 0x11, 0x01, 0x11
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
67 db 0x30, 0x42, 0x30, 0x0a, 0x10, 0x30, 0x49, 0x30
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
68 db 0x10, 0x0d, 0x10, 0x20, 0x30, 0x43, 0x30, 0x20
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
69 db 0x10, 0x07