From: Ricky Z. <zha...@gm...> - 2017-08-13 17:39:26
|
Regarding to the preference part in UI or in ~/.basilisk_ii_prefs, it is a piece of cake. I can help you for this. But I’m not sure we are on the same page regarding to up scaling. In current implementation i.e SDL v1, I can make BII in full screen mode in Mac OS X under 1920x1080 resolution. IMO, stretching always don’t look great in full screen mode. I have 21:9 screen. I feel the pain when playing low-res vintage game in full screen mode. If it is stretched ,it get distorted. If it is not, it is way too small to see. So I wonder what need to be done to up scale the guest OS properly either in windows mode or in full screen mode under hi-res monitor. I’m 30 something now. I can image that if I grow older and have far sighted issue, I will have trouble to see the text or play game even under hi-res monitor. I believe up-scaling is applying some sort of filter on the original frame. It may not need SDL v2 to do the trick though if acceleration is not needed. I’m glad that you start an initiative to port SDL2 to BII. But in order to convince the folks to upgrade, we’d better have a killing features. > On Aug 13, 2017, at 12:18 PM, David Ludwig <dl...@po...> wrote: > > Side note to point #1, regarding aspect ratio: the scaling only works, at present, in fullscreen mode. A means to scale in windowed mode might be nice, although, I suspect it could require either a new setting, or a modification to the "screen" setting's syntax. > > On Sun, Aug 13, 2017 at 12:16 PM, David Ludwig <dl...@po... <mailto:dl...@po...>> wrote: > The SDL2 port should, in theory, already be scaling the guest OS' resolution up to the host OS', albeit only in fullscreen mode. What it doesn't do, however, is: > > 1. maintain aspect ratio. It'll stretch the guest OS' display to match the host OS'. SDL2 does have functionality to help with this, though. > > 2. use anti-aliasing when either of the scaling ratios have fractional components. This seems like an easy enough add, though. > > I'll record TODOs/issues for both of these, at my port's repo (at https://github.com/davidludwig/macemu <https://github.com/davidludwig/macemu>). > > > On Sat, Aug 12, 2017 at 8:25 AM, Ricky Zhang <zha...@gm... <mailto:zha...@gm...>> wrote: > Thanks for sharing this! This will be a superb work to renovate BII. > > I don’t mean to hijack your thread. But since you touch SDL2 topic, I wonder how to make it looks nicer in hi-res monitor. Even in 2K monitor nowadays, I think the font size and game screen is way too small. > > I know that mini Mac has zoom 2X feature. My educated guess is that the zoom implement this way — If there is a pixel like [x, y, RGB(r,g,b)], then zoom 2 X is to draw a 2X2 matrix: > > [x, y, RGB(r,g,b)], [x+1, y, RGB(r,g,b)] > [x, y+1, RGB(r,g,b)], [x+1, y+1, RGB(r,g,b)] > > I can imagine in some cases it won’t looks good. Thus, we need to smooth it with anti-aliasing. But this is beyond my expertise. > > If anyone has insight to solve this problem in hi-res, please let me know. > > thanks, > Ricky > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> > _______________________________________________ > basilisk-devel mailing list > bas...@li... <mailto:bas...@li...> > https://lists.sourceforge.net/lists/listinfo/basilisk-devel <https://lists.sourceforge.net/lists/listinfo/basilisk-devel> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel |