Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VESAMOED utility for custom VESA modes #169

Open
Lantizia opened this issue Nov 16, 2024 · 0 comments
Open

Add VESAMOED utility for custom VESA modes #169

Lantizia opened this issue Nov 16, 2024 · 0 comments

Comments

@Lantizia
Copy link

Lantizia commented Nov 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant