登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

电脑网络SEO爱好者

一个电脑爱好者,一个网络爱好者,一个SEO优化者.

 
 
 

日志

 
 

Windows 3.1x on Dosbox guide  

2008-11-07 10:17:58|  分类: 电脑知识 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
I think some information on getting Windows 3.1x to run on Dosbox is needed. It seems some questions get asked all the time and this guide should help you get on the way.

- DO NOT ASK FOR A COPY OF WINDOWS 3.x Even though Windows 3.x is really old now, it is not freeware. But cheap copies can sometimes be found on ebay or thrift shops.

- I am not substituting the Dosbox README. If you haven't worked with Dosbox before and you just want to have a quick Windows 3.x fix, please read the README.

- DON'T mount your actual c:\ drive root as c in Dosbox when you are doing this, or chances are you are going to mess with your regular Windows when you try to install Windows 3.x. YOU'VE BEEN WARNED!
(never do 'mount c C:\' - it's okay to 'mount c C:\doswin')

- Windows 3.1x support is only in DosBOX version 0.65 and higher.



-----Graphics/Video drivers-----

- in regular builds you can set windows to use the S3 drivers at http://www.badongo.com/file/823567
More on this and interesting discussions at http://vogons.zetafleet.com/viewtopic.php?t=7528. With these drivers you can run Windows at 1024x768 with 64k colours (large or small fonts).

- Builds with Vasyl's SVGA patch can run Windows 3.1x at 1024x768 at 256 colors. You have to select the Tseng graphics card in Dosbox (see the example dosbox.conf that should come with the build or you can generate it yourself) and you have to use the drivers found in the archive at http://www.badongo.com/file/823564
In the Windows setup select the Tseng 4000 card.

- With Vasyl's SVGA Patch you can also choose a Paradise card, drivers for that card can be downloaded at http://www.badongo.com/file/823566
I haven't tested the Paradise drivers yet.

You can also choose the generic SVGA drivers that come with Windows 3.1x. Those work fine with the Tseng Patch.

I advise to use the generic VGA driver on Windows setup.


-----other drivers-----

- for Joystick support download and install http://www.badongo.com/file/823565

