Hello everyone! Ive got some rudimentary OpenGL code compiling and running on the Dreamcast
I was wondering how I could implement saving data to the Dreamcast. I want to write a low poly model editor for the Dreamcast. Models would be far too large to save to the vmu so I thought "maybe I could save them to the sd card adapter in the serial port"
Is there any way to do this in c/c++ in kallistios?
Thank you.
reading/writing files to sd card via serial port.
- kimchicoder
- DCEmu Newbie
- Posts: 2
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Fri Apr 02, 2021 7:40 pm
- Has thanked: 1 time
- Been thanked: 0
- BlueCrab
- The Crabby Overlord
- Posts: 5659
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Re: reading/writing files to sd card via serial port.
KallistiOS has support for reading/writing to both FAT and ext2 filesystems on an SD card in the serial port. Look at the sd/ext2fs example for direction on how to set things up. Using a FAT filesystem should be just a case of swapping out one library in the Makefile and swapping a few functions/headers around.
- These users thanked the author BlueCrab for the post:
- kimchicoder
- kimchicoder
- DCEmu Newbie
- Posts: 2
- Joined: Fri Apr 02, 2021 7:40 pm
- Has thanked: 1 time
- Been thanked: 0
Re: reading/writing files to sd card via serial port.
Wow! thanks, this is exactly what I'm looking for -> https://github.com/KallistiOS/KallistiO ... d-ext2fs.c