Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
lain.church
Aide
S'inscrire
Connexion
izaya
/
collapseos
miroir de
https://github.com/hsoft/collapseos.git
Suivre
1
Ajouter aux favoris
1
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
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
il y a 3 ans
Parent
2b8524d11e
révision
4b71f0a344
1 fichiers modifiés
avec
1 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
arch/z80/sms/blk/622
+ 1
- 1
arch/z80/sms/blk/622
Voir le fichier
@@ -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 ;
Écrire
Aperçu
Chargement…
Annuler
Enregistrer