Mercurial > public > hwos_code
comparison src/ghostwriter.asm @ 480:ad8acade5567
NEW: PSCR mode (Passive semi-closed rebreather)
author | heinrichsweikamp |
---|---|
date | Mon, 06 Feb 2017 16:26:36 +0100 |
parents | 4fdf6886004b |
children | 8dfb93e80338 |
comparison
equal
deleted
inserted
replaced
479:34e73dc68799 | 480:ad8acade5567 |
---|---|
700 read_int_eeprom .3 | 700 read_int_eeprom .3 |
701 movf EEDATA,W | 701 movf EEDATA,W |
702 rcall ghostwrite_byte_header ; Total dive counter, high | 702 rcall ghostwrite_byte_header ; Total dive counter, high |
703 | 703 |
704 movff opt_dive_mode,WREG | 704 movff opt_dive_mode,WREG |
705 rcall ghostwrite_byte_header ; 0=OC, 1=CC, 2=Gauge, 3=Apnea | 705 rcall ghostwrite_byte_header ; 0=OC, 1=CC, 2=Gauge, 3=Apnea, 4=PSCR |
706 | 706 |
707 ; Store all tissue data available | 707 ; Store all tissue data available |
708 movlw .16 | 708 movlw .16 |
709 movwf lo | 709 movwf lo |
710 lfsr FSR1,char_O_tissue_N2_saturation+0 | 710 lfsr FSR1,char_O_tissue_N2_saturation+0 |