VOGONS


Scaler

Topic actions

First post, by Markus

User metadata

It would really be nice, if Dosbox wouldn't only scale to 2x2 but also to 3x3 and 4x4.
Running some old game, that's written for 320x200 gives at scaling 2x2 only 640x400, which is still too small on a 1280x1024 display...

Reply 1 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

those games were made to be played fullscreen, so play them fullscreen

Reply 2 of 15, by Markus

User metadata

Fullscreen looks awful on a TFT, when the image gets interpolated...

Reply 3 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

You can try switching your desktop resolution to 640x512

Reply 4 of 15, by Snover

User metadata
Rank l33t++
Rank
l33t++

robertmo, that would do exactly 0 to help the fact that the image would still be interpolated.

Screen has 1280x1024 pixels.
Image has only 640x400 pixels.
In order to stretch the 640x400 pixel image to 1280x1024 pixels, one needs to interpolate.

Yes, it’s my fault.

Reply 5 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

If your LCD is 1280x1024 this means:
1280x1024 looks perfectly and
640x512 (1280/2x1024/2) looks perfectly too.
All the other resolutions would be ugly

so you can play dosbox (in a 640x480 or in a 640x400 window) on 640x512 desktop with same effect as with playing dosbox with imaginary scaler=normal4x on 1280x1024 desktop

Reply 6 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

I have just found out even better way.
It should be possible to run it fullscreen.

After you have added 640x512 resolution in your windows drivers (so you can switch your desktop to 640x512) you will be able to run dosbox (CVS) fullscreen with this resolution.

Just modify your dosbox.conf this way:
fullfixed=true
fullwidth=640
fullheight=512

Reply 7 of 15, by Markus

User metadata

Hey, yes that sounds cool.

Well initially I thought the same as Snover - changing desktop resolution must give interpolated blurry display - but changing to half width and half height still means interpolation but in a power of two, every pixel gets doubled in both dimensions and must therefore be as sharp as desired.

I'll give it a try and tell you about it.

(In the meantime I had been starting to implement it by myself, but it slowed down things significantly and would have been some hard work.)

Greetings

Reply 8 of 15, by Markus

User metadata

Hi Robertmo,

fullfixed, fullwidth and fullheight are actually features, that are only implemented in CVS, couldn't tested though, because compilation seems to be broken with Visual C 6.

Reply 10 of 15, by Markus

User metadata

Hi,
well I've finally managed to persuade Windows to switch to 640x512.
Yes, it's working, but I get a light blurryness, so it's not really nice.

Reply 11 of 15, by Snover

User metadata
Rank l33t++
Rank
l33t++

That's going to happen because it's interpolating to fill up 1280x1024 pixels with 640x512 pixels. That's how LCDs do it.

Yes, it’s my fault.

Reply 13 of 15, by Guest

User metadata

It doesnt work correct 😒 (0.61)

My Desktop is 1280x1024
when I set fullscreen in

640
480

than there is a black line on the top...

when I set fullscreen more than 480, the screen resises to the half and centers in the middle 😒

Reply 14 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

If you don't want to have that black line swich to 640x400

Reply 15 of 15, by Double-C

User metadata
Rank Newbie
Rank
Newbie

under 480 it is too high and the first line is missing 🙁