Mercurial > public > hwos_code
comparison src/hwos.inc @ 545:7e6df19264b6
BUGFIX: Simulator in CC mode
BUGFIX: Changing the dive mode and starting the simulator (without leaving the menu first) caused false calculations in the simulator
BUGFIX: PSCR Mode "OC Gases" showed Diluents, not OC gases
BUGFIX: CCR Mode ("First Diluent") was chosen based on OC "First Gas" number
author | heinrichsweikamp |
---|---|
date | Wed, 06 Sep 2017 21:26:18 +0200 |
parents | ad7dc231c180 |
children | 40c5566edc30 |
comparison
equal
deleted
inserted
replaced
544:64a45f203144 | 545:7e6df19264b6 |
---|---|
20 #include <p18f87k22.inc> | 20 #include <p18f87k22.inc> |
21 #include <ports.inc> ; Portmap | 21 #include <ports.inc> ; Portmap |
22 | 22 |
23 ; Firmware definition | 23 ; Firmware definition |
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'23' ; Software version XX.YY | 25 #DEFINE softwareversion_y d'24' ; Software version XX.YY |
26 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 26 #DEFINE softwareversion_beta 1 ; (and 0 for release) |
27 ; Firmware version will appear in "Change Firmware" style | 27 ; Firmware version will appear in "Change Firmware" style |
28 #DEFINE firmware_expire_year .18 | 28 #DEFINE firmware_expire_year .18 |
29 #DEFINE firmware_expire_month .7 | 29 #DEFINE firmware_expire_month .7 |
30 #DEFINE firmware_expire_day .3 | 30 #DEFINE firmware_expire_day .3 |
247 endm | 247 endm |
248 | 248 |
249 ;---------------------------- Bank0 DATA ------------------------------------ | 249 ;---------------------------- Bank0 DATA ------------------------------------ |
250 isr_backup equ 0x60 | 250 isr_backup equ 0x60 |
251 isr_backup udata_ovr isr_backup ; Reserved space for interupt data | 251 isr_backup udata_ovr isr_backup ; Reserved space for interupt data |
252 | 252 |
253 ;---- Backup for general registers | 253 ;---- Backup for general registers |
254 isr_prod res 2 | 254 isr_prod res 2 |
255 | 255 |
256 ;---- MS5541 subroutines | 256 ;---- MS5541 subroutines |
257 amb_pressure res 2 | 257 amb_pressure res 2 |