SuperCIC: wip

This commit is contained in:
ikari 2010-05-06 07:33:28 +02:00
parent 7914df81c4
commit 92da63754a
2 changed files with 8 additions and 8 deletions

View File

@ -248,7 +248,7 @@ loop1
andwf FSR, w andwf FSR, w
btfss STATUS, Z btfss STATUS, Z
goto loop1 goto loop1
movlw 0x2 ; wait 20 movlw 0x2 ; wait 10
call wait ; call wait ;
nop nop
nop nop

View File

@ -575,12 +575,12 @@ mangle_key_withskip
andlw 0xf andlw 0xf
addlw 0xf addlw 0xf
movwf 0x20 movwf 0x20
nop bsf PORTC, 1
nop movlw PORTC
nop movwf 0x5e
nop bcf PORTC, 1
nop movlw PORTC
nop movwf 0x5f
nop nop
nop nop
nop nop
@ -588,7 +588,7 @@ mangle_key_withskip
nop nop
btfss 0x20, 4 ; skip if half-byte carry btfss 0x20, 4 ; skip if half-byte carry
goto mangle_return ; +2 cycles in return goto mangle_return ; +2 cycles in return
nop movf 0x20, w ; restore w (previously destroyed)
goto mangle_key_loop goto mangle_key_loop
mangle_return mangle_return
return return