#19964 - Mephisto - Thu Apr 29, 2004 12:15 am
Is there a way to create a file ?
I read gba does not have any file system, but anyone tried to export some info in files or whatever ?
#19965 - zazery - Thu Apr 29, 2004 12:26 am
I assume you mean creating files on the GBA. Well there are probably some ways to do it. Remember you can program a file system yourself. There is a windows port to the GBA if I remember. Maybe look at that. I'm not sure what you want to do. You can obviously use the SRAM (Save RAM) to save things to and turn off the GBA.
I hope this helps, if you could be more clear I'll try to give a better answer.
#19968 - niltsair - Thu Apr 29, 2004 12:45 am
Pogoshell also offer a static FileSystem (read only)
_________________
-Inside every large program is a small program struggling to get out. (Hoare's Law of Large Programs)
-The man who can smile when things go wrong has thought of someone he can blame it on. (Nixon's Theorem)
#19969 - Mephisto - Thu Apr 29, 2004 12:50 am
no i mean directly write one into your disk
#19971 - niltsair - Thu Apr 29, 2004 1:07 am
As in : "Playing your rom on an emulator and wanting to Read/Write a file to your computer"?
If it's the case, then you might be missing a point, this is GBA dev. Still, there is one way, and it is to create a save which is actually dumped on the Pc by the emulator.
_________________
-Inside every large program is a small program struggling to get out. (Hoare's Law of Large Programs)
-The man who can smile when things go wrong has thought of someone he can blame it on. (Nixon's Theorem)
#19973 - Mephisto - Thu Apr 29, 2004 1:24 am
so how can i do this, any link plz ?
#19974 - niltsair - Thu Apr 29, 2004 1:41 am
http://www.gbadev.org/docs.php?section=saving
I'm not sure what's the maximum amount the emulator will allow you to Read/Write though, but the Gba allow a maximum of 64k.
This file is created as soon as you 'save data', taking the name of your rom + .sav for it's filename.
_________________
-Inside every large program is a small program struggling to get out. (Hoare's Law of Large Programs)
-The man who can smile when things go wrong has thought of someone he can blame it on. (Nixon's Theorem)