annotate code_part1/OSTC_code_asm_part1/dive_nitrox.inc @ 148:055977afc2f9

Make loogbook search twice faster. + Cleanup inc/dec eeprom_address macros. + Cleanup loop menu_logbook2. + Make 2 bytes steps
author JeanDo
date Sun, 09 Jan 2011 16:04:02 +0100
parents e0f29e20bd24
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_nitrox_width equ .78
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
2 dive_nitrox_height equ .26
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
3 dive_nitrox_block:
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
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 .9, 0
110
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
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 0x10c0 ; rgb=(19,25,6)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
8 dw 0x4303 ; rgb=(71,96,24)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
9 dw 0x74c4 ; rgb=(115,154,38)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
10 dw 0x8dc5 ; rgb=(138,185,46)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
11 dw 0x9e66 ; rgb=(153,204,51)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
12 dw 0x2181 ; rgb=(37,49,12)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
13 dw 0x5bc3 ; rgb=(90,120,29)
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
14 dw 0x0860 ; rgb=(9,12,3)
110
8aa8acada0fd Display deco-type icon in surface mode.
JeanDo
parents:
diff changeset
15 ;
121
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
16 db 0xf0, 0x07, 0x59, 0x0f, 0x59, 0x0f, 0x59, 0x0f
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
17 db 0x59, 0x0e, 0x20, 0x59, 0x20, 0x0b, 0x60, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
18 db 0x5b, 0x30, 0x60, 0x08, 0x20, 0x5f, 0x20, 0x06
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
19 db 0x70, 0xf1, 0x51, 0x70, 0x04, 0x20, 0x52, 0x40
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
20 db 0x3c, 0x40, 0x51, 0x20, 0x02, 0x10, 0x40, 0x52
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
21 db 0x20, 0x0c, 0x20, 0x51, 0x40, 0x10, 0x01, 0x70
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
22 db 0x53, 0x20, 0x04, 0x67, 0x70, 0x52, 0x70, 0x00
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
23 db 0x10, 0x54, 0x30, 0x10, 0x03, 0x60, 0x30, 0x5a
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
24 db 0x10, 0x20, 0x56, 0x70, 0x80, 0x03, 0x60, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
25 db 0x58, 0x20, 0x30, 0x57, 0x40, 0x20, 0x80, 0x03
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
26 db 0x20, 0x40, 0x56, 0x30, 0x40, 0x59, 0x40, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
27 db 0x04, 0x20, 0x40, 0x54, 0x40, 0x5c, 0x40, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
28 db 0x03, 0x80, 0x30, 0x5a, 0x20, 0x0c, 0x20, 0x5a
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
29 db 0x20, 0x0c, 0x20, 0xf4, 0x52, 0x70, 0x20, 0x40
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
30 db 0xf1, 0x56, 0x60, 0x00, 0x30, 0xf1, 0x56, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
31 db 0x00, 0x30, 0xf1, 0x56, 0x60, 0x00, 0x30, 0xf1
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
32 db 0x51, 0x20, 0x01, 0x20, 0x50, 0x60, 0x08, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
33 db 0x59, 0x20, 0x01, 0x20, 0x50, 0x60, 0x08, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
34 db 0x59, 0x20, 0x01, 0x20, 0x50, 0x60, 0x08, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
35 db 0xf7, 0x56, 0x20, 0x00, 0x20, 0xf1, 0x56, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
36 db 0x00, 0x20, 0xf1, 0x53, 0x20, 0x08, 0x80, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
37 db 0x30, 0x5c, 0x20, 0x0b, 0x30, 0x5b, 0x20, 0x0b
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
38 db 0x60, 0x5e, 0x20, 0x00, 0x20, 0x53, 0x40, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
39 db 0x00, 0x60, 0x5e, 0x20, 0x00, 0x20, 0x54, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
40 db 0x00, 0x60, 0x5e, 0x20, 0x00, 0x20, 0x54, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
41 db 0x00, 0x60, 0x5e, 0x30, 0x20, 0x30, 0x54, 0x61
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
42 db 0x70, 0xf4, 0x52, 0x39, 0x40, 0x5e, 0x60, 0x08
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
43 db 0x20, 0x5e, 0x60, 0x08, 0x20, 0x5e, 0x70, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
44 db 0x01, 0x60, 0x24, 0x30, 0x5e, 0x30, 0x01, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
45 db 0xf1, 0x55, 0x60, 0x00, 0x10, 0xf1, 0x56, 0x01
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
46 db 0x60, 0xf1, 0x56, 0x02, 0x60, 0xf1, 0x55, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
47 db 0x01, 0x60, 0xf3, 0x51, 0x30, 0x20, 0x62, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
48 db 0x40, 0xf1, 0x51, 0x20, 0x05, 0x80, 0x70, 0x5f
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
49 db 0x30, 0x07, 0x80, 0x40, 0x5e, 0x60, 0x00, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
50 db 0x20, 0x32, 0x20, 0x01, 0x20, 0x5e, 0x01, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
51 db 0x54, 0x20, 0x00, 0x60, 0x5e, 0x01, 0x40, 0x54
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
52 db 0x30, 0x00, 0x60, 0x5e, 0x01, 0x20, 0x53, 0x40
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
53 db 0x60, 0x00, 0x60, 0x5e, 0x60, 0x01, 0x10, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
54 db 0x20, 0x60, 0x80, 0x01, 0x70, 0x5e, 0x30, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
55 db 0x06, 0x60, 0x40, 0x5f, 0x30, 0x10, 0x04, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
56 db 0x40, 0xf1, 0x52, 0x30, 0x70, 0x20, 0x70, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
57 db 0xf1, 0x51, 0x70, 0x40, 0x56, 0x71, 0x5e, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
58 db 0x10, 0x30, 0x53, 0x40, 0x20, 0x00, 0x20, 0x5e
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
59 db 0x60, 0x01, 0x20, 0x40, 0x50, 0x30, 0x60, 0x01
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
60 db 0x70, 0x54, 0x40, 0x58, 0x60, 0x02, 0x10, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
61 db 0x80, 0x01, 0x70, 0x54, 0x40, 0x30, 0x58, 0x40
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
62 db 0x60, 0x04, 0x10, 0x30, 0x55, 0x30, 0x20, 0x5a
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
63 db 0x20, 0x03, 0x10, 0x30, 0x55, 0x20, 0x60, 0x59
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
64 db 0x30, 0x80, 0x05, 0x20, 0x40, 0x53, 0x60, 0x00
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
65 db 0x30, 0x57, 0x70, 0x01, 0x80, 0x30, 0x70, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
66 db 0x02, 0x20, 0x52, 0x30, 0x01, 0x60, 0x57, 0x60
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
67 db 0x00, 0x60, 0x40, 0x51, 0x40, 0x60, 0x01, 0x20
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
68 db 0x52, 0x60, 0x02, 0x70, 0x56, 0x60, 0x20, 0x55
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
69 db 0x70, 0x80, 0x20, 0x51, 0x70, 0x03, 0x80, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
70 db 0x55, 0x40, 0x57, 0x40, 0x30, 0x50, 0x30, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
71 db 0x04, 0x80, 0x30, 0x5f, 0x30, 0x80, 0x06, 0x80
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
72 db 0x30, 0x5d, 0x30, 0x80, 0x09, 0x60, 0x30, 0x59
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
73 db 0x30, 0x60, 0x0d, 0x60, 0x70, 0x30, 0x53, 0x30
e0f29e20bd24 Mix-type icons: check apnoe/gauge/CF#41, depth=0, and first gas. Changed colors.
JeanDo
parents: 110
diff changeset
74 db 0x70, 0x60, 0x07