1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-20 14:28:06 +11:00
collapseos/blk/372

15 lines
228 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 POPqq,
chkPS,
A L LDrr,
SDC_SPI OUTnA,
NOP, NOP,
SDC_SPI INAn,
L A LDrr,
HL PUSHqq,
;CODE
2020-04-24 03:55:00 +10:00
373 LOAD