mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:18:04 +11:00
2d9a07d215
This was becoming heavy to manage.
13 lines
218 B
Plaintext
13 lines
218 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
|