Hi there
I had decided to rewrite whole core of my emulator. Therefore I started to investigate how NES works precisely by clocks. Right now I am trying to implement APU frame counter and found some difficulties. I wrote everything I know about frame counter here (russian).
As I don't know how to implement it right now, I've wrote some tests (but can't test it on real hardware though). It can be found here.
The problem is that no emulator can pass all the tests (actually the old version of my emulator even freezes on the last one). Did I make a mistake in the tests? All explanation about them can be found in the post I mentioned above.
Please comment this post, I need your feedback.
I had decided to rewrite whole core of my emulator. Therefore I started to investigate how NES works precisely by clocks. Right now I am trying to implement APU frame counter and found some difficulties. I wrote everything I know about frame counter here (russian).
As I don't know how to implement it right now, I've wrote some tests (but can't test it on real hardware though). It can be found here.
The problem is that no emulator can pass all the tests (actually the old version of my emulator even freezes on the last one). Did I make a mistake in the tests? All explanation about them can be found in the post I mentioned above.
Please comment this post, I need your feedback.