Hi
I posted this on another forum, but I figured the more sources for different answers would be better for verification, opinions, and stuff like that. Anyway, here I go, hopefully someone on here may know the answers to my questions (thanks in advance).
So, I was reading about interrupts on Wikipedia. I Haven't messed around with snes / 65c816 coding in a while, but it got me thinking about interrupt vector tables.
When you're coding an SNES game, are there standard interrupt vector types that SNES or ZSNES emulator expects to be in the interrupt table?? Like are they actually required so that the ROM code will load up, or is it just good programming practice to have them? And more importantly, what would these standard vectors be (or is there too many to list?) Reset/Power On? I can't think of any other examples/types, help me out here. Maybe some that have to do with the SPC700? I dunno.
Another thing, can those interrupt vector addresses be any address location that you specify, or is there a standard or even required location? I guess reset woud be $0000 or something? Err, my homebrew coding knowledge is somewhere around basic and a little rusty right now, but don't be afraid to go into the last details, the more the better lol.
I posted this on another forum, but I figured the more sources for different answers would be better for verification, opinions, and stuff like that. Anyway, here I go, hopefully someone on here may know the answers to my questions (thanks in advance).
So, I was reading about interrupts on Wikipedia. I Haven't messed around with snes / 65c816 coding in a while, but it got me thinking about interrupt vector tables.
When you're coding an SNES game, are there standard interrupt vector types that SNES or ZSNES emulator expects to be in the interrupt table?? Like are they actually required so that the ROM code will load up, or is it just good programming practice to have them? And more importantly, what would these standard vectors be (or is there too many to list?) Reset/Power On? I can't think of any other examples/types, help me out here. Maybe some that have to do with the SPC700? I dunno.
Another thing, can those interrupt vector addresses be any address location that you specify, or is there a standard or even required location? I guess reset woud be $0000 or something? Err, my homebrew coding knowledge is somewhere around basic and a little rusty right now, but don't be afraid to go into the last details, the more the better lol.