![]() |
Last Visit : never :: 2010-8-01 @ 01:54 am : Now | |||
FAQ |
Search |
Memberlist |
Usergroups |
|
Register |
Profile |
Messages |
Log in |
|
| Forum Index :: DOSBox Development :: | |
Windows 3.1 in 256 colours
|
|
|---|---|
Windows 3.1 in 256 colours :: 2004-12-22 @ 11:01 am
|
|
|
canadacow Member Joined: 2003-05-11 Posts: 463 Location: United States |
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". |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-22 @ 08:17 pm
|
|
|
Qbix DOSBox Author Joined: 2002-11-27 Posts: 8229 Location: Fryslan |
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 |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-22 @ 09:56 pm
|
|
|
gulikoza Oldbie Joined: 2004-06-25 Posts: 1265 |
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! |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-23 @ 02:41 am
|
|
|
Srecko Member Joined: 2003-09-08 Posts: 457 |
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 am; edited 1 time in total |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-23 @ 03:20 am
|
|
|
canadacow Member Joined: 2003-05-11 Posts: 463 Location: United States |
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? Code: 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 (....) } (....) } |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-24 @ 05:36 am
|
|
|
canadacow Member Joined: 2003-05-11 Posts: 463 Location: United States |
Doh. Fixed my own problem. Just committed some final patches to the S3 XGA code to the CVS tree. In particular, this should fix the mouse problems. Let me know if you guys see any other visual anomalies. |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-24 @ 08:07 am
|
|
|
Qbix DOSBox Author Joined: 2002-11-27 Posts: 8229 Location: Fryslan |
the mouse pointer and it actions behave much better. _________________ Water flows down the stream How to ask questions the smart way |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-26 @ 06:02 pm
|
|
|
HunterZ Moderator Joined: 2003-01-31 Posts: 4473 Location: Seattle |
Does this mean that the vertical mouse movement speed problems I've encountered in other DOS games under DOSBox might be fixed now too? |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-26 @ 06:11 pm
|
|
|
canadacow Member Joined: 2003-05-11 Posts: 463 Location: United States |
No... this was an S3 XGA hardware mouse acceration improvement only. |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-26 @ 06:27 pm
|
|
|
Qbix DOSBox Author Joined: 2002-11-27 Posts: 8229 Location: Fryslan |
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 |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-27 @ 02:13 am
|
|
|
HunterZ Moderator Joined: 2003-01-31 Posts: 4473 Location: Seattle |
Qbix: so far I've only had problems with Elder Scrolls: Arena. The mouse seems to "stick" on certain scanlines when I move it in a vertical fashion. |
|
|
Re: Windows 3.1 in 256 colours :: 2004-12-29 @ 12:34 am
|
|
|
JimLarimore Newbie Joined: 2004-12-07 Posts: 12 |
Ack. The Dig and Full Throttle as well.
-Jim |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-02 @ 05:19 am
|
|
|
priestlyboy I am MechMan "Please Stand Down" Joined: 2003-11-05 Posts: 510 Location: New York |
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. |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-13 @ 07:17 pm
|
|
|
ninjalj Newbie Joined: 2004-12-16 Posts: 21 |
That is windows in enhanced mode, isn't it?
INT 6 and opcode 63h (c of ROM BIOS copyright string) are "breakpoints" the VMM puts on real mode code. They cause an exception that should redirect execution to the VMM (through the IDT) |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-13 @ 09:25 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 9334 |
The exception handling (and VMM callbacks) work as they should.
Iirc. the message priorities were lowered some time ago so they shouldn't appear any more. Anyways, as you said they are intentional (and crucial for enhanced mode to work). wd |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-26 @ 04:11 pm
|
|
|
kekko Member Joined: 2004-03-24 Posts: 319 |
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 |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-26 @ 05:34 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 9334 |
It is not supposed to work, and it won't work. |
|
|
Re: Windows 3.1 in 256 colours :: 2005-1-26 @ 06:34 pm
|
|
|
priestlyboy I am MechMan "Please Stand Down" Joined: 2003-11-05 Posts: 510 Location: New York |
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. |
|
|
Re: Windows 3.1 in 256 colours :: 2005-7-14 @ 07:07 am
|
|
|
cyberwalker Newbie Joined: 2004-11-24 Posts: 41 |
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. |
|
|
Re: Windows 3.1 in 256 colours :: 2005-10-08 @ 04:27 pm
|
|
|
waw_demmon Newbie Joined: 2005-10-08 Posts: 1 |
Does'n work
the mouse freeze and cursor is a big black scare please Helps me
chek my screen |
|
|
|
page 1 of 4
|
|
| All times are GMT |
| Moderate |
|---|
| Quick Reply & Options | |
|---|---|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum |
|
2002-2003 zetafleet.dom.