comparison src/hwos.inc @ 403:6e60012bb3fc

NEW: "Lost Gas" feature allows disabling gases during the dive
author heinrichsweikamp
date Sun, 10 Jan 2016 11:24:33 +0100
parents a3a0f1fd7fc4
children 08fea401be24
comparison
equal deleted inserted replaced
402:a3a0f1fd7fc4 403:6e60012bb3fc
19 #include <ports.inc> ; Portmap 19 #include <ports.inc> ; Portmap
20 20
21 ; Firmware definition 21 ; Firmware definition
22 #DEFINE softwareversion_x d'2' ; Software version XX.YY 22 #DEFINE softwareversion_x d'2' ; Software version XX.YY
23 #DEFINE softwareversion_y d'00' ; Software version XX.YY 23 #DEFINE softwareversion_y d'00' ; Software version XX.YY
24 #DEFINE softwareversion_beta 1 ; (and 0 for release) 24 #DEFINE softwareversion_beta 0 ; (and 0 for release)
25 ; Firmware version will appear in "Change Firmware" style 25 ; Firmware version will appear in "Change Firmware" style
26 #DEFINE firmware_expire_year .17 26 #DEFINE firmware_expire_year .17
27 #DEFINE firmware_expire_month .1 27 #DEFINE firmware_expire_month .1
28 #DEFINE firmware_expire_day .10 28 #DEFINE firmware_expire_day .10
29 29
526 start_year res 1 ; At start of dive (For logbook) 526 start_year res 1 ; At start of dive (For logbook)
527 start_hours res 1 ; At start of dive (For logbook) 527 start_hours res 1 ; At start of dive (For logbook)
528 start_mins res 1 ; At start of dive (For logbook) 528 start_mins res 1 ; At start of dive (For logbook)
529 529
530 old_velocity res 4 ; Strores the last 4 speeds (8 seconds) in m/min 530 old_velocity res 4 ; Strores the last 4 speeds (8 seconds) in m/min
531 opt_gas_type_backup res 5 ; 0=Disabled, 1=First, 2=Travel, 3=Deco
532 opt_dil_type_backup res 5 ; 0=Disabled, 1=First, 2=Normal
533 opt_OC_bail_gas_change_backup res 5 ; Gas change depths OC/Bailout
534
531 535
532 ;----------------------------------------------------------------------------- 536 ;-----------------------------------------------------------------------------
533 ; Reserve BANK2 for general purpose buffer (strings, images, etc). 537 ; Reserve BANK2 for general purpose buffer (strings, images, etc).
534 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0). 538 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0).
535 buffer udata_ovr 0x200 539 buffer udata_ovr 0x200