Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fifo accuracy #101

Merged
merged 3 commits into from
Sep 17, 2022
Merged

Fix fifo accuracy #101

merged 3 commits into from
Sep 17, 2022

Conversation

alloncm
Copy link
Owner

@alloncm alloncm commented Sep 3, 2022

No description provided.

README.md Outdated Show resolved Hide resolved
lib_gb/src/cpu/gb_cpu.rs Outdated Show resolved Hide resolved
lib_gb/src/cpu/opcode_runner.rs Outdated Show resolved Hide resolved
lib_gb/src/machine/gameboy.rs Outdated Show resolved Hide resolved
lib_gb/src/ppu/gb_ppu.rs Outdated Show resolved Hide resolved
lib_gb/src/ppu/gb_ppu.rs Show resolved Hide resolved
lib_gb/src/ppu/gb_ppu.rs Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@alloncm
Copy link
Owner Author

alloncm commented Sep 17, 2022

Add this resource to the resources section in the readme - http://blog.kevtris.org/blogfiles/Nitty%20Gritty%20Gameboy%20VRAM%20Timing.txt

* Allow the PPU to be m_cycle accurate by cycling the mmu
each time an operation on the mmu is executed.

* Add the initial delay in the PPU background fifo that resets it
after 6 t_cycles at the beginning of each scanline.

* Add a delay in the PPU state changing mechanism.
the state should change at the m_cycle the new state begins
and not the m_cycle the old state ends.
* Add some of the PPU acceptane tests to the integration tests to
be  run each time.
The tests I added are:
- intr_2_0_timing
- intr_2_mode0_timing
- intr_2_mode3_timing
- intr_2_oam_ok_timing

The tests can be found here - https://github.com/Gekkio/mooneye-test-suite
* Add the new mooneye tests
 * Add the Nitty gritty gameboy timing and the mgba gbdoc
to the resources in the README
@alloncm alloncm merged commit d4cd240 into dev Sep 17, 2022
@alloncm alloncm deleted the fix/fifo_accuracy branch September 17, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant