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

MEGA65: Top border does not cover chars, when TEXTYPOS ($D04E) has lower value than top border register AND using GotoX instruction #353

Open
ghost opened this issue Jul 14, 2022 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 14, 2022

Chars are not displayed behind the border as on hardware, when shifting screen up by decrementing TEXTYPOS ($d04e).
This only applies to the top border.

using version: Xemu/MEGA65 20220613133247

Regarding this image, the part above the colored raster lines should be covered by the border.
TEXTYPOS_D04E

@lgblgblgb
Copy link
Owner

lgblgblgb commented Jul 14, 2022

@xhl77 Thanks for your time to report the issue!

@hernandp Do you have the willpower to take care this one?

@hernandp
Copy link
Contributor

Sure sir! I will handle it. Thanks @lgblgblgb

@hernandp
Copy link
Contributor

hernandp commented Jul 17, 2022

I have been playing with e.g: booting the machine,
POKE $d048,104
POKE $d04e,10
and besides minimal subpixel differences in screen, it's behaving properly.

Do you have any sample code @xhl77 ? Do you think other registers are involved to cause the issue? Thanks.

@ghost
Copy link
Author

ghost commented Jul 20, 2022

thanks for investigating @hernandp,
I took a closer look at it, and I suspect GotoX is causing problems. Without any GotoX instruction there is no border issue.

Here are source code and prg files
gotoX-border.zip

hope this helps in some way.

@ghost ghost changed the title MEGA65: Top border does not cover chars, when TEXTYPOS ($D04E) has lower value than top border register MEGA65: Top border does not cover chars, when TEXTYPOS ($D04E) has lower value than top border register AND using GotoX instruction Jul 20, 2022
@hernandp
Copy link
Contributor

hernandp commented Aug 7, 2022

Thank you @xhl77 . I will check your file, sorry for the late reply.

@hernandp
Copy link
Contributor

hernandp commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants