#106011 - gs2phateon - Sat Oct 14, 2006 2:58 am
I've been learning about GBA development for a while now, and I finally have to ask a question that has really been bugging me. When I run a program on Visual Boy Advance, why is it so much faster than when I try to run it on GBA hardware? I'm pretty sure this sounds like a question that would have been covered before, but I've been having a hard time tracking down a solution myself.
I've been reading up on all kinds of solutions to timers to regulate the framerate (I'm still not completely sure how to implement that). And right now the program I am working on waits for the vertical blank, but there is still a huge difference between how fast the program runs on the emulator, and how fast it runs on my GBA. I may be wrong on this one, but it sounds like this should regulate the graphics.
Again, I really hope this isn't too tough of a question. If Visual Boy does try to run faster on a faster computer, then I guess all I really need help with is making programs run at the same speed no matter what it's being played on.
I've been reading up on all kinds of solutions to timers to regulate the framerate (I'm still not completely sure how to implement that). And right now the program I am working on waits for the vertical blank, but there is still a huge difference between how fast the program runs on the emulator, and how fast it runs on my GBA. I may be wrong on this one, but it sounds like this should regulate the graphics.
Again, I really hope this isn't too tough of a question. If Visual Boy does try to run faster on a faster computer, then I guess all I really need help with is making programs run at the same speed no matter what it's being played on.