#163293 - dsbeginner - Sun Sep 28, 2008 10:54 pm
Hi everyone,
I have my DSL since a while and only recently found out about homebrew. I was intrigued right away and finally got around to fiddle with it myself.
Now that I've played with some code and tested it in iDeaS, there are a few things that aren't quite working as I expected them to. Ok, so my C++ skills are rather limited and rusty at best, and I obviously have to get my head around libnds first. I searched the forum, finding a lot of cool and smart stuff, but none that helped me with my problems. Maybe someone could point out to me what I'm doing wrong?
but that doesn't seem to do anything for me. However
does the job perfectly. So while my timer does work as expected, writing to the memory directly feels odd.
doesn't trigger in my code. Ever. No matter how I press the L button. It only seems to work with keysHeld().
in the same place works as expected. So it's not about the code around it, just the key, it seems.
works fine. But I can't get any of the other D-pad diretions to work with keysDownRepeat(), only with keysDown().
Thanks for reading, I hope someone can help me out.
Last edited by dsbeginner on Mon Sep 29, 2008 6:22 pm; edited 1 time in total
I have my DSL since a while and only recently found out about homebrew. I was intrigued right away and finally got around to fiddle with it myself.
Now that I've played with some code and tested it in iDeaS, there are a few things that aren't quite working as I expected them to. Ok, so my C++ skills are rather limited and rusty at best, and I obviously have to get my head around libnds first. I searched the forum, finding a lot of cool and smart stuff, but none that helped me with my problems. Maybe someone could point out to me what I'm doing wrong?
- How do you set up a timer, using just libnds functions? I thought it should work with
Code: |
irqSet(IRQ_TIMER0, on_irq); |
Code: |
IRQ_HANDLER = on_irq; |
Code: |
keysDown() & KEY_L |
Code: |
keysDown() & KEY_A |
Code: |
keysDownRepeat() & KEY_UP |
Thanks for reading, I hope someone can help me out.
Last edited by dsbeginner on Mon Sep 29, 2008 6:22 pm; edited 1 time in total