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

Allow screen display when cycles patterns are partly correct. #255

Open
rtoumazet opened this issue Jan 5, 2023 · 0 comments
Open

Allow screen display when cycles patterns are partly correct. #255

rtoumazet opened this issue Jan 5, 2023 · 0 comments
Assignees
Labels
vdp2 VDP2 module

Comments

@rtoumazet
Copy link
Owner

Currently, when cycles patterns are just partly correct for one screen, the screen isn't displayed even if the correct part makes sense.

For instance, in the "set time" screen of the bios, NBG2 is configured as 256 colors cell mode with 2*2 character patterns and no reduction:
image

In this configuration, the screen needs 1 Pattern Name Data (PND) access and 2 Character Pattern Data (CPD) access to the VRAM, which is the case.
Cycle patterns are configured by the system as 0x2F66FFFF in bank B0, meaning Pattern Name Data (PND) access in T0, and Character Pattern Data (CPD) access in T2 and T3:
image
image

According to the doc, when T0 is used by a PND read for NBG0 and NBG1, there's no timing restrictions for CPD reads, but restrictions apply for all the others.
So when referring to the restriction table with NBG2 PND read in T0, CPD reads should only be possible for T0-T2 and T4-T7 timings, and T3 CPD read should not be possible :
image

But the screen is correctly displayed on the console.

@rtoumazet rtoumazet added the vdp2 VDP2 module label Jan 5, 2023
@rtoumazet rtoumazet added this to the v0.5.0 milestone Jan 5, 2023
@rtoumazet rtoumazet self-assigned this Jan 5, 2023
@rtoumazet rtoumazet removed this from the v0.5.0 milestone Jan 14, 2023
@rtoumazet rtoumazet moved this to Low priority in Backlog Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vdp2 VDP2 module
Projects
Status: Low priority
Development

No branches or pull requests

1 participant