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

CLS on true color screen #38

Open
blackborn66 opened this issue Apr 16, 2023 · 3 comments
Open

CLS on true color screen #38

blackborn66 opened this issue Apr 16, 2023 · 3 comments

Comments

@blackborn66
Copy link
Contributor

I tried a AQB program in true color (WinUAE with uaegfx):

The CLS in a window did nothing.

If I do open a old school SCREEN first it works.
With hicolor screenmode or 8bit (uaegfx) it works too.
Only true color seems not to work
And it was all on WB 3.9

@blackborn66
Copy link
Contributor Author

blackborn66 commented Apr 17, 2023

It's also in WB 3.1

But! Not always in true color (32bit BGRA).
Only in modes higher than 800x600 - starting with 1024x768

And! It's also in hicolor (16bit PC)
But! The problem comes only in modes higher than 1920x1440 - starting with 2048x1152
And it doesn't matter if I turn down the used colors number in ScreenMode

@blackborn66
Copy link
Contributor Author

you can use this little test:

OPTION EXPLICIT

FOR i AS Integer = 1 TO 10
    cls    
    locate i, 5
    PRINT "round "; i
    sleep FOR 0.8 
NEXT i    

@gooofy
Copy link
Owner

gooofy commented May 19, 2023

AQB's CLS implementation is very straightforward:

Move (_g_cur_rp, 0, 0);
ClearScreen(_g_cur_rp);

maybe this is a bug in the RTG implementation you're using?

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

No branches or pull requests

2 participants