Sega System 24 SD Card progress Part 2

Swapped the switching FET to an open collector 7406 (I didn’t have an LS handy) and I was able to reduce the delay in the read considerably.

Reading the directory from the SD card works which is cool.

As the SD/FAT code needs to run in the System24 bios, it all needs converting to 68k assembler. After a few evenings work, the code to interface to the sd card is written but still needs debugging on real hardware. FAT16/FAT32 (or maybe just FAT32) code to be converted next.

The beauty of having the code working in C is that I can just replace each function with it’s assembler version and test each one. (after realising I needed to create some trampoline functions to convert the stack passing method to a more typical assembly call method.. unless there’s a compiler function to use register passing.. I wonder..)

20161113_224613 20161113_224455

 

Leave a Reply

Your email address will not be published. Required fields are marked *