gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Time to face my DS GL problem (downl: source and binaries)

#60199 - LOst? - Tue Nov 08, 2005 12:33 am

http://www.kund.hemmanet.se/~lost/polygl.zip

My problem is random, and it kills me. Well not that random. There must be an answer. I am happy to just find out what the problem is, but I may as well forget about even working with 3D on the DS. I have an "ultra 1G Flash Card" from flash2advance, and a PassMe (lovely device). I burn the *.nds.gba file in a program called "F2APowerWriter", and I get white screens on both screens when I use any libNDS GL calls in my source. Sometimes randomly as I said above, the code will run, but if I want to add anything to the code at that point, I am back to white screens.

The *.NDS always work in the emulator E*****.

I want to know if it is my flash cart that is bad? Anyone care to test my binary on real hardware?

EDIT: typos
_________________
Exceptions are fun

#60204 - mike260 - Tue Nov 08, 2005 1:41 am

Try removing the swiWaitForVBlank; I've never had any ill effects from leaving it out.
_________________
"Ever tried? Ever failed? No matter. Try Again. Fail again. Fail better."
-- Samuel Beckett

#60252 - LOst? - Tue Nov 08, 2005 12:48 pm

mike260 wrote:
Try removing the swiWaitForVBlank; I've never had any ill effects from leaving it out.


Sorry. That is not the problem. Having swiWaitForVBlank will save battery time. Enough with that now.

I need people to test my nds.gba on the real hardware to see if the problem is my flash cart or not.
_________________
Exceptions are fun

#60254 - Onori - Tue Nov 08, 2005 12:57 pm

work fine each time on my ezflash / 256mb / passme2 / new firmware blue ds

#60255 - LOst? - Tue Nov 08, 2005 1:25 pm

Onori wrote:
work fine each time on my ezflash / 256mb / passme2 / new firmware blue ds

Thank you ^^

Question:
You just flashed my compiled polygl.nds.gba without modifications?
_________________
Exceptions are fun

#60256 - Onori - Tue Nov 08, 2005 1:29 pm

yes :)
also work fine on grey ds with same ezflash and nds magic key

#60258 - LOst? - Tue Nov 08, 2005 1:33 pm

Onori wrote:
yes :)


Okay. So something is wrong with my F2A Ultra 1G Flash Card, or F2APowerWriter program. If I only could uncheck the "Fix Data" option in the config dialog.

I hate this. Now i need people that have the same flash cart as me, and the same program to test it. Remember that my flash cart is 1gb, and if that is the problem, I may be able to switch it with my brothers 256mb f2a flash card.

People, please help if you have time!
_________________
Exceptions are fun

#60260 - mike260 - Tue Nov 08, 2005 2:31 pm

Works fine on a 128Mb F2A using F2A Writer (F2A Power Writer never worked properly for me).
_________________
"Ever tried? Ever failed? No matter. Try Again. Fail again. Fail better."
-- Samuel Beckett

#60261 - LOst? - Tue Nov 08, 2005 2:44 pm

mike260 wrote:
Works fine on a 128Mb F2A using F2A Writer (F2A Power Writer never worked properly for me).

Thanks!

Question: Where can I get F2A Writer?

Maybe that program will be the solution!
_________________
Exceptions are fun

#60263 - tepples - Tue Nov 08, 2005 2:57 pm

I don't know where to get F2A Writer, but I currently use LittleWriter with my Visoly Flash Advance Pro 256 Mbit cart. (The first F2A carts are identical to Visoly FA Pro.)
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#60265 - mike260 - Tue Nov 08, 2005 3:05 pm

Try http://www.flash2advanceultra.com/Download.htm
_________________
"Ever tried? Ever failed? No matter. Try Again. Fail again. Fail better."
-- Samuel Beckett

#60279 - LOst? - Tue Nov 08, 2005 4:45 pm

mike260 wrote:
Try http://www.flash2advanceultra.com/Download.htm

If this isn't working, then I guess the only problem is that the flash cart is 1gb.
_________________
Exceptions are fun

#60287 - LOst? - Tue Nov 08, 2005 6:04 pm

Okay I hate this. 1GB flash card is not working with that old F2A Writer. I tried to understand LittleWriter that good, as it seemed only 256mb was supported.

