Mercurial > public > hwos_code
diff src/compass_ops.asm @ 429:4b93354b7738
hardware_flag handling
author | heinrichsweikamp |
---|---|
date | Thu, 16 Jun 2016 13:21:46 +0200 |
parents | eccae727702f |
children | 929feb0da4f5 |
line wrap: on
line diff
--- a/src/compass_ops.asm Wed Jun 15 12:26:48 2016 +0200 +++ b/src/compass_ops.asm Thu Jun 16 13:21:46 2016 +0200 @@ -1124,12 +1124,6 @@ movwf sub_a+1 movlw d'14' movwf up ; cardinal width in px - ; Input: - ; xHI: DD - display'a current position - ; xRD: RD - ruler display offset - ; sub_a: RP - item's ruler display offset - ; get the RD abck to sub_b -; movff xHI,hi ; mH bcf print_compass_label ; 1/a. check if it's viewable ? sub_a(RP) >= sub_b(RD) ? ; set the carry flag if sub_b(xRD) is equal to or greater than sub_a(xRP): @@ -1176,7 +1170,6 @@ movlw FT_SMALL movff WREG,win_font ; 6. retain the new display positions -; movff hi,divB ; old-hi will be used by the c_mk : clear+marker printing mH movff lo,hi movff up,WREG addwf hi,F