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

upd7220: During a GCHRD command always start with pram[15] #8317

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

brijohn
Copy link
Contributor

@brijohn brijohn commented Jul 19, 2021

When rendering the pattern in pram[8]-pram[15] the gchrd command should always start with pram[15]. Currently it will start at pram[8+n], where n is the height of your fill area. This works fine when the height is a multiple of 8, but otherwise the wrong bytes of the pattern buffer are accessed.

This fixes some display bugs on the QX-10 system when using mfbasic.com

@cuavas cuavas merged commit 82ac80f into mamedev:master Jul 19, 2021
@brijohn brijohn deleted the upd7220_gchrd_fix branch July 19, 2021 17:42
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.

2 participants