Hey all,
Well, the shakeups in my life seem to have calmed down, so I'm trying to get back on track with all the GP32 development I had planned. *sigh*
Anyway, I'm really liking the look of Mirko's SDK, but I've got a few quick questions for anyone who cares to answer them:
1-
The following is from example.256color:
// Palette format: %RRRRRGGGGGBBBBBI (5551)
// I : Intensity Bit 1=on 0=off
With regards to the "intensity" bit in 256 colour mode: what does this actually /do/? Are we talking some sort of halfbright thing like on the Amiga?
2-
Is there any way to run code on horizontal line interrupts? To be specific, I want to try coding a simple copper effect, and so I need to be able to change the palette on each scanline. Any ideas with regards to this would be appreciated. The most ideal situation would be a way to implement an interrupt handler function, as that would work the best with my existing code. Actually, having a handler for vertical blanks would be very handy as well.
3-
Is there plans to explicitely handle multiple sound channels with Miro's SDK? Right now, it looks like you just get access to one channel, but I seem to recall the official SDK supporting 4?
4-
What's the proper way to allocate memory with Miro's SDK? For instance, if I have a char pointer, and want to allocate it a chunk of RAM large enough to hold 640x240 pixels, what would I need to do?
5-
Is there plans for an 8bit version of gp_clearFramebuffer16? I'd like to have fast screen clears, but I'm not at the point where I want to write the ASM myself.
Thanks in advance, guys!
Well, the shakeups in my life seem to have calmed down, so I'm trying to get back on track with all the GP32 development I had planned. *sigh*
Anyway, I'm really liking the look of Mirko's SDK, but I've got a few quick questions for anyone who cares to answer them:
1-
The following is from example.256color:
// Palette format: %RRRRRGGGGGBBBBBI (5551)
// I : Intensity Bit 1=on 0=off
With regards to the "intensity" bit in 256 colour mode: what does this actually /do/? Are we talking some sort of halfbright thing like on the Amiga?
2-
Is there any way to run code on horizontal line interrupts? To be specific, I want to try coding a simple copper effect, and so I need to be able to change the palette on each scanline. Any ideas with regards to this would be appreciated. The most ideal situation would be a way to implement an interrupt handler function, as that would work the best with my existing code. Actually, having a handler for vertical blanks would be very handy as well.
3-
Is there plans to explicitely handle multiple sound channels with Miro's SDK? Right now, it looks like you just get access to one channel, but I seem to recall the official SDK supporting 4?
4-
What's the proper way to allocate memory with Miro's SDK? For instance, if I have a char pointer, and want to allocate it a chunk of RAM large enough to hold 640x240 pixels, what would I need to do?
5-
Is there plans for an 8bit version of gp_clearFramebuffer16? I'd like to have fast screen clears, but I'm not at the point where I want to write the ASM myself.
Thanks in advance, guys!