Addition VIII: Hardware-Scaling (via framebuffer)
Using SteveM's modified SDL lib our UAE4All now has hardware scaled screenmodes.
Thanks @sebt3 - LD_PRELOAD works fine to use the modified lib for UAE4All.
After selecting the M68K core you now get to select one of 7 screenmodes. Unfortunately they aren't changeable on-the-fly (due to UAE4All crashing when SDL_SetVideoMode is called more than once) so you have to quit and restart UAE4All if you want to use a different screenmode.
Also a resolution of 320x200 made UAE4All crash. Thus the lowest working (upscaled resolution) is 320x205 - still making games with a resolution of 320x200 almost fullscreen (without destroying their correct x:y-aspect ratio!).
The 7 screenmodes are:
Screenmode 1 is perfect for a lot of games (Beast I&III, Chaos Engine, Gods, Hunter, Lotus I-III, Paradroid 90, Speedball 2, Stunt Car Racer, SuperCars I, Wings, Wings of Fury and many more).
Screenmode 2 is perfect for Turrican I&II and Beast II.
Screenmode 3 is the default mode and doesn't use the framebuffer. It's best for a couple of games like Arcade Pool, SuperCars II, Turrican 3 and more.
Screenmode 4 is perfect for games using the 320x256 PAL resolution like All Terrain Racing, Battle Squadron PAL version, SWIV and many more.
Screenmode 5 is perfect for Pinball Dreams&Fantasies and Superfrog (they all use a little more height than the standard PAL resolution).
Screenmode 6 is like screenmode 1 (so use it for the same games) - only a little more widestretched to use the full screen of the Pandora.
Screenmode 7 is for some NTSC games like Arkanoid NTSC version and Battle Squadron NTSC version. Pixels are "taller than wide" in this mode.
Of course the ugly softstretched modes are gone for good now.
Touchscreen support probably only works correctly for screenmode 3 (the default doubled pixels non-hardware scaled mode).
Download the new version: http://www.filefront.com/17230287/uae4all.zip
Source: http://www.filefront.com/17231620/uae4all_pandora_src.zip
Using SteveM's modified SDL lib our UAE4All now has hardware scaled screenmodes.
Thanks @sebt3 - LD_PRELOAD works fine to use the modified lib for UAE4All.
After selecting the M68K core you now get to select one of 7 screenmodes. Unfortunately they aren't changeable on-the-fly (due to UAE4All crashing when SDL_SetVideoMode is called more than once) so you have to quit and restart UAE4All if you want to use a different screenmode.
Also a resolution of 320x200 made UAE4All crash. Thus the lowest working (upscaled resolution) is 320x205 - still making games with a resolution of 320x200 almost fullscreen (without destroying their correct x:y-aspect ratio!).
The 7 screenmodes are:
- 1: 320x205 upscaled to 750x480
- 2: 320x216 upscaled to 712x480
- 3: 320x240 DOUBLED PIXELS to 640x480 (default mode without utilizing framebuffer)
- 4: 320x256 upscaled to 600x480 (standard PAL resolution)
- 5: 320x262 upscaled to 588x480 (slight overscan mode)
- 6: 320x205 upscaled to 800x480 (like screenmode 1 but slightly widestretched to use the Pandora's full screen)
- 7: 320x205 upscaled to 640x480 (for NTSC games)
Screenmode 1 is perfect for a lot of games (Beast I&III, Chaos Engine, Gods, Hunter, Lotus I-III, Paradroid 90, Speedball 2, Stunt Car Racer, SuperCars I, Wings, Wings of Fury and many more).
Screenmode 2 is perfect for Turrican I&II and Beast II.
Screenmode 3 is the default mode and doesn't use the framebuffer. It's best for a couple of games like Arcade Pool, SuperCars II, Turrican 3 and more.
Screenmode 4 is perfect for games using the 320x256 PAL resolution like All Terrain Racing, Battle Squadron PAL version, SWIV and many more.
Screenmode 5 is perfect for Pinball Dreams&Fantasies and Superfrog (they all use a little more height than the standard PAL resolution).
Screenmode 6 is like screenmode 1 (so use it for the same games) - only a little more widestretched to use the full screen of the Pandora.
Screenmode 7 is for some NTSC games like Arkanoid NTSC version and Battle Squadron NTSC version. Pixels are "taller than wide" in this mode.
Of course the ugly softstretched modes are gone for good now.
Touchscreen support probably only works correctly for screenmode 3 (the default doubled pixels non-hardware scaled mode).
Download the new version: http://www.filefront.com/17230287/uae4all.zip
Source: http://www.filefront.com/17231620/uae4all_pandora_src.zip
Quite handy - when I extracted a PND for testing purposes I took the kickstart-part and reused it in the later runme.shs (the nub selection dialog wasn't in there yet).EvilDragon said:Well, I also use an enhanced run script which sets the mouse to left handed or right handed on first start (nubs) and tells you if the kickstart is missing
Really fortunate that our UAE4All-port doesn't use SDL audio so sound is working fine with framebuffer.SteveM said:[...]installing to /usr/lib will most probably break sound for other apps which use SDL audio :-
Last edited by a moderator: