Sfoglia il codice sorgente

ti84: fix a-lock debouncing bug

Yup, it was a deja vu. I remember now.
pull/102/head
Virgil Dupras 4 anni fa
parent
commit
a6aba40327
2 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. +1
    -1
      blk/569
  2. +1
    -2
      blk/570

+ 1
- 1
blk/569 Vedi File

@@ -4,7 +4,7 @@
DROP
1+ DUP 7 = IF DROP 0 THEN ( inc gid )
1 OVER LSHIFT 0xff -^ ( group dmask ) _get
DUP 0xff = NOT UNTIL
DUP 0xff = NOT UNTIL _wait
( gid dmask )
0xff XOR ( dpos ) 0 ( dindex )
BEGIN 1+ 2DUP RSHIFT NOT UNTIL 1-


+ 1
- 2
blk/570 Vedi File

@@ -7,6 +7,5 @@
IF _tbl^ _2nd@ IF _alock^ THEN THEN
SWAP 0x81 = _2nd!
_gti + C@
DUP 0 0x80 >< UNTIL ( loop if not in range )
_wait ;
DUP 0 0x80 >< UNTIL ( loop if not in range ) ;
: KBD$ 0 [ KBD_MEM LITN ] C! ;

Loading…
Annulla
Salva