4 ms·
> The timings get really tough between the PPU / CPU with all of the scanline tricks you can do, even with an NROM setup. Right, I agree. The PPU's intricacies
by WoodenChair 5y ago
> The timings get really tough between the PPU / CPU with all of the scanline tricks you can do, even with an NROM setup.
Right, I agree. The PPU's intricacies are what make it difficult to write a good tutorial. When I wrote my own emulator as a personal learning project in C I did it myself except the background rendering of the PPU which I ported from a popular cycle-accurate Go project. In writing this book, what I've done is go and say "how can I write the absolutely minimum PPU so that the most basic NROM games will play (like Donkey Kong & Tennis)." My rewritten from scratch PPU is as simple as possible, only doing any rendering once per frame (the simplified PPU only does anything 60 times per second). I have it working well on very simple commercial and public domain games in C. Now my challenge is to get it ported and performant enough in pure Python, the language of the book.
- nicetryguy 5y agoYou're doing Gods work then my friend =) Is it possible to sync python up enough to get it to write frames accurately without a significant amount of lag? I'd certainly be interested in how to get it to do that.