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.

Coding > Interrupt Handling Performance

#7669 - Pokemonster - Sun Jun 22, 2003 8:23 pm

Hi there!

I've implemented my own interrupt handling code instead of modifying the crt0.S script. That is my code writes the adress of the handler function into 0x3007FFC and the handler manages everything else.
I'm not sure if this is as fast as using the linked default interrupt handler... could this become a performance issue ?

Cheers,
ALex

#7670 - Lupin - Sun Jun 22, 2003 8:28 pm

I don't think so, but why didn't you activate FastInterrupts (line 118 in ctr0.s)?

#7673 - Pokemonster - Sun Jun 22, 2003 8:49 pm

... because I haven't figured out what fast interrupts are and what they are good for :-)

#7675 - Lupin - Sun Jun 22, 2003 9:26 pm

I didn't use them before, but I think fast interrupts is no interrupt handling, you'd have to do everything within your code.