- Soundblaster drivers can be found at http://www.soundblaster.com (or you can download the package that worked for me so far at http://www.badongo.com/file/823568)
Best use this driver, other drivers may not work correctly.
(Ian wrote a guide how to bypass a common problem when installing the soundblaster drivers at http://vogons.zetafleet.com/viewtopic.php?t=9600 ONLY NEEDED FOR DOSBOX 0.65, NEWER VERSIONS OF DOSBOX LET IT INSTALL WITHOUT A PROBLEM)

- Win32s (Win32 Subset) 1.30c can be downloaded at http://www.badongo.com/file/823570
it is not necessary, but interesting Happy Lets some few 32-bit programs run on Windows 3.1x. Comes with Freecell.

- Video for Windows 3.1x at http://www.badongo.com/file/823569

- WinG at http://www.badongo.com/file/823571

- a site with downloads, tips and tricks to Windows 3.1x: http://www.win31.de/eindex.htm


-----Installation-----

Windows 3.1, 3.11 and Windows for Workgroups 3.11 run ok in Dosbox when running from a mounted folder.

For actually installing Windows 3.1x, I did copy all of the files from the original 3.5" floppies into a folder called win31 and installed from that. Some generic instructions:
On your computer make a folder called "C:/doswin".
Copy all the files on your Windows 3.1x floppies to "C:\doswin\win31".
Extract the drivers to "C:\doswin\drivers\" (for example the S3 drivers to "c:\doswin\drivers\s3" or "C:\doswin\drivers\tseng" for the Tseng drivers).
user image
Start dosbox.
At the prompt enter:
mount c c:\doswin
c:
cd c:\win31
setup.exe

user image

And off you go. The settings that setup chooses should be ok and left at default. If you want to have control over which programs get installed with Windows choose the "Customized Setup" and not the "Express Setup". When Windows asks which printer to install, choose the generic/text printer.
When Setup finishes and offers you to either reboot or return to dos, you can either choose return to dos AND then close Dosbox or you can just skip the return part close Dosbox right away.
user image

Before you start Dosbox again to test Windows 3.x I recommend editing dosbox.conf to make it easier to work with Windows 3.x. Edit the end of dosbox.conf like this:
Code:
[autoexec]
# Lines in this section will be run at startup.
mount c c:\doswin
c:
SET PATH=%PATH%;C:\WINDOWS;
SET TEMP=C:\WINDOWS\TEMP



Now to install the S3 driver, start Dosbox again, type
cd windows
setup

You get a screen similar to the initial setup of Windows 3.x. Scroll up to the Display driver and hit enter. Now scroll all the way down to "Other (requires disk....)" and hit enter again. Enter the path to the S3 drivers "c:\drivers\s3" and hit enter.
You can now choose on of the S3 drivers. The highest working resolution is 1024x768 at 64k colors. For playing games a much lower resolution is enough. Some can't even handle more than 256 colors.
user image
After installation of the driver you can start Windows by entering "win".


To install the Soundblaster drivers, exit Windows 3.x again. At the prompt type
cd c:\drivers\sb16w3x
install

This pretty much runs on its own, just make sure
- that the path to Windows is correct (c:\Windows)
- that the interrupt setting is correct. The installer wants to use Interrupt 5 by default, but Dosbox uses 7 by default, so change that.
- to let the installer overwrite files if it want to.
When the installer asks whether you want to load Dos drivers select "No" since Dosbox won't use those drivers in any way.
After the installer finishes you can run Windows right away, no need to "reboot".
user image
NOTE: Best use the driver I link to. Other drivers may give you headaches.

To install the joystick driver you have to have started Windows. Open the main group in Program Manager and start Control Panel. In Control Panel start Drivers. Click on "Add...", select "Unlisted or Updated Driver", in the next dialog enter "c:\drivers\ibmjoy\" as the location of the driver. The next dialog lets you install "Driver for Joystick" and then asks you whether you want to setup the driver for "one or two 2-Dimensional" or a "single 3-Dimensional Joystick". If you want to use four buttons on your joystick, chose the latter. You need to restart Windows after this.
user image



-----Troubleshooting-----

Problems I've run into:
- to change graphics drivers, I'd advice exiting Windows 3.x and then change directory to the Windows directory (cd windows) and run setup.exe.
But beware! Windows 3.x doesn't like it when you change drivers too often and then Setup crashes when you want to load other video drivers. In this case, got the Windows 3.x system directory (\windows\system) and get rid of the "oemX.inf" (for example "oem0.inf" or "oem1.inf") you don't need.

- In some applications the font looks strange. It seems to get better if you install *any* printer in Windows 3.x (no matter that you can't use it). Some of you might remember that Windows 3.x didn't let you use most fonts unless you did that back in the days Happy

- When you mount a floppy drive to a:\ it doesn't show in the Windows file manager and in the "run" dialog you can't select it either. But you can enter the path (for example "a:\setup.exe") and it works ok. When you don't have anything mounted to a:\ the a:\ drive shows up in Windows 3.1x. Strange but true.

- When you choose the Tseng drivers when you install Windows, the mouse pointer might not be visible. To fix this go back to the Dosbox prompt, change dir to the Windows directory ("cd windows") , run setup again and then choose the VGA or SVGA drivers that come with Windows 3.1x. Start Windows again (your mouse pointer should be visible now) and then run setup from inside Windows to choose the Tseng drivers.

- 32-bit file and disk access doesn't work in Dosbox

- NO Internet yet Happy


-----Running Windows 3.x on a boot image-----

You can also mount an image, boot from that, install Dos and then install Windows on that. The guide on boot images is at http://vogons.zetafleet.com/viewtopic.php?t=7260, when you are done with that, use Disk Explorer (link is in the guide) to copy the install folders to the image, boot from the image (see the guise again) and begin installing.
In dosbox.conf both xms and ems must be set to false.
For most uses a boot image is not worth the hassle, though. One of my registered shareware games (Inner Space) only installs as registered version on a boot image, so if all else fails a boot image install might be the last resort.
Another Problem with using a boot image is that you can only use mounted images not mounted real drives (floppy, cd-rom).
Note: using an image is mostly overkill now for running Windows 3.11


-----Running Windows 3.x with Dosbox 0.65-----

I recommend running Windows 3.x with the latest version of Dosbox. But if you insist remember this:
- do not use dynamic core (core=normal or core=full under [cpu])
- disable EMS (EMS=false under [dos])
With DOSBox version 0.70 you can use both dynamic core and EMS.

P.S.: If you think that Windows95 might work as easily and good, you are wrong Happy

Edit: mentioned Ian's soundblaster driver guide and another boot image problem/shortcoming.
Edit: Mentioned problems with mouse when setting up Windows from the start with the Tseng drivers.
Edit: Little adjustment for the 0.65 version
Edit: Uploaded drivers and other useful stuff to badongo.com. Those files were uploaded by me and *should* be okay.
Edit: did some layouting
Edit: The guide is now for the upcoming Dosbox 0.70 but I kept the 0.65 specific instructions
Edit: SET PATH= does not like spaces, so SET PATH=%PATH%;C:\WINDOWS; works. SET PATH=%PATH%; C:\WINDOWS does NOT Happy
Need permanent storage location for 3.1 drivers and software.
Any other files that should be hosted?
Graphical guide to Windows 3.1 in DosBox
Site to host freely available tools..shareware/freeware.




Windows 3.x drivers and software hosted by gulikoza

S3 Trio/64 v1.41B5 (S3 Vision 64 or Vision864)
http://www.si-gamer.net/gulikoza/win/s3drivers.zip
Tseng ET4000
http://www.si-gamer.net/gulikoza/win/ET40001.zip
Tseng ET3000
http://www.si-gamer.net/gulikoza/win/et4win31.zip
Paradise
http://www.si-gamer.net/gulikoza/win/paradise.zip
Joystick
http://www.si-gamer.net/gulikoza/win/IBMJOY.zip
SoundBlaster 16 Windows 3.x
http://www.si-gamer.net/gulikoza/win/SB16W3x.zip
WIN32
http://www.si-gamer.net/gulikoza/win/Win32s.zip
Video for Windows
http://www.si-gamer.net/gulikoza/win/VFW11E.zip
WinG
http://www.si-gamer.net/gulikoza/win/WinG.zip


Other site with drivers
http://www-ftp.lip6.fr/ftp/pub/pc/garbo/windows/drivers




Thread cleanup
DRIVER RESEARCH (UNTESTESTED SO LIKELY DO NOT WORK)


http://www.s3graphics.com/en/resources/...rchive.jsp


http://ftp.isu.edu.tw/pub/Hardware/S3/v64drv/
Newer driver for S3 864 chipset for Windows 3.1
ew311502.zip

Possibly compatible NT 3.1/3.5 drivers as well.

S3 864 Win 3.x Drivers
http://h18000.www1.hp.com/legacysupport...86150F.EXE
http://www.niagaratech.com/Support/vide...n16902.zip (v1.69.02)
http://ftp.cvut.cz/local/drivers/vga/s3...311502.zip (v1.50.02)
http://ftp.isu.edu.tw/pub/Hardware/S3/v...311502.zip (v1.50.02)

S3 864 Win95 Drivers
http://h18000.www1.hp.com/legacysupport...862019.EXE
http://www.niagaratech.com/Support/vide...50109b.zip (Only for VLB/PCI?)
http://ftp.isu.edu.tw/pub/Hardware/S3/v...50109b.zip (Only for VLB/PCI?)

S3 864 NT 3.xx Driver
http://h18000.www1.hp.com/legacysupport...00230A.EXE
http://h18000.www1.hp.com/legacysupport...00112J.ZIP
http://www.niagaratech.com/Support/vide...35112s.zip
http://www.niagaratech.com/Support/vide...35112w.zip


S3 864 OS/2 Driver
http://h18000.www1.hp.com/legacysupport...30316Q.EXE
http://www.niagaratech.com/Support/vide...g30316.zip

_________________
Game Acronym List
DosBox CVS Builds
DosBox Wish List
DosBox FAQ
PC Game Compatibility List
How to Ask Questions The Smart Way
  评论这张
 
阅读(680)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018