-
Notifications
You must be signed in to change notification settings - Fork 33
Part 01 Setup
David Parrott edited this page Jul 29, 2019
·
2 revisions
Go Home
How long is one frame on the Gameboy? If you look in the link above and find the "Game Boy Technical Data" section, you will see that vertical sync is 59.73 Hz. This means, we need to render about 60 frames per second.
How may cycles does the Gameboy CPU process in one frame? If you look in the link above and find the "LCD Status Register" section, you will see that a complete screen refresh occurs every 70,224 clock cycles. The CPU should continue processing OpCodes until it meet or exceeds 70,224 clock cycles and then return to allow the emulator to refresh the screen.