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

Add ROM PAR mapping quirk to the MMU #121

Merged
merged 4 commits into from
Feb 20, 2025
Merged

Add ROM PAR mapping quirk to the MMU #121

merged 4 commits into from
Feb 20, 2025

Conversation

craigthomas
Copy link
Owner

This PR implements a ROM mapping quirk to the MMU. With ROM pages $3C to $3F, the mapping of the page to a task or executive PAR contains a quirk - the page requested uses the upper 6 bits from the page specified, but the bottom 2 bits from the slot that it is mapped into. This means that if page $3D is mapped to slot 2, the effective page mapped to slot 2 is $3E. Unit tests added to catch new conditions.

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.24%. Comparing base (5e83a86) to head (ff38c2f).
Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #121      +/-   ##
============================================
- Coverage     54.90%   54.24%   -0.67%     
- Complexity      966      996      +30     
============================================
  Files            64       63       -1     
  Lines          4340     4515     +175     
  Branches        494      527      +33     
============================================
+ Hits           2383     2449      +66     
- Misses         1877     1982     +105     
- Partials         80       84       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@craigthomas craigthomas merged commit 1d9dbab into main Feb 20, 2025
4 checks passed
@craigthomas craigthomas deleted the mmu-par-rom-quirks branch February 20, 2025 18:59
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