comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 643:3b50c9949b84

gas6 setup simplified
author heinrichsweikamp
date Wed, 03 Oct 2012 12:40:00 +0200
parents 6cbdfd1b9dcf
children e6ac142e82b0
comparison
equal deleted inserted replaced
642:2cecac640202 643:3b50c9949b84
31 movwf T3CON ; Timer3 with 32768Hz clock running 31 movwf T3CON ; Timer3 with 32768Hz clock running
32 32
33 ; Startup Tasks for all modes 33 ; Startup Tasks for all modes
34 ostc_debug 'R' ; Sends debug-information to screen if debugmode active 34 ostc_debug 'R' ; Sends debug-information to screen if debugmode active
35 call PLED_ClearScreen ; clean up OLED 35 call PLED_ClearScreen ; clean up OLED
36 call PLED_divemode_mask ; Display mask 36 call PLED_divemode_mask ; Display mask
37 call PLED_active_gas_divemode ; Display gas, if required
38 call PLED_temp_divemode ; Displays temperature 37 call PLED_temp_divemode ; Displays temperature
38 call PLED_active_gas_divemode ; Display gas
39 39
40 ; Reload last customview 40 ; Reload last customview
41 read_int_eeprom d'94' ; Read last selected customview dive mode into EEDATA 41 read_int_eeprom d'94' ; Read last selected customview dive mode into EEDATA
42 movff EEDATA,menupos3 ; Copy to menupos3 42 movff EEDATA,menupos3 ; Copy to menupos3
43 call customview_toggle2 ; Show customview 43 call customview_toggle2 ; Show customview