VOGONS


Windows 3.1 in 256 colours

Topic actions

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

First post, by canadacow

User metadata
Rank Member
Rank
Member

CVS 12-22-2004

Includes almost complete emulation of video emulation needed for the S3 Windows 3.1 driver. There are still some bugs remaining but the interface is usable and stable

Following link is the driver needed, S3 864 v1.41B5
864141b5.zip
http://www.winsite.com/bin/Info?4009

I've only tested 640x480 and 800x600 in 256 colors using SF or LF modes.

You may have to skip the Windows splash screen by running, "win /b".

Reply 1 of 93, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I get a lot of pagefaults when exiting windows.
futher than that it seems to work. with 3.1 and 3.11 for workgroups

pagefaults are in b9000 and alike......

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

Reply 2 of 93, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

I get a lot of exceptions (or illegal opcode with full core) when running in enhanced mode. Plus it seems the mouse stopped working when I installed SB16 drivers. Standard mode is fine, other than that I too have a feeling mouse is mooving faster in X direction than Y. Somewhat annoying...but still, great job!

Reply 3 of 93, by Srecko

User metadata
Rank Member
Rank
Member

Mouse cursor problems (WfW 3.11):
- if moved over a window border, disappears for a short moment
- menu item (e.g "exit windows") is selected only if I click on a lower part of it's text (i.e. cursor misplaced ?)
- edit:minesweeper:problem also caused by misplaced cursor

All those don't appear with vga 3.0 driver.

Also, mouse moving is about twice as fast in X axis direction than in Y.

Last edited by Srecko on 2004-12-23, 11:58. Edited 1 time in total.

Reply 4 of 93, by canadacow

User metadata
Rank Member
Rank
Member

I was aware of the mouse issue when I posted it to the CVS 😒 . It has to do with the raster drawing code being ambiguous as to what line its on.

The following lines of code are the offending parts: Qbix, Harekiet, what is the proper method for detecting what line the video card is on?

static Bit8u * VGA_Draw_VGA_Line_HWMouse(Bitu vidstart, Bitu panning, Bitu line) {
if(vga.s3.hgc.curmode & 0x1) {
Bitu lineat = vidstart / ((160 * vga.draw.height) / 640);
//Bitu lineat = vidstart / 160; 160 works only for 640x480
(....)
}
(....)
}

Reply 9 of 93, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
HunterZ wrote:

Does this mean that the vertical mouse movement speed problems I've encountered in other DOS games under DOSBox might be fixed now too?

If you can provide a complete list of games that "suffer" from it I will/can/might fix it.

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

Reply 12 of 93, by priestlyboy

User metadata
Rank Oldbie
Rank
Oldbie

It seems that Quicktime for Windows 2.11 (I was tring it with a game I Have) crashes Windows 3.1 with X3 VGA drivers.
Some Illegal Opcode I believe in the latest Version of DOSBox from the CVS.
I'll have to double check though but that's what I'm getting. When I use the VGA driver w/ Quicktime 2.11 everything runs okay.

I'll try a newer version of quicktime but I know it works with the other VGA 3.0 or VGA drivers.
These are though what I saw for 90% of the log that I dumped before it dumped out of Windows 3.1 into DOS.

43727096: CPU:Illegal Unhandled Interrupt Called 6
43727098: CPU:Illegal/Unhandled opcode 63

It just showed that over and over and over.

Ieremiou
----------
Helping Debug DOSBox.

Reply 15 of 93, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

With "normal" core win3.11 installs and works perfectly; audio, video and all.
But with "dynamic" core it shows this message at startup and the audio doesn't work anymore.
I'm using latest cvs + sdl1.2.8. + vc.net 2003

Attachments

  • Filename
    win.png
    File size
    21.24 KiB
    Downloads
    1981 downloads
    File license
    Fair use/fair dealing exception

Reply 17 of 93, by priestlyboy

User metadata
Rank Oldbie
Rank
Oldbie

Thanks for the exception fixes wd. Quicktime runs properly now in enhanced mode. 😀
I can now play an old game called Castle Explorer in 256 colors. Yes an educational game but a fun one.

/Ieremiou

Ieremiou
----------
Helping Debug DOSBox.

Reply 18 of 93, by cyberwalker

User metadata
Rank Newbie
Rank
Newbie
canadacow wrote:

The latest CVS build includes almost complete The driver needed is S3 864 version 1.41B5 and its available from an archive named 864141b5.zip . You should be able to get it here:
http://www.winsite.com/bin/Info?4009
The only two tested (and the only modes that should work) modes are 640x480 with 256 colours and 800x600 with 256 colors (either SF or LF modes are fine).

I encountered problem in 640x480 with 256 colors, but it seems 800x600 with 256 colors(LF) is fine.