Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 115:50a06adabc67
First gas is active, Gauge mode display
author | heinrichsweikamp |
---|---|
date | Fri, 24 Dec 2010 15:40:27 +0100 |
parents | ed7826c740a0 |
children | 14a074e1a375 |
comparison
equal
deleted
inserted
replaced
114:e39a6415df3d | 115:50a06adabc67 |
---|---|
1585 bra set_no_forced_stops | 1585 bra set_no_forced_stops |
1586 lfsr FSR0,0x290 ; clear int_O_calc_tissue_call_counter (DEBUG) | 1586 lfsr FSR0,0x290 ; clear int_O_calc_tissue_call_counter (DEBUG) |
1587 clrf POSTINC0 | 1587 clrf POSTINC0 |
1588 clrf POSTINC0 | 1588 clrf POSTINC0 |
1589 | 1589 |
1590 ;; Start with active Stopwatch? | |
1591 ; bsf stopwatch_active | |
1592 ; GETCUSTOM8 d'41' ; =1: Start with active Stopwatch | |
1593 ; movwf lo | |
1594 ; movlw d'1' | |
1595 ; cpfseq lo ; CF41=1? | |
1596 ; bcf stopwatch_active ; No! | |
1597 | |
1598 ; Init profile recording parameters | 1590 ; Init profile recording parameters |
1599 GETCUSTOM8 d'20' ; sample rate | 1591 GETCUSTOM8 d'20' ; sample rate |
1600 movwf samplesecs_value ; to avoid EEPROM access in the ISR | 1592 movwf samplesecs_value ; to avoid EEPROM access in the ISR |
1601 GETCUSTOM8 d'21' | 1593 GETCUSTOM8 d'21' |
1602 movwf divisor_temperature ; load divisors for profile storage | 1594 movwf divisor_temperature ; load divisors for profile storage |