Mercurial > public > mk2
changeset 180:8aced3c7590c
store gf_hi and gf_lo in logbook
author | Heinrichsweikamp |
---|---|
date | Sun, 06 Feb 2011 10:16:03 +0100 |
parents | 77ab44108c07 |
children | 0651d5dc3f42 |
files | code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/divemode.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm |
diffstat | 3 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt Sun Feb 06 09:37:07 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/changelog.txt Sun Feb 06 10:16:03 2011 +0100 @@ -1,10 +1,11 @@ New in 1.81 beta: BETA Version - Do NOT use for diving! -CHANGE: ZH-L16 display all stops (up to 93m), as ZH-L16-GF mode. -BUGFIX: Don't wrap TTS sum (still limit each stop display (not compute) to ~4h). -NEW: CF54: Display shallowest stop first (decoplan and divemode). +CHANGE: ZH-L16 display all stops (up to 93m), as ZH-L16-GF mode +BUGFIX: Don't wrap TTS sum (still limit each stop display (not compute) to ~4h) +NEW: CF54: =1:Display shallowest stop first (decoplan and divemode) BUGFIX: Inactive gases greyed-out in Simulator results BUGFIX: "Better Gas" now works for Gas 4 and Gas 5, as well +NEW: GF_lo and GF_hi stored in logbook New in 1.80 Stable: Stable release
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Sun Feb 06 09:37:07 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Sun Feb 06 10:16:03 2011 +0100 @@ -1218,8 +1218,12 @@ movf EEDATA,W call write_external_eeprom ; Store Salinity to Dive - movlw d'0' ; Spare - call write_external_eeprom + GETCUSTOM8 d'33' ; GF_hi + movwf temp1 + swapf temp1,F ; GF_hi -> Bit7-4 + GETCUSTOM8 d'32' ; GF_lo + addwf temp1,W ; Add GF_lo -> Bit 3-0 + call write_external_eeprom ; Stores GF_hi and GF_lo movlw 0xFB ; Header stop call write_external_eeprom
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sun Feb 06 09:37:07 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sun Feb 06 10:16:03 2011 +0100 @@ -476,7 +476,7 @@ call PLED_standard_color lfsr FSR2,letter - movff int_O_ascenttime+0,lo ; complete ascend time + movff int_O_ascenttime+0,lo ; TTS movff int_O_ascenttime+1,hi ; on 16bits bcf leftbind output_16 @@ -686,7 +686,7 @@ WIN_FONT FT_SMALL WIN_INVERT .0 ; Init new Wordprocessor call PLED_standard_color - GETCUSTOM8 d'32' + GETCUSTOM8 d'32' ; GF_lo movwf lo STRCPY "GF_lo:" @@ -695,7 +695,7 @@ STRCAT_PRINT "%" WIN_TOP .50 - GETCUSTOM8 d'33' + GETCUSTOM8 d'33' ; GF_hi movwf lo STRCPY "GF_hi:" bsf leftbind