Aren't interrupts possible with DevKitAdvance ?,
Members - Reputation: 122
Posted 09 June 2002 - 10:22 AM
Members - Reputation: 350
Posted 09 June 2002 - 11:11 AM
// enables vblank and hblank interrupts, which will follow the
// InterruptFunction function
REG_INTERUPT = (u32)InterruptFunction;
REG_IE |= 0x0002 | 0x0001;
REG_DISPSTAT |= 0x10 | 0x8;
REG_IME = 1;
This works fine for me, if I''m taking your problem right.
Sorry, I''m probably not getting what you''re saying.
-Arek the Absolute
Members - Reputation: 753
Posted 13 June 2002 - 08:11 PM
Actually, you''re on the right track. Most of the people I know do seem to make a few changes to the crt0.s and then recompile, replacing the original crt0.o with the new one. I can''t tell you what those changes are by heart because I haven''t toyed with interrupts, but you can probably find the information on gbadev.org or on the #gamedev channel in EFNet server of IRC.