Skip to content

Add VESAMOED utility for custom VESA modes #169

@Lantizia

Description

@Lantizia

It would be great if we could run Windows 3.1 at the same aspect ratio as an iPad (i.e. without stretching a 4:3 resolution). This would be perfect to run games like Civilization II that run in a window rather than full screen.

For example, an iPad Air 4th gen has a native resolution of 2360x1640. I've already tested and edited the S3 Trio Windows 3.1 graphics drivers so it'll work at either 1280x890 or 640x445 (that have the same 23:16 aspect as that iPad). The former resolution will show Windows 3.1 icons at half the size of normal iPad app icons (around 60px)... and the latter will show them at the same size (around 120px).

This is based on work by the great @urjaman, who also made an alternative MOUSE.DRV that seems to work with the direct touch support that iDOS already has.

The only thing missing is the VESAMOED command (which DOSBox-X has) that allows users to edit VESA modes (such as those found in dosbox/src/ints/int10_modes.cpp) on the fly... without needing to recompile iDOS.

That way I'd just need to pop this into my AUTOEXEC.BAT...

VESAMOED -mode 0x103 -fmt LIN8 -w 1280 -h 890

Would this be a big ask?

You can find information on how to use this command at the bottom of this page...
https://github.com/joncampbell123/dosbox-x/wiki/DOSBox‐X’s-Supported-Commands

This bulk of the VESAMOED source code seems to be here... https://github.com/joncampbell123/dosbox-x/blob/master/src/ints/int10_modes.cpp#L2576

Also the author of DOSBox-X says...

Screenshot at 2024-11-17 14-29-56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions