-
Notifications
You must be signed in to change notification settings - Fork 32
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
MEGA65: Incorrect VIC-II bitmap fetch address #284
Comments
Proposal to fix #284: VICII bitmap address
Thanks! Merged to |
You re welcome. Yeah that automatic referencing is useful but sometimes a bit odd ;) |
Is there anything left here or can I close this issue? |
@lgblgblgb It is done. Close this ;) |
Describe the bug
During character fetch, either in bitmap or text mode, the VICII bitmap address is set to CHARSET addr. This fails when e.g CHARSET is set to 14336 (with bits $D018 1-3 to 1110) since the only considered bit is 3 for bitmap.
So the effective VIC2 bitmap address should equal to MEGA65 24-bit Charset address with masked bits 0-12. This will keep bitmap (13) and DD00 bank (14-15) plus the upper MEGA65 additional bits.
The following program can be used for testing:
Correct output is (both in HW/xemu):
Incorrect output (fetch is displaced from 14336 instead of 8192):
Use BASICRAS.D81 provided for additional test.
BASICRAS.zip
The text was updated successfully, but these errors were encountered: