VOGONS

Common searches


16-bit VESA support?

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by user222

User metadata
Rank Member
Rank
Member

Does DOSBox have 16-bit VESA support? Also, does DOSBox support both VESA 1.2 and VESA 2.0? The 16-bit modes in the ZSNES SNES emulator don't seem to work at all. Also, the "640X480X16B/VESA1" one in ZSNES doesn't seem to work at all.

Reply 2 of 24, by user222

User metadata
Rank Member
Rank
Member
DosFreak wrote:

VESA 1.2 and 8bit are supported. No other VESA modes are.

I thought you said only "VESA 1.2" is supported, but how come all the 8-bit "VESA2" modes in ZSNES work? It's only the 16-bit modes that don't work. Also, would 16-bit VESA be implemented in the future?

Reply 3 of 24, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

DOSBOX supports VESA 2. Though I thing that there are sometimes problems with detection in some games (sometimes just VESA 1.2 is detected).
16 bit modes: probably not difficult to implement, but developers argue that they would be too slow...

Mirek

Reply 5 of 24, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> DOSBOX supports VESA 2. Though I thing that there are
> sometimes problems with detection in some games
> (sometimes just VESA 1.2 is detected).

There's a bug in the version returned by dosbox, it should
ALWAYS return vesa2.0 (currently dosbox only returns 2.0
when VBE2 is placed in the buffer, see int10_vesa.cpp fct
VESA_GetSVGAInformation()).
The devs have a different opinion, but if you can spot
some games maybe they'll check it again.

> When will have 16-bit graphics support, dosbox?
> is not necessary to specify time, just if it is left much or short time

I suppose this is a long-term thing, if they'll implement it
at all...

wd

Reply 11 of 24, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I'm a bit afraid that people will use 16 bit vesa support and then complain that dosbox is so slow while they should have used 8 bit vesa support.

Water flows down the stream
How to ask questions the smart way!

Reply 12 of 24, by Zorbid

User metadata
Rank Member
Rank
Member

The patch won't make it to CVS any time soon, anyway, unless you plan to distribute DOSBox with a pre release SDL 1.3.

I assume it would be possible to turn off 16 bit modes through a config option, and to set it off by default, with a comment above explaining that 16 bit modes are n? times slower than 8 bit ones, and that very few games use it.

If people still use it, and complain it's slow, screw them 😀

Reply 14 of 24, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

Actually, 16-bit mode isn't that much slower than 8-bit mode. True, there's twice as much data to move around compared to the same-resolution 8 bit mode, but people running a 16-bit desktop might even see a faster dosbox.

I really wonder what programs would give you the choice between 8- and 16-bit mode and be performance critical. Windows 3.1 might be a candidate, but are there any games that give you the choice?

Reply 15 of 24, by jal

User metadata
Rank Oldbie
Rank
Oldbie
Qbix wrote:

I'm a bit afraid that people will use 16 bit vesa support and then complain that dosbox is so slow while they should have used 8 bit vesa support.

Qbix, where have you been, say, the past two years? People are always complaining DOSbox is too slow! 😀 Adding 16-bit support won't make it worse, I bet. Alternatively, you could put a disclaimer in the DOSbox installation that says that using 16-bit mode is at the user's own risk 😀.

JAL

Reply 16 of 24, by Jiri

User metadata
Rank Member
Rank
Member

I am glad to hear about the patch with VESA 16-bit mode support (thanks Moe) and I agree with jal that possible complaints should not prevent having this feature in DOSBox. If there is a mode choice, people can choose what suits them best. And if the game needs only higher mode I think it is better to have it working even without excellent performance than "missing mode, good bye" notice on the start. Moe, could you please add also 15-bit mode support? I remember that some programs did not work in DOSBox without it.

Reply 18 of 24, by Jiri

User metadata
Rank Member
Rank
Member
`Moe` wrote:

Let's see when/how/if the great Guardians of the Code accept my patch, then I can do that.

Thanks for reply. I hope that the great Guardians of the Code will finally accept higher VESA modes into the realms of DOSBox and your work will be appreciated. 😉

Reply 19 of 24, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Speed: not every game using 16 bit VESA needs much speed. Some time ago I saw one toolkit for making adventure games (I can't remember now its name...). It uses normally Windows engine, but it has a DOS version as well which is usable in DOSBOX (as long as the game uses 8 bit colors...).
I remember one Mac user wanting to use the DOS version of the engine in DOSBOX, but failing because the game required 16 bit colors...
Beeing an adventure game, DOSBOX speed would have probably been enough for it...

Mirek