Mercurial > public > hwos_code
diff src/strings.asm @ 189:e79bc535ef9e
ignore un-calibrated sensors even if they become valid
author | heinrichsweikamp |
---|---|
date | Wed, 29 Oct 2014 12:53:01 +0100 |
parents | 40ff64d60054 |
children | 3fec179a6220 |
line wrap: on
line diff
--- a/src/strings.asm Mon Oct 27 11:28:48 2014 +0100 +++ b/src/strings.asm Wed Oct 29 12:53:01 2014 +0100 @@ -224,80 +224,31 @@ start_tiny_block: clrf WREG movff WREG, win_font ; Need a bank-safe move here ! - movff WREG, win_invert - bra start_common - - global start_tiny_invert_block -start_tiny_invert_block: - clrf WREG - movff WREG, win_font ; Need a bank-safe move here ! - movlw 1 - movff WREG, win_invert bra start_common global start_small_block start_small_block: movlw 1 movff WREG, win_font ; Need a bank-safe move here ! - clrf WREG - movff WREG, win_invert - bra start_common - - global start_small_invert_block -start_small_invert_block: - movlw 1 - movff WREG, win_font ; Need a bank-safe move here ! - movff WREG, win_invert bra start_common global start_std_block start_std_block: movlw 2 movff WREG, win_font ; Need a bank-safe move here ! - clrf WREG - movff WREG, win_invert - bra start_common - - global start_std_invert_block -start_std_invert_block: - movlw 2 - movff WREG, win_font ; Need a bank-safe move here ! - movlw 1 - movff WREG, win_invert bra start_common global start_medium_block start_medium_block: movlw 3 movff WREG, win_font ; Need a bank-safe move here ! - clrf WREG - movff WREG, win_invert - bra start_common - - global start_medium_invert_block -start_medium_invert_block: - movlw 3 - movff WREG, win_font ; Need a bank-safe move here ! - movlw 1 - movff WREG, win_invert bra start_common global start_large_block start_large_block: movlw 4 movff WREG, win_font ; Need a bank-safe move here ! - clrf WREG - movff WREG, win_invert - bra start_common - - global start_large_invert_block -start_large_invert_block: - movlw 4 - movff WREG, win_font ; Need a bank-safe move here ! - movlw 1 - movff WREG, win_invert - bra start_common - +; bra start_common start_common: VARARGS_BEGIN VARARGS_GET8 win_leftx2