comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 455:c512a868937c

last work for 2.0: Fixing 32kB boundary read for logbook
author heinrichsweikamp
date Tue, 30 Aug 2011 16:29:21 +0200
parents 38b38b105782
children f4fbda6db91c
comparison
equal deleted inserted replaced
454:69f1f3a1c645 455:c512a868937c
19 ; last updated: 01/23/08 19 ; last updated: 01/23/08
20 ; 2011/01/20: [jDG] Create a common file included in ASM and C code. 20 ; 2011/01/20: [jDG] Create a common file included in ASM and C code.
21 ; known bugs: 21 ; known bugs:
22 ; ToDo: 22 ; ToDo:
23 23
24 #DEFINE softwareversion_x d'1' ; Software version XX.YY 24 #DEFINE softwareversion_x d'2' ; Software version XX.YY
25 #DEFINE softwareversion_y d'98' ; Software version XX.YY 25 #DEFINE softwareversion_y d'0' ; Software version XX.YY
26 26
27 #DEFINE softwareversion_beta 1 ; (and 0 for release) 27 #DEFINE softwareversion_beta 0 ; (and 0 for release)
28 28
29 #DEFINE max_custom_number d'58' ; Number of last used custom function 29 #DEFINE max_custom_number d'58' ; 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
453 #DEFINE cv_active flag6,1 ;=1: Constant Voltage mode aktive (Charger) 453 #DEFINE cv_active flag6,1 ;=1: Constant Voltage mode aktive (Charger)
454 #DEFINE ignore_digit5 flag6,2 ;=1: ignores digit 5 in valconv 454 #DEFINE ignore_digit5 flag6,2 ;=1: ignores digit 5 in valconv
455 #DEFINE switch_left flag6,3 ;=1: left switch pressed 455 #DEFINE switch_left flag6,3 ;=1: left switch pressed
456 #DEFINE switch_right flag6,4 ;=1: right switch pressed 456 #DEFINE switch_right flag6,4 ;=1: right switch pressed
457 #DEFINE uart_settime flag6,5 ;=1: enter time sync routine 457 #DEFINE uart_settime flag6,5 ;=1: enter time sync routine
458 #DEFINE FLAG_1 flag6,6 ;=1: unused 458 #DEFINE eeprom_switched_b1 flag6,6 ;=1: EEPROM read switched to bank1
459 #DEFINE twosecupdate flag6,7 ;=1: after any two seconds 459 #DEFINE twosecupdate flag6,7 ;=1: after any two seconds
460 460
461 #DEFINE dekostop_active flag7,0 ;=1: in deocompression mode 461 #DEFINE dekostop_active flag7,0 ;=1: in deocompression mode
462 #DEFINE all_dives_shown flag7,1 ;=1: all dives in loogbook shown, abort further scanning 462 #DEFINE all_dives_shown flag7,1 ;=1: all dives in loogbook shown, abort further scanning
463 #DEFINE return_from_profileview flag7,2 ;=1: set cursor to same position again 463 #DEFINE return_from_profileview flag7,2 ;=1: set cursor to same position again