Mercurial > public > mk2
changeset 402:e565392e0fcc
Add a trailing space for nofly and desat
author | heinrichsweikamp |
---|---|
date | Mon, 27 Jun 2011 10:15:28 +0200 |
parents | 6ed12fad3b97 |
children | 5b560559bc1a |
files | code_part1/OSTC_code_asm_part1/isr.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm |
diffstat | 2 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm Sun Jun 26 18:07:51 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/isr.asm Mon Jun 27 10:15:28 2011 +0200 @@ -1,4 +1,4 @@ - + ; OSTC - diving computer code ; Copyright (C) 2008 HeinrichsWeikamp GbR
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sun Jun 26 18:07:51 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Jun 27 10:15:28 2011 +0200 @@ -1705,8 +1705,6 @@ lfsr FSR2,letter OUTPUTTEXT d'14' ; Desat PUTC ' ' -; movff int_O_desaturation_time+0,lo ; divide by 60... -; movff int_O_desaturation_time+1,hi movff desaturation_time_buffer+0,lo ; divide by 60... movff desaturation_time_buffer+1,hi @@ -1717,9 +1715,12 @@ movwf hi ; exchange lo and hi... output_8 ; Hours PUTC ':' - movff hi,lo ; Minutes + movff hi,lo ; Minutes output_99x bcf leftbind + PUTC ' ' +; clrf WREG ; Allow up to 5 chars to avoid +; movff WREG,letter+6 ; collision with decotype letters call word_processor return @@ -1747,14 +1748,14 @@ movf lo,W movff hi,lo movwf hi ; exchange lo and hi... - output_8 ; Hours + output_8 ; Hours PUTC ':' movff hi,lo ; Minutes -; decf lo,F -; btfsc lo,7 ; keep Nofly time -; clrf lo output_99x bcf leftbind + PUTC ' ' +; clrf WREG ; Allow up to 5 chars to avoid +; movff WREG,letter+6 ; collision with decotype letters call word_processor return