mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 21:08:05 +11:00
15 lines
228 B
Plaintext
15 lines
228 B
Plaintext
( Initiate SPI exchange with the SD card. n is the data to
|
|
send. )
|
|
CODE _sdcSR ( n -- n )
|
|
HL POPqq,
|
|
chkPS,
|
|
A L LDrr,
|
|
SDC_SPI OUTnA,
|
|
NOP, NOP,
|
|
SDC_SPI INAn,
|
|
L A LDrr,
|
|
HL PUSHqq,
|
|
;CODE
|
|
|
|
373 LOAD
|