#140463 - Diddl - Sun Sep 16, 2007 5:47 pm
I'm working on a minishell (texmode like midnight commander). Cause it take too much time always testing on a real NDS I tried to run it on DeSmuME.
I was very astonished to see this emulator can really do directory listing from my PC harddisk with normal libfat commands!!!
How does it work? Does it emulate an slot 2 hardware like supercard? Or is there an integrated special DLDI for emulators?
#140470 - Sausage Boy - Sun Sep 16, 2007 6:38 pm
I'm pretty sure it emulates a GBAMP, at least dualis does.
_________________
"no offense, but this is the gayest game ever"
#140472 - Diddl - Sun Sep 16, 2007 6:54 pm
that is a fine feature for homebrew development!
#140475 - tepples - Sun Sep 16, 2007 7:23 pm
Which version of DeSmuME are you using?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#140484 - Diddl - Sun Sep 16, 2007 8:51 pm
tepples wrote: |
Which version of DeSmuME are you using? |
don't know, there is no about box or such. the exe has 569.344 bytes and is from 10.may.2007 21:57.
#140507 - calcprogrammer1 - Sun Sep 16, 2007 10:53 pm
Yeah, the newer Desmume release(s) emulate a GBAMP, but only the ROM's directory is available.
_________________
DS Firmware 1, Datel Games n' Music card / Chism's FW hacked GBA MP v2 CF
There's no place like 127.0.0.1.
#140513 - masscat - Sun Sep 16, 2007 11:18 pm
calcprogrammer1 wrote: |
Yeah, the newer Desmume release(s) emulate a GBAMP, but only the ROM's directory is available. |
Recent versions of Desmume have two versions of GBAMP emulation. The default version will try to emulate the FAT image for the directory of the .nds file. This can have problems (sub directory do not work under Linux) and it does not support writing.
The second emulation uses a disk image file. This supports full reading and writing and the disk image does not have to be FAT format. You enable this version of GBAMP emulation using the --cflash command line option. See this desmume forum thread for more information.
The second emulation works well. I used it, along with the GDB stub in desmume, to develop FlickBook DS.
If you are a Windows user, the biggest problem with the second approach is creating and populating the disk image. I wrote a Java application to do this but it is limited (again see the desmume forum thread).