mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 08:58:06 +11:00
Fix doc innacuracies
This commit is contained in:
parent
286f8968fd
commit
9c36885503
2
blk/397
2
blk/397
@ -1,4 +1,4 @@
|
|||||||
( Now we have "as late as possible" stuff. See B70 and B260. )
|
( Now we have "as late as possible" stuff. See bootstrap doc. )
|
||||||
: _bchk DUP 0x7f + 0xff > IF LIT< br-ovfl (print) ABORT THEN ;
|
: _bchk DUP 0x7f + 0xff > IF LIT< br-ovfl (print) ABORT THEN ;
|
||||||
: DO 0x33 ( 2>R ) , H@ ; IMMEDIATE
|
: DO 0x33 ( 2>R ) , H@ ; IMMEDIATE
|
||||||
: LOOP 0x43 ( loop ) , H@ - _bchk C, ; IMMEDIATE
|
: LOOP 0x43 ( loop ) , H@ - _bchk C, ; IMMEDIATE
|
||||||
|
@ -26,9 +26,9 @@ subsystem (B420) to drive a SD card.
|
|||||||
|
|
||||||
## Building the SPI relay
|
## Building the SPI relay
|
||||||
|
|
||||||
The [schematic][schematic] supplied with this recipe works well with `sdc.fs`.
|
The [schematic][schematic] supplied with this recipe works well with the SD
|
||||||
Of course, it's not the only possible design that works, but I think it's one
|
Card subsystem (B420). Of course, it's not the only possible design that
|
||||||
of the most straighforwards.
|
works, but I think it's one of the most straighforwards.
|
||||||
|
|
||||||
The basic idea with this relay is to have one shift register used as input,
|
The basic idea with this relay is to have one shift register used as input,
|
||||||
loaded in parallel mode from the z80 bus and a shift register that takes the
|
loaded in parallel mode from the z80 bus and a shift register that takes the
|
||||||
@ -128,7 +128,7 @@ And thats it! You have full access to disk block mechanism:
|
|||||||
|
|
||||||
## How do I fill my SD card with Collapse OS' FS?
|
## How do I fill my SD card with Collapse OS' FS?
|
||||||
|
|
||||||
Very easy. You see that `/emul/blkfs` file? You dump it to your raw device.
|
Very easy. You see that `/cvm/blkfs` file? You dump it to your raw device.
|
||||||
For example, if the device you get when you insert your SD card is `/dev/sdb`,
|
For example, if the device you get when you insert your SD card is `/dev/sdb`,
|
||||||
then you type `cat emul/blkfs | sudo tee /dev/sdb > /dev/null`.
|
then you type `cat emul/blkfs | sudo tee /dev/sdb > /dev/null`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user