Page 1 of 1

Custom SWI handler or Undefined instruction handler

Posted: Sun Jan 06, 2019 9:07 pm
by ycelik
Hi all,

Is it possible to "hack" the vector table, so that your GBA uses for example a custom handler
for undefined instructions?
I tried to write to the base 0x04 address, but that did not work (read only memory? Bios protected? tested in no$gba).

Greetings,

Joseph

Re: Custom SWI handler or Undefined instruction handler

Posted: Mon Jan 07, 2019 2:02 am
by fincs
Unfortunately it isn't possible to use custom exception vectors on GBA, because the memory at 00000000 is occupied by the BIOS (which indeed is read-only).