Introduction
In homebrew retro computing, the CompactFlash (CF) card is very popular, but SD cards are also used. In Thunderbird, both can be used.
CF/IDE-interface
- Easy to connect: The CF card uses the well-known IDE interface, meaning it can be connected directly to the 8- or 16-bit bus.
- Fast: It is fast due to the IDE interface. After issuing a few simple commands to read a sector, the BIOS only needs to read 512 bytes from the IO-port (Z80) or memory (68000).
- Obsolete: CF cards are no longer widely used, but they can still be easily ordered online.
SD-card
- Widely used: Despite its limitations, the SD card remains widely used.
- Easy to connect: Although the SD card operates at 3.3V, most adapters include a voltage converter to 5V. Because of the SPI interface, only four IO lines are needed (COPI, CIPO, CLK and CS). In the Thunderbird design, the spare input and output lines from the serial chip (TL16C550) are used for that task.
- Slow: In homebrew retro computers, there is usually no dedicated SPI interface. It can be simulated via bit-banging, but this is very, very slow (about 10–20 KB/s). However, this is comparable to the speed of an old-school floppy disk. In Fuzix, it gives you the feeling of an old timesharing Unix machine. Every command takes its time to execute, but after all it works good.
SD to 44 pin IDE interface
On the internet, you can find inexpensive ($10) SD-to-IDE converters. These tiny boards accept either a full-size or microSD card and feature a 44-pin IDE interface. This fits perfectly into the Thunderbird design! I tested it on the board, and it worked flawlessly. The interface supports both 16-bit and 8-bit modes, with the latter being ideal for Z80 or 6502 designs.
CF-card | SD to IDE | SD-card | |
Total system power (@20MHz): | 5V / 200mA | 5V / 190mA | 3.3V (5V with interface) / ??mA |
Interface: | 8/16 bits databus | 8/16 bits databus | SPI |
Speed: | 700 KB/s | 800 KB/s | 10~20 KB/s (educated gess) |
Conclusion
For me, the SD-to-IDE interface is a winner. Although there is a slight speed difference between the CF card and the SD-to-IDE interface, their speeds are approximately the same. However, since SD cards are more common, I prefer the SD-to-IDE interface.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.