# HG changeset patch # User heinrichsweikamp # Date 1423077514 -3600 # Node ID 7f3f79e53f66ef6ce37a12832fef9747a672b2e0 # Parent fec91971e4b9b3ea0758566f03d392d34e83e980 BUGFIX: Show manually set O2 (Gas 6) correctly diff -r fec91971e4b9 -r 7f3f79e53f66 code_part1/OSTC_code_asm_part1/changelog.txt --- a/code_part1/OSTC_code_asm_part1/changelog.txt Fri Jan 30 13:39:05 2015 +0100 +++ b/code_part1/OSTC_code_asm_part1/changelog.txt Wed Feb 04 20:18:34 2015 +0100 @@ -1,6 +1,7 @@ New in 3.01: Stable Release BUGFIX: Entry time in logbook when dive was around midnight +BUGFIX: Show manually set O2 (Gas 6) correctly New in 3.00: diff -r fec91971e4b9 -r 7f3f79e53f66 code_part1/OSTC_code_asm_part1/outputs.asm --- a/code_part1/OSTC_code_asm_part1/outputs.asm Fri Jan 30 13:39:05 2015 +0100 +++ b/code_part1/OSTC_code_asm_part1/outputs.asm Wed Feb 04 20:18:34 2015 +0100 @@ -2886,11 +2886,18 @@ read_int_eeprom d'24' ; Get Gas6 %O2 movff EEDATA,lo bcf leftbind + movlw .100 + cpfseq lo ; 100% O2? + bra DISP_divemode_set_xgas2 ; No + STRCAT "100/0" ; Draw 100/0 manually + bra DISP_divemode_set_xgas3 +DISP_divemode_set_xgas2: output_99 ; outputs into Postinc2! PUTC '/' read_int_eeprom d'25' ; Get Gas6 %He movff EEDATA,lo output_99 ; outputs into Postinc2! +DISP_divemode_set_xgas3: call word_processor DISPLAYTEXT .123 ; O2 + DISPLAYTEXT .124 ; O2 -