Search found 40 matches

by Dwedit
Mon Dec 05, 2011 5:50 pm
Forum: DS/DSi Development
Topic: Usage of Expansion RAM
Replies: 2
Views: 2705

Re: Usage of Expansion RAM

Expansion RAM is the slowest RAM available, since there are so many waitstates to get to the cartridge slot. You can only write there in units of 16-bits or higher, 8-bits writes will copy the byte to both parts of the halfword, just like VRAM on the GBA. But the speed problems are highly reduced wh...
by Dwedit
Sat Nov 12, 2011 10:15 pm
Forum: devkitARM
Topic: Feature request for linkscripts: sorted .xxxx.* sections
Replies: 1
Views: 2349

Re: Feature request for linkscripts: sorted .xxxx.* sections

I'm still unsure about the order, regarding where numbered and unnumbered sections should go. Sometimes you want the numbered sections first, sometimes you want them last.
by Dwedit
Sat Nov 12, 2011 9:47 pm
Forum: devkitARM
Topic: Feature request for linkscripts: sorted .xxxx.* sections
Replies: 1
Views: 2349

Feature request for linkscripts: sorted .xxxx.* sections

I would like to see a feature where I could place variables into a real subsection, so that they get linked in the specified order. Example: I make a section called .iwram.100 in one file, then a section called .iwram.101 in another file. They would be linked in this order: ".iwram", ".iwram.100", "...
by Dwedit
Sat Nov 05, 2011 4:58 pm
Forum: maxmod
Topic: Maxmod fails to correctly play "Dancing Mad" IT file by Virt
Replies: 4
Views: 6942

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

Soundbank is over 4MB when compiled for the NDS, which is too big to fit into main memory. Soundbank is only 2MB when compiled for the GBA, but the GBA has 32MB of ROM to work with.
by Dwedit
Fri Nov 04, 2011 7:46 am
Forum: maxmod
Topic: Maxmod fails to correctly play "Dancing Mad" IT file by Virt
Replies: 4
Views: 6942

Re: Maxmod fails to correctly play "Dancing Mad" IT file by

I am quite aware of how the NDS has 16 hardware sound channels, but that is not relevant. Maxmod on the NDS automatically allocates channels between software and hardware as needed, as seen in the Maxmod demo program. I was testing this on the GBA, where all channels are mixed in software. CPU usage...
by Dwedit
Thu Nov 03, 2011 8:39 pm
Forum: maxmod
Topic: Maxmod fails to correctly play "Dancing Mad" IT file by Virt
Replies: 4
Views: 6942

Maxmod fails to correctly play "Dancing Mad" IT file by Virt

Maxmod screws up while playing "Dancing MAD 1.it" by Virt, in some sections of the song, it stops playing notes until the pattern ends. The first time it screws up is at pattern #5 (the 8th pattern in the song sequence), it stops at the first note until the pattern expires. The next time it screws u...
by Dwedit
Wed Nov 02, 2011 5:35 pm
Forum: DS/DSi Development
Topic: Problem with 768pxx768px bg
Replies: 7
Views: 5154

Re: Problem with 768pxx768px bg

By any chance, did you call something else that writes to VRAM, such as iprintf?
by Dwedit
Wed Oct 19, 2011 7:49 pm
Forum: devkitARM
Topic: Using --gc-sections puts __data_end__ before __data_start__
Replies: 2
Views: 2640

Re: Using --gc-sections puts __data_end__ before __data_star

Also, there's another problem. In crt0, it overwrites the SBSS section with junk data, because it's copying from __ewram_start__ to __ewram_end__, which is past the end of the SBSS section. It should be copying up to __sbss_start__ instead. In the crt0.s file, change this: @-------------------------...
by Dwedit
Wed Oct 19, 2011 7:24 pm
Forum: devkitARM
Topic: Using --gc-sections puts __data_end__ before __data_start__
Replies: 2
Views: 2640

Using --gc-sections puts __data_end__ before __data_start__

I was just spending the last few hours trying to track down a problem in devkitarm. I was having a problem where "__data_start__" came in memory after "__data_end__", so when the crt0 code copies data into ram, it copies a negative number (big number) of bytes, and crashes. After searching for the c...
by Dwedit
Thu Oct 06, 2011 4:35 am
Forum: devkitARM
Topic: Linker is adding extra crap (Unreferenced library code)
Replies: 15
Views: 16855

Re: Linker is adding extra crap (Unreferenced library code)

Works perfectly now, big thanks!