#103827 - dushan42 - Sun Sep 24, 2006 9:12 pm
Hi!
I've been trying to account for every single byte of my IWRAM usage and I've noticed that the IRQ stack (as defined in the standard Jeff Frohwein link script) starts 0x60 bytes below the top of IWRAM:
What is this mysterious region between $03007fa0 and $03007ffc for?
I've noticed in VisualBoyAdvance that invoking some software interrupts (e.g. swi 0x06 - integer division) scribbles over some of the area ($03007fd0 - $03007fe0). Any ideas why?
I've been trying to account for every single byte of my IWRAM usage and I've noticed that the IRQ stack (as defined in the standard Jeff Frohwein link script) starts 0x60 bytes below the top of IWRAM:
Code: |
__sp_irq = __iwram_top - 0x60; |
What is this mysterious region between $03007fa0 and $03007ffc for?
I've noticed in VisualBoyAdvance that invoking some software interrupts (e.g. swi 0x06 - integer division) scribbles over some of the area ($03007fd0 - $03007fe0). Any ideas why?