Custom SWI handler or Undefined instruction handler

Post Reply
ycelik
Posts: 1
Joined: Sun Jan 06, 2019 9:04 pm

Custom SWI handler or Undefined instruction handler

Post by ycelik » Sun Jan 06, 2019 9:07 pm

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

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 103
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: Custom SWI handler or Undefined instruction handler

Post by fincs » Mon Jan 07, 2019 2:02 am

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).
Donate to devkitPro - help us stay alive!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests