#21102 - mr_schmoe - Sun May 23, 2004 10:11 pm
Ok, I not sure I understand things correctly. If any of you could of some help, and you all have been very much so in the past, that would be fantastic.
What I understand is that the GBA updates the screen 60 times a second. So, does that mean each frame takes 1/60 of seconds to draw? And each scan line takes 1/160 of 1/60 of a second to draw? And if that's true, then after the 160th line is draw, do we only have 1/160 of 1/60 of seconds to update the OAM and do all the other drawing we need to. Because that doesn't seem like much time. If that's not the case, how long do we have? And is the time between the 160th line and the 1st line, is that called the vblank? And what if we take too much time to draw everything? Do we get the same effects as if one didn't wait for a vsync because the GBA is already halfway down the screen before we are finished drawing. And what about vblank interrupts? How do they work and how much time do we have in one of those? So many questions, I'm sorry. I'll probably post some more as the first ones get answered though. Thanks for all your help.
What I understand is that the GBA updates the screen 60 times a second. So, does that mean each frame takes 1/60 of seconds to draw? And each scan line takes 1/160 of 1/60 of a second to draw? And if that's true, then after the 160th line is draw, do we only have 1/160 of 1/60 of seconds to update the OAM and do all the other drawing we need to. Because that doesn't seem like much time. If that's not the case, how long do we have? And is the time between the 160th line and the 1st line, is that called the vblank? And what if we take too much time to draw everything? Do we get the same effects as if one didn't wait for a vsync because the GBA is already halfway down the screen before we are finished drawing. And what about vblank interrupts? How do they work and how much time do we have in one of those? So many questions, I'm sorry. I'll probably post some more as the first ones get answered though. Thanks for all your help.