Reading TF card information

After playing around for a while with the Wishbone interface and trying to work out how the modem and Ethernet MAC will interact with each other, the TF card information is present and can be acquired at will. The ULX3S doesn’t have the full TF card lines enabled so it’s not possible to refresh the information when a card is inserted. This shouldn’t be a problem, as the final unit would be disconnected from the Dreamcast to change the TF card.

Below is a video with a few of the cards I have to hand for testing. There are more (beyond the 2GB limit), but I’m sticking with testing up to 2GB for now. An anachronistic mode will be added to provide for cards with a capacity larger than 2GB.

It’s a lengthy video, just because it took a while to insert new cards. Initially, there is nothing inserted, hence the invalid information at the beginning. Here are some timestamps for the different cards:

Time Manufacturer Capacity Type
00:12 Panasonic 16MB Full
00:26 Panasonic 32MB Full
00:41 SanDisk 32MB Micro
00:58 Cloudisk 128MB Micro
01:12 Samsung 2GB Micro
01:25 Toshiba 2GB Micro
01:41 Transcend 2GB Full

Now that at least the basic information can be retrieved, the next step is to read and write blocks. There are so many functions that could be added, but I’ll keep it straightforward for reading and writing blocks in both the single and multiple form. The most difficult part afterward will be the filesystem to use. I’d like to get the hardware side of the interface done by the end of Summer so that during the latter half of the year I can concentrate on the Broadband Adapter and modem implementation.