Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 239:3ed240d60341
High altitude (Plane/Fly) mode added
author | heinrichsweikamp |
---|---|
date | Mon, 21 Mar 2011 13:31:38 +0100 |
parents | 9581e48a914f |
children | 571626276aaa |
comparison
equal
deleted
inserted
replaced
238:9581e48a914f | 239:3ed240d60341 |
---|---|
32 #DEFINE ENGLISH ; Use english_text.asm | 32 #DEFINE ENGLISH ; Use english_text.asm |
33 ;#DEFINE FRENCH ; Use french_text.asm | 33 ;#DEFINE FRENCH ; Use french_text.asm |
34 ;#DEFINE GERMAN ; Use german_text.asm | 34 ;#DEFINE GERMAN ; Use german_text.asm |
35 ;#DEFINE SPANISH ; Use spanish_text.asm | 35 ;#DEFINE SPANISH ; Use spanish_text.asm |
36 | 36 |
37 #DEFINE __DEBUG ; | 37 ;#DEFINE __DEBUG ; |
38 | 38 |
39 #DEFINE logbook_profile_version 0x20 ; Do not touch! | 39 #DEFINE logbook_profile_version 0x20 ; Do not touch! |
40 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce | 40 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce |
41 | 41 |
42 #DEFINE FT_SMALL .0 | 42 #DEFINE FT_SMALL .0 |
450 #DEFINE update_divetime flag8,1 ;=1: update divetime display | 450 #DEFINE update_divetime flag8,1 ;=1: update divetime display |
451 #DEFINE display_set_xgas flag8,2 ;=1: Display Set Gas menu in Divemode | 451 #DEFINE display_set_xgas flag8,2 ;=1: Display Set Gas menu in Divemode |
452 #DEFINE FLAG_active_descent flag8,3 ;=1: A Descent in Apnoe mode is active | 452 #DEFINE FLAG_active_descent flag8,3 ;=1: A Descent in Apnoe mode is active |
453 #DEFINE display_see_deco flag8,4 ;=1: Display decoplan in Divemode | 453 #DEFINE display_see_deco flag8,4 ;=1: Display decoplan in Divemode |
454 #DEFINE display_set_gas flag8,5 ;=1: Display Gaslist menu in Divemode | 454 #DEFINE display_set_gas flag8,5 ;=1: Display Gaslist menu in Divemode |
455 ;free flag8,6 ;=1: | 455 #DEFINE high_altitude_mode flag8,6 ;=1: Unit was manually turned on with ambient pressure <880mBar |
456 #DEFINE rs232_recieve_overflow flag8,7 ;=1: An RS232 timeout overflow occoured | 456 #DEFINE rs232_recieve_overflow flag8,7 ;=1: An RS232 timeout overflow occoured |
457 | 457 |
458 #DEFINE nofly_active flag9,0 ;=1: Do not fly! | 458 #DEFINE nofly_active flag9,0 ;=1: Do not fly! |
459 #DEFINE ppO2_display_active flag9,1 ;=1: ppO2 value is displayed | 459 #DEFINE ppO2_display_active flag9,1 ;=1: ppO2 value is displayed |
460 #DEFINE ppO2_show_value flag9,2 ;=1: show ppO2 value! | 460 #DEFINE ppO2_show_value flag9,2 ;=1: show ppO2 value! |