Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 63:fee7c62b4de1
1.71beta - clock in divemode (CF39)
author | heinrichsweikamp |
---|---|
date | Wed, 29 Sep 2010 15:25:53 +0200 |
parents | cd5b650920f6 |
children | e8756eba54ee |
comparison
equal
deleted
inserted
replaced
62:2972a06b0785 | 63:fee7c62b4de1 |
---|---|
45 call PLED_display_ndl_mask ; display "no stop" if not in gauge or apnoe mode | 45 call PLED_display_ndl_mask ; display "no stop" if not in gauge or apnoe mode |
46 | 46 |
47 diveloop_loop: ; The diveloop starts here | 47 diveloop_loop: ; The diveloop starts here |
48 btfss onesecupdate ; tasks any new second | 48 btfss onesecupdate ; tasks any new second |
49 bra diveloop_loop2 | 49 bra diveloop_loop2 |
50 | |
51 btfss premenu ; Is the divemode menu active? | |
52 call PLED_diveclock ; No, show clock (If clock should be displayed) | |
50 | 53 |
51 btfsc gauge_mode ; Only in gauge mode | 54 btfsc gauge_mode ; Only in gauge mode |
52 bra diveloop_loop1a ; One Second Tasks in Gauge mode | 55 bra diveloop_loop1a ; One Second Tasks in Gauge mode |
53 btfsc FLAG_apnoe_mode ; Only in apnoe mode | 56 btfsc FLAG_apnoe_mode ; Only in apnoe mode |
54 bra diveloop_loop1b ; One Second Tasks in Apnoe mode | 57 bra diveloop_loop1b ; One Second Tasks in Apnoe mode |