Mercurial > public > hwos_code
changeset 5:ed1dec74d5fd
Put logbook offset into dive header
author | heinrichsweikamp |
---|---|
date | Fri, 10 May 2013 15:35:23 +0200 |
parents | a8108a885359 |
children | 13cda523891f |
files | doc/ostc3_interface.odt src/ghostwriter.asm src/ostc3.inc |
diffstat | 3 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ghostwriter.asm Fri May 10 14:33:28 2013 +0200 +++ b/src/ghostwriter.asm Fri May 10 15:35:23 2013 +0200 @@ -594,11 +594,15 @@ rcall ghostwrite_byte_header ; WREG -> Header in ext. flash movff char_O_relative_gradient_GF,WREG rcall ghostwrite_byte_header ; WREG -> Header in ext. flash - ; Spares at Byte 57-60 - movlw 0xFF + + ; Logbook offset + call do_logoffset_common_read; Read into lo:hi + movf lo,W rcall ghostwrite_byte_header ; WREG -> Header in ext. flash - movlw 0xFF + movf hi,W rcall ghostwrite_byte_header ; WREG -> Header in ext. flash + + ; Spare at Byte 60 movlw 0xFF rcall ghostwrite_byte_header ; WREG -> Header in ext. flash ; Store 5 Setpoints
--- a/src/ostc3.inc Fri May 10 14:33:28 2013 +0200 +++ b/src/ostc3.inc Fri May 10 15:35:23 2013 +0200 @@ -19,7 +19,7 @@ #include <ports.inc> ; Portmap #DEFINE softwareversion_x d'0' ; Software version XX.YY -#DEFINE softwareversion_y d'91' ; Software version XX.YY +#DEFINE softwareversion_y d'92' ; Software version XX.YY #DEFINE softwareversion_beta 0 ; (and 0 for release) #DEFINE comm_service_key 0xABCDEF