comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 777:b92ee354baae

show bailout in logbook, 2.91 beta release
author heinrichsweikamp
date Fri, 02 May 2014 21:40:54 +0200
parents f32b9ad6244c
children 43ef5a003df7
comparison
equal deleted inserted replaced
776:5760f2b689c5 777:b92ee354baae
22 ; ToDo: 22 ; ToDo:
23 23
24 #DEFINE softwareversion_x d'2' ; Software version XX.YY 24 #DEFINE softwareversion_x d'2' ; Software version XX.YY
25 #DEFINE softwareversion_y d'91' ; Software version XX.YY 25 #DEFINE softwareversion_y d'91' ; Software version XX.YY
26 26
27 #DEFINE softwareversion_beta 0 ; (and 0 for release) 27 #DEFINE softwareversion_beta 1 ; (and 0 for release)
28 28
29 #DEFINE max_custom_number d'73' ; Number of last used custom function 29 #DEFINE max_custom_number d'73' ; Number of last used custom function
30 30
31 ; International extension. Selecting messages source: 31 ; International extension. Selecting messages source:
32 #DEFINE ENGLISH ; Use english_text.asm 32 #DEFINE ENGLISH ; Use english_text.asm
40 ;#DEFINE DISPLAY_TEST ; Enables Display-Test in RAW data menu 40 ;#DEFINE DISPLAY_TEST ; Enables Display-Test in RAW data menu
41 41
42 #DEFINE logbook_profile_version 0x21 ; Do not touch! 42 #DEFINE logbook_profile_version 0x21 ; Do not touch!
43 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce 43 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce
44 44
45 ;#DEFINE __DEBUG
45 46
46 ; CPU Speed Settings 47 ; CPU Speed Settings
47 ; Standard 16MHz mode 48 ; Standard 16MHz mode
48 ; #DEFINE SPBRG_VALUE d'34' 49 ; #DEFINE SPBRG_VALUE d'34'
49 ; #DEFINE OSCCON_VALUE b'01101100' ; 4MHz (x4 PLL) 50 ; #DEFINE OSCCON_VALUE b'01101100' ; 4MHz (x4 PLL)
291 samplesecs res 1 ; counts the seconds until the next sample is stored in divemode 292 samplesecs res 1 ; counts the seconds until the next sample is stored in divemode
292 samplesecs_value res 1 ; holds the CF20 value 293 samplesecs_value res 1 ; holds the CF20 value
293 decodata res 2 ; Deco data 294 decodata res 2 ; Deco data
294 mintemp res 2 ; min temperature 295 mintemp res 2 ; min temperature
295 ProfileFlagByte res 1 ; stores number of addional bytes per sample 296 ProfileFlagByte res 1 ; stores number of addional bytes per sample
296 EventByte res 1 ; Stores the Event type plus flags 297 EventByte res 1 ; Stores the Event type plus flags
297 AlarmType res 1 ; 0= No Alarm 298 AlarmType res 1 ; 0= No Alarm
298 ; 1= SLOW 299 ; 1= SLOW
299 ; 2= DecoStop missed 300 ; 2= DecoStop missed
300 ; 3= DeepStop missed 301 ; 3= DeepStop missed
301 ; 4= ppO2 Low Warning 302 ; 4= ppO2 Low Warning