clchiou / chrome-dosbox

Chrome packaged app of dosbox
GNU General Public License v3.0
35 stars 6 forks source link

Top of screen is cut off when running some programs #6

Open ealbitz opened 8 years ago

ealbitz commented 8 years ago

In DOSBOX, running some programs causes the top of the screen to be cut off, making the program unusable. This happens with many programs, but the two I've tested are Windows 3.11 and Oregon Trail: Deluxe Edition.

Cjurschik commented 7 years ago

This has to do with the native vga resolution 640x480x16 being more than twice than the one used by most games, 320x200x256. This makes hard to enjoy the Legend Entertainment games for example.

I tried to force windowresolution to 640x480 but DosBox shuts down when opening the game. Setting the resolution as "original" does nothing. Sad :(

Cjurschik commented 7 years ago

Will this be the thing that is going to motivate me to actually change some code? I am reading it and trying to understand it. Must be something really simple that no one with more programming skills has done because who cares. I think that this has to do with the .css.

clchiou commented 7 years ago

DOSBox is drawing to a pixel buffer. I am not sure if turning css would solve that issue.

Cjurschik commented 7 years ago

Thanks for the tip. Anyway, as in two years no one has been interested in fixing this, if trial and error with barely any knowledge is the way to go I'm totally in for it.

EDIT: of course it does not. I am trying to find the hard way if the dosbox there is being forced to use 640x400 . I still don't see why that specific resolution is everywhere, from the launch javascript to all the .css files. I guess the target cannot be resized then unlike the rest of dosbox ports?