1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-17 06:58:05 +11:00
collapseos/blk/602

13 lines
214 B
Plaintext
Raw Normal View History

( Initiate SPI exchange with the SD card. n is the data to
send. )
2020-04-24 03:55:00 +10:00
CODE _sdcSR ( n -- n )
HL POP,
chkPS,
A L LDrr,
SDC_SPI OUTiA,
NOP, NOP,
SDC_SPI INAi,
L A LDrr,
HL PUSH,
;CODE