You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should be able to interrupt any other running interrupt but
should not be interrupted by any other interrupt.
This is because the GBA's DMA needs to be reset manually and this is done by kradInterrupt() which is tied to IRQ_TIMER1. A too long delay after IRQ_TIMER1 fired will result in unwanted noise/clicks being output.
This has been solved for older crt0's, see krawall/examples/crt0 but there's no solution for devkitPro, yet.
(First, thanks so much for releasing and maintaining this awesome library after so many years!) Practically speaking, for someone like myself who is trying to build an old project with new devKitPro, should I use the crt0.s that is bundled with krawall instead? Here is my project and I am having crashes as soon as I uncomment kragInit( KRAG_INIT_STEREO );http://github.com/chr15m/LooperAdvance
If you could throw any light on that I would really appreciate it!
If I was to build with krawall's crt0.s - what is the best way of overriding the devKitArm one from inside my project? I couldn't find any Makefile setting to allow me to do that so if you have a hint let me know.
I would stick to DevKit's crt0, like I do in the examples... I've left the old crt0 there only for reference.
The only thing that can go wrong with DevKit's crt0 is that there may be clicks if you spend too much time in ISRs and IRQ_TIMER1 can't run. But there shouldn't be any crashes.
If the clicks are a problem, we'll have to look at the interrupt-dispatcher in libgba as WinterMute pointed out in the post linked to above.
IRQ_TIMER1
This is because the GBA's DMA needs to be reset manually and this is done by kradInterrupt() which is tied to IRQ_TIMER1. A too long delay after IRQ_TIMER1 fired will result in unwanted noise/clicks being output.
This has been solved for older crt0's, see krawall/examples/crt0 but there's no solution for devkitPro, yet.
See http://devkitpro.org/viewtopic.php?f=25&t=7882#p15033 for hints on implementing it.
The text was updated successfully, but these errors were encountered: