Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 297:ceedf078b2d8
Gas Setup page 2 reworked, Texts 107, 108, 109,150, 149, 168, 42, 43, 53,54,55, 165 need update in french, spanish and german
author | Heinrichsweikamp |
---|---|
date | Fri, 29 Apr 2011 20:17:32 +0200 |
parents | 7d24c9d62095 |
children | 36cc8f0c1d73 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm Thu Apr 28 18:51:48 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm Fri Apr 29 20:17:32 2011 +0200 @@ -324,7 +324,7 @@ movff SSPBUF,hi movff lo,xA+0 ; calculate y-scale for profile display movff hi,xA+1 - movlw d'164' ; 164pixel height available + movlw d'163' ; 163pixel height available movwf xB+0 clrf xB+1 call div16x16 ; does xA/xB=xC @@ -403,7 +403,7 @@ addwfc xC+1 ; xC:2 now holds total dive seconds! movff xC+0,xA+0 ; now calculate x-scale value movff xC+1,xA+1 - movlw d'159' ; 159pix width available + movlw d'154' ; 154pix width available movwf xB+0 clrf xB+1 call div16x16 ; xA/xB=xC