Files
R8Forge/docs
dsh e5a63d0196 hardware: the medium only has to fit in a hand -- rank the candidates by size
With LOAD then RUN settled, the medium only has to deliver 19 to 51 KB once, so a
floppy is pure overkill and the useful axis is size.  Section 9 now ranks the
candidates by area:

* a DIP-8 EEPROM or SPI flash (24C512, 25Q64) is a 10 mm square in an 8 pin socket
  -- the ROM cartridge model, no filesystem at all because the chip is the address
  space, about 3-10 CNY, writable with any CH341A class programmer;
* microSD is 15 by 11 mm and holds the whole tape library; the loader reads raw
  sectors from LBA 0, so no FAT parser is needed either (dd from a PC writes the
  card);
* a credit-card punched card at 2 mm pitch holds about 1000 instructions, which
  runs hello (577) or full_add (95) but none of the big programs -- good as an art
  cartridge, not as the main medium;
* a microcassette is 50 by 33 by 8 mm, a real small tape, 150 B/s so a 19 KB image
  loads in two minutes, drives second hand;
* the 3.5 inch floppy, 90 by 94 mm, stays only if you want the clack.

Both small options also drop the filesystem question: one reads raw blocks, the
other is memory.  A small AVR can act as the tape drive for a TTL machine behind a
DATA/STROBE handshake, and on an FPGA the loader is a few dozen lines.  The packer
gains --at-lba 0 for the card case and --i2c-image for the programmer case; only
the floppy route would need --fat12.
2026-11-20 16:00:19 +08:00
..