Search found 7 matches

by ambient_enigma
Wed Jan 14, 2009 1:58 pm
Forum: Bug Reports
Topic: libnds: Early read of X Key input and memset issue.
Replies: 3
Views: 5980

Re: libnds: Early read of X Key input and memset issue.

I had a similar problem that was solved by removing the following lines: irqInit(); irqEnable(IRQ_VBLANK); The problem went away after that. Hopefully that will help you, even though I don't see those lines in your code. You can see my original post under devkitARM on the index page in the post &quo...
by ambient_enigma
Fri Dec 19, 2008 5:14 pm
Forum: devkitARM
Topic: X,Y buttons and Touch Screen Unresponsive in New devkitARM
Replies: 3
Views: 5449

Re: X,Y buttons and Touch Screen Unresponsive in New devkitARM

I solved my problem. When I removed the following lines that were in my
old code the problem went away:
irqInit();
irqEnable(IRQ_VBLANK);

Thank you. I didn't notice that had changed.
by ambient_enigma
Thu Dec 18, 2008 4:10 pm
Forum: devkitARM
Topic: X,Y buttons and Touch Screen Unresponsive in New devkitARM
Replies: 3
Views: 5449

Re: X,Y buttons and Touch Screen Unresponsive in New devkitARM

Thanks for your reply. I've looked at the new examples and also Jaeden Amero's updated "Introduction to Nintendo DS Programming", but I can't see what I am doing wrong. My input and sprite code is based on Jaeden Amero's code, and my background code is based on a drunkencoders example for ...
by ambient_enigma
Tue Dec 16, 2008 8:48 pm
Forum: devkitARM
Topic: X,Y buttons and Touch Screen Unresponsive in New devkitARM
Replies: 3
Views: 5449

X,Y buttons and Touch Screen Unresponsive in New devkitARM

I just finished updating my code to work with the newest devkitARM + libnds, but now when I run my game the X and Y Buttons and Touch Screen are unresponsive. Everything else works the way it used to.
I'm testing on an R4 and MMD_CF. Please Help.
by ambient_enigma
Thu Oct 09, 2008 7:32 pm
Forum: devkitARM
Topic: bool SpriteEntry::hFlip
Replies: 1
Views: 3364

bool SpriteEntry::hFlip

I am using bool SpriteEntry::hFlip to change the direction my sprite faces when the sprite changes direction. When I run my program on an windows emulator (GoodNDS in this case) my sprite changes direction like I want. But, when I load my program on my DS lite using a MaxMediaDock CF, my sprite alwa...
by ambient_enigma
Thu Oct 09, 2008 7:28 pm
Forum: devkitARM
Topic: usleep
Replies: 3
Views: 5439

Re: usleep

I am writing code for the NDS. I just need a simple function to slow down the update of my
sprite, otherwise it moves too fast. Currently I am using an extra swiWaitForVBlank before I
update my sprite to get the desired effect.
by ambient_enigma
Mon Oct 06, 2008 4:48 pm
Forum: devkitARM
Topic: usleep
Replies: 3
Views: 5439

usleep

I need help getting usleep to work with devkitARM. I include unistd.h, but I get the error
"undefined reference to 'usleep'". Are there any other functions that perform a similar
function?