VOGONS


First post, by AndrejaKo

User metadata
Rank Newbie
Rank
Newbie

For some university project I'm writing an application which should run in one of VESA 132 x X modes, be written in assembly, not rely on DOS functions and if possible run fine in DosBox.

After searching this forum, I got some mixed signals on support of those modes in DosBox.

Here's the code I'm using to set the video mode:

	mov ax, 4F02h
mov bx, 107h
int 10h

When I try this, I get the expected 1280 x 1024 mode. When I try to use for example 109h for 132 x 25 instead of 107h, nothing happens. Same goes for 10Ah, 10Bh, 10Ch.

Right now my `machine` setting is at svga_s3, but I tried with vga_et3000, svga_et4000, svga_paradise, vesa_nolfb and vesa_oldvbe too and it seems they didn't help.

So my question is: Did anybody manage to get them running and if yes, how?

Last edited by AndrejaKo on 2011-12-26, 04:19. Edited 1 time in total.

Reply 1 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The VESA text modes don't work in official DOSBox, but have been added in SVN. So, you might mention to your instructor, or whoever wanted your application to "run fine in DOSBox" with VESA text modes, that it's presently only possible in unsupported SVN builds.

However, machine=svga_s3 has SVGA (not VESA) text modes 54h and 55h for 132x43 and 132x25, if you can use those instead.

Reply 2 of 2, by AndrejaKo

User metadata
Rank Newbie
Rank
Newbie

Thanks a lot!

It seems that modes 54h and 55h may be enough for my particular problem.