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

SDL patch , Qemu SM502 G4 Pegasos2 display problem. #5

Open
smarkusg opened this issue Nov 4, 2023 · 0 comments
Open

SDL patch , Qemu SM502 G4 Pegasos2 display problem. #5

smarkusg opened this issue Nov 4, 2023 · 0 comments

Comments

@smarkusg
Copy link

smarkusg commented Nov 4, 2023

Hello

There is an issue with displaying the image on in QEMU emulation under Pegasos 2 board G4 cpu and SM502 graphics card on AOS4.
I have created a quick patch and have a request to check. The patch affects only the configuration mentioned above.
It forces a 32bpp display on a 16bpp screen. It works fine. The only problem may be the operation of the image in full screen.
The image is displayed full screen if the aspect ratio is according to the values that are available for the sm502. It does not scale the image if the image is not in the correct resolution (1024.768,800x600..).

I found no other solution to the problem and SDL is already obsolete. It is possible that this will no longer be fixed at all and this is the only method I know of to make the image work normally.

https://github.com/smarkusg/patches/blob/master/sdl-1.2.15-sm502.patch

Thank you for your help.

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

1 participant