It looks like there is no hope for 1gb. I am going to switch it with my brothers in hope it will work.

Until then, no DS testing for me ;.;
_________________
Exceptions are fun

#60313 - LOst? - Wed Nov 09, 2005 12:15 am

I made a file compare between the original polygl.nds.gba and the binary after I flashed it:

Code:

Search for differences

1. D:\devkitPro\projects\nds\polygl\polygl.ds.gba: 19?857 bytes
2. D:\devkitPro\projects\nds\polygl\flashed.ds.gba: 19?857 bytes
Offsets: hexadec.

  BD:   C3   79
 DC0:   04   FF
 DC1:   49   FF
 DC2:   07   FF
 DC3:   4A   FF
 DC4:   0B   FF
 DC5:   68   FF
 DC6:   04   FF
 DC7:   48   FF
 DC8:   13   FF
 DC9:   40   FF
 DCA:   23   FF
 DCB:   43   FF
 DCC:   0B   FF
 DCD:   60   FF
 DCE:   D2   FF
 DCF:   E7   FF
 DD0:   9C   FF
 DD1:   2E   FF
 DD2:   00   FF
 DD3:   02   FF
 DD4:   D4   FF
 DD5:   5C   FF
 DD6:   00   FF
 DD7:   02   FF
 DD8:   D0   FF
 DD9:   5C   FF
 DDA:   00   FF
 DDB:   02   FF
 DDC:   C0   FF
 DDD:   04   FF
 DDE:   00   FF
 DDF:   04   FF
 DE0:   00   FF
 DE1:   00   FF
 DE4:   03   FF
 DE5:   4B   FF
 DE6:   09   FF
 DE7:   04   FF
 DE8:   40   FF
 DE9:   00   FF
 DEA:   09   FF
 DEB:   0C   FF
 DEC:   C0   FF
 DED:   18   FF
 DEE:   01   FF
 DEF:   80   FF
 DF0:   70   FF
 DF1:   47   FF
 DF2:   00   FF
 DF3:   00   FF
 DF4:   30   FF
 DF5:   03   FF
 DF6:   00   FF
 DF7:   04   FF
 DF8:   00   FF
 DF9:   21   FF
 DFA:   04   FF
 DFB:   4B   FF
 DFC:   CA   FF
 DFD:   18   FF
 DFE:   43   FF
 DFF:   5A   FF
 E00:   02   FF
 E01:   31   FF
 E02:   13   FF
 E03:   80   FF
 E04:   40   FF
 E05:   29   FF
 E06:   F8   FF
 E07:   D1   FF
 E08:   70   FF
 E09:   47   FF
 E0A:   00   FF
 E0B:   00   FF
 E0C:   80   FF
 E0D:   03   FF
 E0E:   00   FF
 E0F:   04   FF
 E10:   10   FF
 E11:   B5   FF
 E12:   12   FF
 E13:   04   FF
 E14:   12   FF
 E15:   0C   FF
 E16:   88   FF
 E17:   42   FF
 E18:   07   FF
 E19:   DC   FF
 E1A:   05   FF
 E1B:   4C   FF
 E1C:   43   FF
 E1D:   00   FF
 E1E:   1B   FF
 E1F:   19   FF
 E20:   01   FF
 E21:   30   FF
 E22:   1A   FF
 E23:   80   FF
 E24:   02   FF
 E25:   33   FF
 E26:   81   FF
 E27:   42   FF
 E28:   FA   FF
 E29:   DA   FF
 E2A:   10   FF
 E2B:   BC   FF
 E2C:   01   FF
 E2D:   BC   FF
 E2E:   00   FF
 E2F:   47   FF
 E30:   80   FF
 E31:   03   FF
 E32:   00   FF
 E33:   04   FF
 E34:   03   FF
 E35:   4A   FF
 E36:   00   FF
 E37:   23   FF
 E38:   13   FF
 E39:   60   FF
 E3A:   03   FF
 E3B:   4A   FF
 E3C:   D0   FF
 E3D:   23   FF
 E3E:   DB   FF
 E3F:   04   FF
 E40:   13   FF
 E41:   60   FF
... keeps going until eof.

Is this why I get white screens at bootup? What can be wrong? Linker or flash cart?
_________________
Exceptions are fun