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 (44 pin)
- 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 (SPI)
- 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/level shifter to 5V. Because of the SPI interface, only four GPIO 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.
- Terribly 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–25 KB/s). However, this is comparable to the speed of an old-school floppy disk. In Fuzix, it gives the feeling of an old timesharing Unix machine—every command takes its time to execute, but in the end, it works well.
SD-to-IDE interface (44 pin)
On the internet, there are 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 (44 pin) | SD to IDE interface (44 pin) | SD-card (with interface) | |
Voltage: | 5 V | 5 V | 3.3 V (5 V with interface) |
Total system power (@20MHz): | 200 mA | 190 mA | ?? mA |
Interface: | 8/16 bits to databus | 8/16 bits to databus | SPI ("bit bang") |
Read (sequential): | 700 KB/s | 800 KB/s | 10~25 KB/s (educated guess) |
Read (random): | 525 KB/s | 550 KB/s | 10~25 KB/s (educated guess) |
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.