Mercurial > public > hwos_code
diff src/aa_wordprocessor.asm @ 189:e79bc535ef9e
ignore un-calibrated sensors even if they become valid
author | heinrichsweikamp |
---|---|
date | Wed, 29 Oct 2014 12:53:01 +0100 |
parents | 11d4fc797f74 |
children | 653a3ab08062 |
line wrap: on
line diff
--- a/src/aa_wordprocessor.asm Mon Oct 27 11:28:48 2014 +0100 +++ b/src/aa_wordprocessor.asm Wed Oct 29 12:53:01 2014 +0100 @@ -341,7 +341,7 @@ bz aa_decode_13 ; That's a 000 ! ; Apply reverse video, in a reversed way - btfss win_invert,0 ; Inverse video mode ? + btfss win_invert ; Inverse video mode ? sublw 0x80 ; Move the two bits to aa_color_half and aa_color_quarter: @@ -387,7 +387,7 @@ ; ---- Simple BLACK and WHITE cases ------------------------------ aa_decode_13: ; Got a 1xx or a 000 code... - btfsc win_invert,0 ; Inverse video mode ? + btfsc win_invert ; Inverse video mode ? xorlw 0x80 ; YES: invert levels. bn aa_decode_2 ; Then test high bit.