Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 426:07f5b0baaa57
Adding temperature & ceiling curves
* Pink Temperature curve, using fixed scale minTp .. minTp+10.0?C.
* Vertical line fill for ceiling.
* Dark red coloring when overflowing ceiling, dark green if ok.
author | JeanDo |
---|---|
date | Sun, 31 Jul 2011 13:27:23 +0200 |
parents | 8147c35da3ca |
children | f36b93f2fbed |
comparison
equal
deleted
inserted
replaced
425:a76c5a3e9e96 | 426:07f5b0baaa57 |
---|---|
49 ; minimum_change_depth >=5 ! | 49 ; minimum_change_depth >=5 ! |
50 #DEFINE minimum_change_depth .3 ; [m] | 50 #DEFINE minimum_change_depth .3 ; [m] |
51 #DEFINE better_gas_window .3 ; [m] | 51 #DEFINE better_gas_window .3 ; [m] |
52 | 52 |
53 ; Color Definitions: 8Bit RGB b'RRRGGGBB' | 53 ; Color Definitions: 8Bit RGB b'RRRGGGBB' |
54 #DEFINE color_red d'224' | 54 #DEFINE color_red b'11100000' ; (7,0,0) |
55 #DEFINE color_violet d'235' | 55 #DEFINE color_dark_red b'10000101' ; (4,1,1) |
56 #DEFINE color_blue d'199' | 56 #DEFINE color_violet b'11101011' ; (7,2,3) |
57 #DEFINE color_green b'00011100' | 57 #DEFINE color_blue b'11000111' ; (6,1,3) |
58 #DEFINE color_yellow d'253' | 58 #DEFINE color_green b'00011100' ; (0,7,0) |
59 #DEFINE color_white b'11111111' | 59 #DEFINE color_dark_green b'00111001' ; (1,6,1) |
60 #DEFINE color_black b'00000000' | 60 #DEFINE color_yellow b'11111101' ; (7,7,1) |
61 #DEFINE color_deepblue b'00000010' | 61 #DEFINE color_white b'11111111' ; (7,7,3) |
62 #DEFINE color_grey d'74' | 62 #DEFINE color_black b'00000000' ; (0,0,0) |
63 #DEFINE color_cyan d'223' | 63 #DEFINE color_deepblue b'00000010' ; (0,0,2) |
64 #DEFINE color_grey b'01001010' ; (2,2,2) | |
65 #DEFINE color_cyan b'11011111' ; (6,7,3) | |
66 #DEFINE color orange b'11111000' ; (7,6,0) | |
67 #DEFINE color_pink b'11111010' ; (7,6,2) | |
64 | 68 |
65 #DEFINE warn_depth d'1' | 69 #DEFINE warn_depth d'1' |
66 #DEFINE warn_cns d'2' | 70 #DEFINE warn_cns d'2' |
67 #DEFINE warn_gf d'3' | 71 #DEFINE warn_gf d'3' |
68 #DEFINE warn_ppo2 d'4' | 72 #DEFINE warn_ppo2 d'4' |
333 logbook_temp2 res 1 ; Temp used in logbook display&Divemode&Gassetup | 337 logbook_temp2 res 1 ; Temp used in logbook display&Divemode&Gassetup |
334 logbook_temp3 res 1 ; Temp used in logbook display&Divemode&Gassetup | 338 logbook_temp3 res 1 ; Temp used in logbook display&Divemode&Gassetup |
335 logbook_temp4 res 1 ; Temp used in logbook display&Divemode&Gassetup | 339 logbook_temp4 res 1 ; Temp used in logbook display&Divemode&Gassetup |
336 logbook_temp5 res 1 ; Temp used in logbook display&Divemode&Gassetup | 340 logbook_temp5 res 1 ; Temp used in logbook display&Divemode&Gassetup |
337 logbook_temp6 res 1 ; Temp used in logbook display&Divemode&Gassetup | 341 logbook_temp6 res 1 ; Temp used in logbook display&Divemode&Gassetup |
342 logbook_cur_depth res 2 ; Current depth, for drawing profile. | |
343 logbook_cur_tp res 2 ; Current temperature, for drawing profile. | |
344 logbook_last_tp res 1 ; Y of the last item in Tp° curve. | |
345 logbook_min_tp res 2 ; Min temperature, for drawing profile. | |
346 logbook_ceiling res 1 ; Current ceiling, for drawing profile. | |
338 | 347 |
339 convert_value_temp res 3 ; used in menu_battery_state_convert_date | 348 convert_value_temp res 3 ; used in menu_battery_state_convert_date |
340 time_correction_value res 1 ; Adds to Seconds on midnight | 349 time_correction_value res 1 ; Adds to Seconds on midnight |
341 gaslist_active res 1 ; Holds flags for active gases | 350 gaslist_active res 1 ; Holds flags for active gases |
342 desaturation_time_buffer res 2 ; buffer for desat time | 351 desaturation_time_buffer res 2 ; buffer for desat time |