#98458 - leoedin - Tue Aug 15, 2006 11:47 am
I really don't get why they send me this stuff - I'm not really a programmer.
anyway - I don't know if this stuff exists already
it seems theres a file with C++ and a file with asm for each language, but I know very little about programming (I can make a simple calculator in java, and thats about it :))
Anyway...Here it is - in lots of languages :)
Leo
http://gbatmw.net/dsfiles/G6M3fatlib.rar
_________________
Yours Truly
my website
my blog
M3 Review
#98471 - chishm - Tue Aug 15, 2006 2:01 pm
Hmm, they distributed it as a precompiled library, based on the old gba_nds_fat. That doesn't make it easy to correct bugs, nor to incorporate it into libfat. I could disassemble the functions from within the .a file, but I don't really see why I should have to.
Distributing it in this form also means that another version of each app that uses gba_nds_fat needs to be compiled for G6/M3 support. Is there really so difficult to release the source, even if it is in asm? They are clearly visible inside the .a file anyway (eg G6_SelectSaver).
Maybe I should write some guidelines for writing drivers to be used within libfat.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#98477 - Yamishi - Tue Aug 15, 2006 2:36 pm
I hope this adds a lot of G6 support to programs I know and love... :/ (Moonshell and DSOrganize, specifically)
P.S. I got an e-mail with the lib too, and I wanted to be the one to make this topic :p
Edit: Grammar
#98513 - leoedin - Tue Aug 15, 2006 6:57 pm
do they just email it to everyone in their address book? They sent me something for the M3 SD a few months ago as well - I think that was quite useless to these guys as well :o
_________________
Yours Truly
my website
my blog
M3 Review
#98558 - Xtreme - Tue Aug 15, 2006 11:50 pm
G6 / G6Lite / M3CF / M3SD Read/Write lib:
15-08-2006
Version 2 (FAT16 / FAT32)
- G6 lite is supported
- M3SDmini is supported
Download
Seems that they gave the fat lib to other people too after I had mailed them several times bacause SD card write speed is too slow (Time required to write 512 bytes. SD:83ms CF:0.17ms, I hope it can be tweaked) and because there is a big need for homebrew. I see now that I was too slow as I don't read my mails so often.
I hope it can be used even as it's not the clean source code as chishm pointed.
_________________
My Theme
DS Lite (FM_V8a) ** R4 Revolution (2GB Transcend) ** SuperCard Lite (2x 2GB Transcend)
#98583 - josath - Wed Aug 16, 2006 5:21 am
I emailed them, pointing out that this is not very useful to developers, and that a source release would be much better. Perhaps other people should do the same, it might encourage them to release source. I mean, it can't hurt.
#98603 - ne1 - Wed Aug 16, 2006 10:24 am
I just got a quick quick reply from danny containing the source (I think)!
http://www.yousendit.com/transfer.php?action=download&ufid=0FD7092E7194D31A
http://www.megaupload.com/?d=KRJSCDW9
"The attachment is the new FatLib for the G6/M3 devices for developers to
use.
Please release it . Thanks!
For all series of M3-SD included M3-SDmini, we recommend to make the
following changes in the code of the "io_m3sd.c".
#define CF_STS_INSERTED1 0x20
#define CF_STS_INSERTED2 0x30
#define CF_STS_INSERTED3 0x22
#define CF_STS_INSERTED4 0x32
#define isM3ins(sta) ((sta == CF_STS_INSERTED1)||(sta ==
CF_STS_INSERTED2)||(sta == CF_STS_INSERTED3)||(sta == CF_STS_INSERTED4))
* Thanks to the developer of RAIN, we referred to the code of RAIN r16
io_m3sd.c and tested that it worked fine in all series of M3.
Regards
Danny"
#98604 - pepsiman - Wed Aug 16, 2006 10:37 am
ne1 wrote: |
I just got a quick quick reply from danny containing the source (I think)! |
Nope.
#98607 - chishm - Wed Aug 16, 2006 11:36 am
I wonder if those changes are all that's required to provide support for the mini M3SD. If so, then the driver in libfat should already be compatible, since it doesn't use that method of detection at all.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#98609 - ne1 - Wed Aug 16, 2006 12:15 pm
pepsiman wrote: |
ne1 wrote: | I just got a quick quick reply from danny containing the source (I think)! |
Nope. |
doh
#98719 - emphyrian - Thu Aug 17, 2006 1:39 am
This is good then, yes? :)
#98849 - Xtreme - Fri Aug 18, 2006 12:28 am
chishm, I hope you bring up something.
We all suspect if you talented enough to do it, if so, prove it.* ;-)
* this should be sort of encouragement.. i hope it works..
_________________
My Theme
DS Lite (FM_V8a) ** R4 Revolution (2GB Transcend) ** SuperCard Lite (2x 2GB Transcend)
#98924 - Xtreme - Fri Aug 18, 2006 3:21 pm
I mailed them again asking the source code because they give me the precompile instead.
They replied:
Quote: |
Sorry ,we have not the source code of G6 .
We need to ask our enginee . |
Maybe they really don't have it and there is only one guy (out house) who have coded it and have not given it to them?
_________________
My Theme
DS Lite (FM_V8a) ** R4 Revolution (2GB Transcend) ** SuperCard Lite (2x 2GB Transcend)
#99108 - hawk - Sat Aug 19, 2006 4:05 pm
Anyone who has actually managed to get this alternative version of the FAT library to work?
In particular, I can't even seem to get this to link, but that could be due to me using the "wrong" toolchain.
(I'm using current devkitpro tools, that is devkitarm 19b, etc...)
First of all, it had the "wrong EABI version"... I resorted to using change-eabi (from the devkitpro site).
But after that I still get an error like this:
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.1.1/../../../../arm-eabi/bin/ld.exe:
error: no memory region specified for loadable section
`i.disc_setGbaSlotInterface'
collect2: ld returned 1 exit status
Any ideas on how to get this library to work?
#99127 - hawk - Sat Aug 19, 2006 5:30 pm
Looking into the G6 object files it turns out that they were generated by ADS1.2, which is not too promising when it comes to getting them to work with anything else...
Let's hope that harassing them a little about releasing the source pays off.
#99145 - Xtreme - Sat Aug 19, 2006 7:52 pm
Moonlight told me that this fat lib is for official ARM compiler ADS and cannot be used with DevKitARM. :(
I'm waiting reply from the coder of the fat lib. I hope he gives the source. M3 team doesn't have sources.
_________________
My Theme
DS Lite (FM_V8a) ** R4 Revolution (2GB Transcend) ** SuperCard Lite (2x 2GB Transcend)
#99181 - hawk - Sat Aug 19, 2006 11:23 pm
Xtreme wrote: |
Moonlight told me that this fat lib is for official ARM compiler ADS and cannot be used with DevKitARM. :(
I'm waiting reply from the coder of the fat lib. I hope he gives the source. M3 team doesn't have sources. |
Well, yes... It's obvious from looking at the strings in the object files that "ARM C Compiler, ADS1.2 [Build 805]" was used.
(And that the sources that we're after appear to be in D:\Coding\NDS\G6LoaderTest\arm9\SOURCE\FAT32\SOURCE\ on some machine out there :P )
I really really hope that whoever has the sources is willing to release them, it would make things so much easier.
#100699 - hawk - Tue Aug 29, 2006 9:38 pm
Any chance that anyone has any (positive or negative) updates on this?
#100852 - Yamishi - Thu Aug 31, 2006 4:02 am
I hope something good can come out of this :( I got a G6 Lite, only to be completely disappointed (I really did get it just for homebrew - I only wanted it because it's flush with the DS Lite and doesn't need expensive memory cards).
On an unrelated topic, are there any devices that are compatible with DSOrganize, Moonshell and DS Doom that are flush with the DS Lite? ^_^;
#100855 - tepples - Thu Aug 31, 2006 5:05 am
Why do you need flush? Is it the pants pocket + jogging = card might fall out of DS issue? If so, you could get a microSD adapter for music and a CF adapter for everything else.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#100857 - Bluemercury - Thu Aug 31, 2006 5:30 am
Is it true that the fatlib for m3 minisd is out for developers?
#100893 - Yamishi - Thu Aug 31, 2006 2:20 pm
tepples wrote: |
Why do you need flush? Is it the pants pocket + jogging = card might fall out of DS issue? If so, you could get a microSD adapter for music and a CF adapter for everything else. |
Well, while that is an issue, there are a couple others:
a) My shirt pockets aren't wide enough to fit a DS Lite + GBAMP, and I don't like putting my Lite in my pants pockets, because I tend to bump into things a lot, and that might damage it.
b) It looks better ;D (not a huge issue, but it certainly doesn't hurt)
Although I had a GBAMP, I got rid of it when it stopped working. The CF card was barely readable in ANY device, and the GBAMP sometimes messes up for no reason and just garbles whatever I try to do.
New GBAMP + CF card:
a) Expensive
b) Big
Although I do appreciate the input. I will start saving up for a GBAMP + CF card ;D
#100898 - Sektor - Thu Aug 31, 2006 3:28 pm
Bluemercury wrote: |
Is it true that the fatlib for m3 minisd is out for developers? |
Not a usable version. They released something but it was useless.
_________________
GTAMP.com/DS
#100988 - chishm - Fri Sep 01, 2006 10:52 am
libfat never had trouble with the M3SD mini because of the way it was coded. G6 has no support because GBalpha don't feel like releasing the source code to their drivers, and no one feels like disassembling the provided, compiled library.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#101029 - Bluemercury - Fri Sep 01, 2006 8:31 pm
By the way how's the m3 lite compatibility? should i change for another card?
Or will M3 release the damn fatlibs? whats the best combo for Roms/Homebrew compatibility?
#101031 - HyperHacker - Fri Sep 01, 2006 9:01 pm
Official DS cards and a GBAMP.
_________________
I'm a PSP hacker now, but I still <3 DS.
#101036 - Bluemercury - Fri Sep 01, 2006 9:11 pm
HyperHacker wrote: |
Official DS cards and a GBAMP. |
Official DS cards?
Dont know the GBAMP though...
#101053 - tepples - Fri Sep 01, 2006 10:45 pm
"Official DS cards" means buy the games and play them unmodified.
"GBAMP" means GBA Movie Player v2 CF.
But where should I discuss rom-hacking? A few people on tetrisconcept.com who own authentic Tetris DS Game Cards have expressed a wish for a hack that disables the music (but not the sound effects) in Tetris DS.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#101061 - Bluemercury - Fri Sep 01, 2006 11:36 pm
tepples wrote: |
"Official DS cards" means buy the games and play them unmodified.
"GBAMP" means GBA Movie Player v2 CF.
But where should I discuss rom-hacking? A few people on tetrisconcept.com who own authentic Tetris DS Game Cards have expressed a wish for a hack that disables the music (but not the sound effects) in Tetris DS. |
GBAMP is from m3 too right?Because my m3 minisd is also a gba movie player...am i correct?