Browse Source

rc2014: improve SD card driver docs

master
Virgil Dupras 4 years ago
parent
commit
b8800be76f
4 changed files with 11 additions and 3 deletions
  1. +10
    -0
      blk/600
  2. +0
    -1
      blk/604
  3. +1
    -1
      recipes/rc2014/sdcard/README.md
  4. +0
    -1
      recipes/rc2014/sdcard/cfsin/hello.txt

+ 10
- 0
blk/600 View File

@@ -1,3 +1,13 @@
SD Card driver

Load range: 602-616

This driver is designed for a ad-hoc adapter card that acts as a
SPI relay between the z80 bus and the SD card. That adapter is
expected to pull CS low when something is written to SDC_CSLOW,
high on SDC_CSHIGH and to initiate a SPI exchange when a byte is
written to SDC_SPI, the result of that exchange being fetched
with a read to SDC_SPI.

Through that layer, this driver implements the SDC protocol
allowing it to provide BLK@ and BLK!.

+ 0
- 1
blk/604 View File

@@ -13,4 +13,3 @@
DUP 20 = UNTIL
DROP 0xff
;
1 12 LOADR+

+ 1
- 1
recipes/rc2014/sdcard/README.md View File

@@ -86,7 +86,7 @@ Build it and write it to EEPROM.
The RC2014 emulator includes SDC emulation. You can attach a SD card image to
it by invoking it with a second argument:

../../../emul/hw/rc2014/classic os.bin ../../../emul/blkfs
../../../emul/hw/rc2014/classic os.bin ../../../cvm/blkfs

You will then run with a SD card having the contents from `/blk`.



+ 0
- 1
recipes/rc2014/sdcard/cfsin/hello.txt View File

@@ -1 +0,0 @@
Hello World!

Loading…
Cancel
Save