gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > FIQ on the GBA/NDS?

#160258 - Dwedit - Sat Jul 12, 2008 11:54 pm

Can you use FIQ mode to switch between two sets of registers on a GBA/NDS?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#160259 - DekuTree64 - Sun Jul 13, 2008 12:33 am

Yep. I mainly used it for sound mixers, although I never actually came up with an algorithm that was faster with the extra registers.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku

#163312 - moonlightcheese - Mon Sep 29, 2008 2:20 pm

isn't there a bit you have to set in the nintendo logo addresses to enable the "undefined" and "fiq" processor states on the GBA? check out cowbite or gbatek...