Skip to content

Add Bitplane Control #40

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

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Add Bitplane Control #40

merged 1 commit into from
Jul 2, 2024

Conversation

craigthomas
Copy link
Owner

This PR introduces bitplanes to the emulator. A second drawing plane exists that can be targeted and blitted to separately from the original bitplane. In addition to this new functionality, a fix was added for storing and loading subsets of registers. The original issues reported that that functionality existed for Fxy2 and Fxy3, which was incorrect. This has now been moved to 5xy2 and 5xy3 respectively. Unit and integration tests updated accordingly. This PR closes #28

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

Attention: Patch coverage is 94.90446% with 8 lines in your changes missing coverage. Please review.

Project coverage is 92.41%. Comparing base (1da3918) to head (dac1155).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   90.27%   92.41%   +2.14%     
==========================================
  Files           4        4              
  Lines         473      620     +147     
==========================================
+ Hits          427      573     +146     
- Misses         46       47       +1     
Files Coverage Δ
chip8/screen.py 100.00% <100.00%> (+9.67%) ⬆️
chip8/cpu.py 96.12% <84.90%> (-1.21%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bed04f1...dac1155. Read the comment docs.

Fix problems with incorrect opcode for register subset store / read.

Fix problem with scrolling left on bitplane 3.

Update README to include new colors.

Add unit tests to cover bitplane 0 edge cases.

Add missing test for exception on bad 5xxx opcode.
@craigthomas craigthomas force-pushed the bitplane-implementation branch from eb1f862 to 25651ea Compare July 2, 2024 17:22
@craigthomas craigthomas merged commit d73204c into main Jul 2, 2024
1 check passed
@craigthomas craigthomas deleted the bitplane-implementation branch July 22, 2024 01:30
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.

Update Draw Instructions to Use Bitplanes
1 participant