Search found 14 matches
- Fri Sep 30, 2011 12:54 pm
- Forum: DS/DSi Development
- Topic: Example file warnings...
- Replies: 4
- Views: 6494
Re: Example file warnings...
I get loads of them even though the variable has been initialised, more often than not it's due to the flow of your code.
- Sat Jul 30, 2011 1:00 pm
- Forum: Off Topic
- Topic: NO$GBA hates the "push sp" instruction, libgcc uses it
- Replies: 5
- Views: 12971
Re: NO$GBA hates the "push sp" instruction, LibGCC uses it
Surely you should be reporting this to the authors of NO$GBA. If development has stopped then thats tough luck.
Use another emulator (or use a DS... just a thought).
Use another emulator (or use a DS... just a thought).
- Fri Jul 29, 2011 2:38 pm
- Forum: devkitARM
- Topic: Optimising code
- Replies: 1
- Views: 3756
Optimising code
When writing for the DS what are the main things to avoid to ensure as the code is fast as possible?
For example I've heard that ARM doesn't like multiplying and dividing so is '<<' (i.e. z=x<<2;) a problem?
For example I've heard that ARM doesn't like multiplying and dividing so is '<<' (i.e. z=x<<2;) a problem?
- Wed Jul 27, 2011 11:58 am
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Re: Problems with sound
Just to say thanks to elhobbs for his invaluable advice and assistance. I managed to produce noise and now it's full steam ahead with my little project (which will probably end up as vapourware ).
Thanks again elhobbs.
Thanks again elhobbs.
- Mon Jul 25, 2011 11:54 pm
- Forum: DS/DSi Development
- Topic: Reading/Writing Files
- Replies: 17
- Views: 19012
Re: Reading/Writing Files
Unless I'm very much mistaken you have to be using a real DS rather than an emulator.
- Mon Jul 25, 2011 3:16 pm
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Re: Problems with sound
Ok, thanks for the advice.
I suspect I will be back to ask more daft questions.
I suspect I will be back to ask more daft questions.
- Mon Jul 25, 2011 2:30 pm
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Re: Problems with sound
I assume I use fifoSendAddress and fifoGetAddress but the bit I don't get is the uncached region of main system memory, (a) how to access it and (b) how to write to it.
- Mon Jul 25, 2011 2:21 pm
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Re: Problems with sound
Ok, that makes sense.
Any chance of a bit of code to point me in the right direction?
Any chance of a bit of code to point me in the right direction?
- Mon Jul 25, 2011 1:25 pm
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Re: Problems with sound
Thanks for the quick reply. When I say removing iprintf I mean just deleting it and recompiling. Which leads me to think that iprintf was slowing things down allowing the FIFO buffer to empty before being refilled so I could be overflowing the FIFO buffer, filling it faster than it can empty itself....
- Mon Jul 25, 2011 12:22 pm
- Forum: DS/DSi Development
- Topic: Problems with sound
- Replies: 8
- Views: 7892
Problems with sound
Right first the disclaimer. I know very little about sound and I'm just experimenting. I'm playing around with the sound registers and FIFO, just seeing what I can do. The code below runs fine and produces sound but when I remove the iprintf I just get silence. Can someone please explain why and how...