Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 87:8d3c1bef6551
some preparations for new custom view
author | heinrichsweikamp |
---|---|
date | Thu, 09 Dec 2010 22:07:36 +0100 |
parents | 2227459e8ef2 |
children | 6f8e3a08011e |
comparison
equal
deleted
inserted
replaced
86:b40a0a6284da | 87:8d3c1bef6551 |
---|---|
210 call calc_average_depth | 210 call calc_average_depth |
211 | 211 |
212 bra timeout_divemenu2 ; quit menu! | 212 bra timeout_divemenu2 ; quit menu! |
213 | 213 |
214 toggle_stopwatch2: | 214 toggle_stopwatch2: |
215 call PLED_stopwatch_remove ; Remove Stopwatch Outputs | 215 call PLED_clear_customview_divemode ; Remove Stopwatch Outputs |
216 bra timeout_divemenu2 ; quit menu! | 216 bra timeout_divemenu2 ; quit menu! |
217 | 217 |
218 divemode_toggle_brightness: | 218 divemode_toggle_brightness: |
219 read_int_eeprom d'90' ; Brightness offset? (Dim>0, Normal = 0) | 219 read_int_eeprom d'90' ; Brightness offset? (Dim>0, Normal = 0) |
220 tstfsz EEDATA ; Was dimmed? | 220 tstfsz EEDATA ; Was dimmed? |
735 bcf premenu ; Yes, clear flags and menu, display dive time and mask again | 735 bcf premenu ; Yes, clear flags and menu, display dive time and mask again |
736 call PLED_active_gas_divemode; Display gas, if required | 736 call PLED_active_gas_divemode; Display gas, if required |
737 call PLED_clear_divemode_menu; Clear dive mode menu | 737 call PLED_clear_divemode_menu; Clear dive mode menu |
738 call PLED_divemode_mask ; Display mask | 738 call PLED_divemode_mask ; Display mask |
739 call PLED_divemins ; Display (new) divetime! | 739 call PLED_divemins ; Display (new) divetime! |
740 call PLED_temp_divemode ; redraw temperature | 740 btfss dekostop_active |
741 call PLED_display_ndl_mask | |
742 btfsc dekostop_active | |
743 call PLED_display_deko_mask | |
744 | |
741 clrf timeout_counter3 ; Also clear timeout | 745 clrf timeout_counter3 ; Also clear timeout |
742 bcf display_see_deco ; clear all display flags | 746 bcf display_see_deco ; clear all display flags |
743 bcf display_see_l_tissue | 747 bcf display_see_l_tissue |
744 bcf display_set_gas | 748 bcf display_set_gas |
745 bcf display_set_graphs | 749 bcf display_set_graphs |