Full screen scaling

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
centris610
Space Cadet
Posts: 2
Joined: Mon Feb 22, 2021 8:32 pm

Full screen scaling

Post by centris610 »

I don't believe this is possible, but wanted to be sure: is it possible to run BasiliskII full screen without scaling/magnification?

Specifically, I'm looking to run System 7 at 800 x 600 on a monitor that has a native resolution of 2560 x 1440. When I switch to full screen, BasiliskII scales/magnifies the pixels to fill the screen (with black borders because 4:3), however I'd like to keep the pixel ratio at 1:1. Essentially, run BasiliskII with the windowed resolution, but in full screen mode.

Is this possible? Thanks for the help!

(I'm running BasiliskII on macOS 10.13.6.)
User avatar
Ronald P. Regensburg
Expert User
Posts: 6584
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Full screen scaling

Post by Ronald P. Regensburg »

I am not sure what you are asking for. Do you want to run BasiliskII not filling the screen, at the size of the window, but with large black borders around it?
emendelson
Forum All-Star
Posts: 1253
Joined: Tue Oct 14, 2008 12:12 am

Re: Full screen scaling

Post by emendelson »

Yes, I think the OP is asking for these prefs settings:
scale_nearest true
scale_integer true
User avatar
Ronald P. Regensburg
Expert User
Posts: 6584
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Full screen scaling

Post by Ronald P. Regensburg »

Well, yes, but the question is not clear.

@centris610
There are two possibilities available in BasiliskII:

1. In the GUI set Width x Height to Maximum x Maximum.
That will provide fullscreen display without enlargement.

2. In the prefs file add the lines:
scale_nearest true
scale_integer true
On a high resolution Retina screen the fullscreen display can be enlarged but sharper.
On a less high resolution screen, the fullscreen display will not be enlarged, but will have black borders.
See Advanced features in the BasiliskII setup manual: https://www.emaculation.com/doku.php/ba ... uilds_only

Note that saving settings in the GUI app will delete the additional lines.
centris610
Space Cadet
Posts: 2
Joined: Mon Feb 22, 2021 8:32 pm

Re: Full screen scaling

Post by centris610 »

Ronald P. Regensburg wrote: Tue Feb 23, 2021 7:54 am I am not sure what you are asking for. Do you want to run BasiliskII not filling the screen, at the size of the window, but with large black borders around it?
You got it. On my 2560 x 1440 display I'm looking to run BasiliskII with `screen dga/800/600` and have it only use 800 x 600 pixels (a 1:1 pixel ratio with large black borders).
emendelson wrote: Tue Feb 23, 2021 12:35 pm Yes, I think the OP is asking for these prefs settings:
scale_nearest true
scale_integer true
Ah, yes! Interestingly, the smaller 800 x 600 still scales (though, much cleaner) while 1024 x 768 is 1:1. Regardless, much better than before. Thank you!

Image
Image
Last edited by centris610 on Wed Feb 24, 2021 7:30 am, edited 2 times in total.
emendelson
Forum All-Star
Posts: 1253
Joined: Tue Oct 14, 2008 12:12 am

Re: Full screen scaling

Post by emendelson »

centris610 wrote: Wed Feb 24, 2021 7:21 am Ah, yes! Interestingly, the smaller 800 x 600 still scales (though, much cleaner) while 1024 x 768 is 1:1. Regardless, much better than before. Thank you!
800x600 scales because it can be integer-scaled (exactly 2x 800 x 600 fits into your screen), while 1024x768 won't scale because it can't scale to exactly 2x and fit into your screen. Ronald's method 1 will let you get 800x600 without scaling.
User avatar
Ronald P. Regensburg
Expert User
Posts: 6584
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Full screen scaling

Post by Ronald P. Regensburg »

emendelson wrote: Wed Feb 24, 2021 12:46 pm Ronald's method 1 will let you get 800x600 without scaling.
Not really. It will get you 2560 x 1440 without scaling.
User avatar
Ronald P. Regensburg
Expert User
Posts: 6584
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Full screen scaling

Post by Ronald P. Regensburg »

Setting the resolution in the GUI to exactly half your screen resolution (1280 x 720) will get you in fullscreen mode scaling twice that will fill all of your screen.
centris610
Space Cadet
Posts: 2
Joined: Mon Feb 22, 2021 8:32 pm

Re: Full screen scaling

Post by centris610 »

Great—this makes sense.

Thanks everyone for your help.
Post Reply