#46016 - CpuWhiz - Sat Jun 18, 2005 5:06 am
I am sure all my questions have been asked before, but I need some clarification. I want to make a little RPG (who hasn't?), so I am trying to figure out how to fit all the stuff together. I am going to use devkitARM and libgba. This is where my first two questions come in.
1) Is libgba just a set of header files like the ones from the pern project and similar tutorials? What all is in the library?
2) What is up with the crt object files? I think they have something to do with interrupt handling but what all are they for and why does the pern project want to go writing a IRQ handler?
3) So could sound be using some timers and DMA for two PCM sound effects made with TektronicWave? Why does this also use some custom crt? Darn the crt stuff.
4) BoyScout with the other sound channels for BGM. It looks like this is included in libgba? How would I use this?
5) I think I would use a interrupt for the vblank and during this time write some assembly to update the sprites and such. Is there anything else you should do during certain times?
6) The main game loop is for the game specific stuff, reading input and loading and starting areas and sounds and such?
7) Anywhere I can find a little more info on tiles and maps.
I understand C/C++ and some assembly, I get most of how this stuff works, I just need a little help putting it all together. If there is something I have wrong or may be missing, please tell me! Set me straight :D
Thanks for you time. Please don't flame me :)
1) Is libgba just a set of header files like the ones from the pern project and similar tutorials? What all is in the library?
2) What is up with the crt object files? I think they have something to do with interrupt handling but what all are they for and why does the pern project want to go writing a IRQ handler?
3) So could sound be using some timers and DMA for two PCM sound effects made with TektronicWave? Why does this also use some custom crt? Darn the crt stuff.
4) BoyScout with the other sound channels for BGM. It looks like this is included in libgba? How would I use this?
5) I think I would use a interrupt for the vblank and during this time write some assembly to update the sprites and such. Is there anything else you should do during certain times?
6) The main game loop is for the game specific stuff, reading input and loading and starting areas and sounds and such?
7) Anywhere I can find a little more info on tiles and maps.
I understand C/C++ and some assembly, I get most of how this stuff works, I just need a little help putting it all together. If there is something I have wrong or may be missing, please tell me! Set me straight :D
Thanks for you time. Please don't flame me :)