Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
lain.church
Hjälp
Registrera dig
Logga in
izaya
/
collapseos
spegling av
https://github.com/hsoft/collapseos.git
Bevaka
1
Stjärnmärk
1
Förgrening
0
Kod
Ärenden
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
sms/spi: sample DO when CLK is high
I was sampling DO at the wrong moment, so my input was always one-off.
master
Virgil Dupras
3 år sedan
förälder
2b8524d11e
incheckning
4b71f0a344
1 ändrade filer
med
1 tillägg
och
1 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
arch/z80/sms/blk/622
+ 1
- 1
arch/z80/sms/blk/622
Visa fil
@@ -4,7 +4,7 @@
( send current bit to TRB, TR's output bit )
DUP 7 I - RSHIFT 1 AND _TRB!
1 _THB! ( CLK hi )
0 _THB! ( CLK lo )
( read into rx ) SWAP 1 LSHIFT _D1@ ( tx rx<< x )
0 _THB! ( CLK lo )
( out bit is the 6th ) 6 RSHIFT 1 AND OR
SWAP LOOP ( rx tx ) DROP ;
Write
Förhandsgranska
Laddar…
Avbryt
Spara