#90345 - wickedtrickster - Thu Jun 29, 2006 8:32 pm
Hello,
I am trying to do a simple file system; I could use one of the current lib available, but the purpose is mainly for learning :)
From what I've read on DSTEK, the cartridge data is map from 0x08000000 to 0x09FFFFFF. So if I append data at the end of my .nds file, I should be able to retreive it at location 0x08000000 + .nds size - 0x200 (512 bytes header size). This works great on DUALIS, but doesn't work at all on my Nintendo DS. I did a small app which scan all memory between 0x08000000 and 0x09FFFFFF, on my DS it is full of 0 (zero).
I also took a look at the gbfs code. which scan the same memory address than my test, plus somewhere at the beginning of the 4M main memory (which I don't fully understand where it starts, and why it search there...).
I also look at chishm's fat librairy, but this isn't really what I want since I want the file system to also run on a gba card ! :)
Well I'm confused; any help on this topic would be greatly appreciated ! :)
Thank you,
Ben.
I am trying to do a simple file system; I could use one of the current lib available, but the purpose is mainly for learning :)
From what I've read on DSTEK, the cartridge data is map from 0x08000000 to 0x09FFFFFF. So if I append data at the end of my .nds file, I should be able to retreive it at location 0x08000000 + .nds size - 0x200 (512 bytes header size). This works great on DUALIS, but doesn't work at all on my Nintendo DS. I did a small app which scan all memory between 0x08000000 and 0x09FFFFFF, on my DS it is full of 0 (zero).
I also took a look at the gbfs code. which scan the same memory address than my test, plus somewhere at the beginning of the 4M main memory (which I don't fully understand where it starts, and why it search there...).
I also look at chishm's fat librairy, but this isn't really what I want since I want the file system to also run on a gba card ! :)
Well I'm confused; any help on this topic would be greatly appreciated ! :)
Thank you,
Ben.