Have you encountered cases of slowdown or dropped frames in your game? That’s because the game uses too many cycles to be processed in a single frame. But how many cycles do you have actually? This short post will show you the number of CPU cycles you can use, and why it’s that number exactly.
vblank
Deep Dive: VBlank and NMI
Sometimes, you’ll want to stop code execution until the screen is done drawing. For instance, if you need to update more tiles on screen than the vBlank period is capable of, when you want to turn off the screen to do additional updates, or simply because you want a few frames of idle time in your game. There are two ways to do this, which NESmaker both applies. Let’s go into the details.