#76944 - JessTicular - Sun Mar 26, 2006 5:46 pm
Hey guy's and gals,
I've spent the better part of a day trying to get the GBFS to work, but finally got it running nice and smooth on the latest version of Dualis.
After a small dance and clap, I figured I'd give it a shot on hardware.
Unfortunatly... It doesn't work! :(
All I'm trying to do is print out how many files are stored in the system, which is pretty straight forward in the code as:
Dualis reports the correct number (1), but the hardware reports a silly number of 58771.
The basic run down of what I'm doing is:
Create normal .ds.gba & .nds files,
create a gbfs file system,
pad out to 256,
append system to .ds.gba & .nds files
( I figured out what to do from Chris's tutorials ( double.co.nz/nintendo_ds ), the example with DevKit, and various Forum Posts + Readme files )
Here's my workspace for everyone to gawk at and possibly laugh at me (hey, I'm new to the DS, cut me a break :P);
http://jt0.org/dl/ds/gbfs.rar
To get it going, simply run the makeall.bat file ( Does a clean, builds the app, then appends the gbfs ).
Thanks for any and all help as to why it's being silly!
Cheers,
Jess.
Last edited by JessTicular on Mon Mar 27, 2006 5:45 am; edited 1 time in total
I've spent the better part of a day trying to get the GBFS to work, but finally got it running nice and smooth on the latest version of Dualis.
After a small dance and clap, I figured I'd give it a shot on hardware.
Unfortunatly... It doesn't work! :(
All I'm trying to do is print out how many files are stored in the system, which is pretty straight forward in the code as:
Code: |
GBFS_FILE const* gbfs_file = find_first_gbfs_file((void*)0x08000000);
iprintf("\x1b[1;1HTotal GBFS Files: %i\n", (*gbfs_file).dir_nmemb); |
Dualis reports the correct number (1), but the hardware reports a silly number of 58771.
The basic run down of what I'm doing is:
Create normal .ds.gba & .nds files,
create a gbfs file system,
pad out to 256,
append system to .ds.gba & .nds files
( I figured out what to do from Chris's tutorials ( double.co.nz/nintendo_ds ), the example with DevKit, and various Forum Posts + Readme files )
Here's my workspace for everyone to gawk at and possibly laugh at me (hey, I'm new to the DS, cut me a break :P);
http://jt0.org/dl/ds/gbfs.rar
To get it going, simply run the makeall.bat file ( Does a clean, builds the app, then appends the gbfs ).
Thanks for any and all help as to why it's being silly!
Cheers,
Jess.
Last edited by JessTicular on Mon Mar 27, 2006 5:45 am; edited 1 time in total