First post, by AdamP
Hi,
I know that Windows 3.1 will run in DOS 7.1, and I'm trying to get Windows 3.0 working as well. It runs fine in real mode, but when I try standard mode, I get this:

And when I try enhanced mode, it just goes back to the command prompt.
Windows for Workgroups 3.11 and 98 run fine in enhanced mode, so there's nothing wrong with my dos setup or my hardware or anything like that.
I also cannot get Windows 2.1 working in enhanced mode, but that's probably for another thread.
The wina20.386 file is in C:\win30. The same happens with it in the root directory.
config.sys:
[Menu]menuitem=NoNetworkmenuitem=Network[common]switches=/f /e /wdevice=C:\windows\himem.sys /testmem:off /cpuclock:off /vdevice=C:\windows\emm386.exe noemsdos=high,umb,autodevicehigh=C:\oak\oakcdrom.sys /D:mscd001devicehigh=C:\windows\setver.exe;DEVICE=C:\windows\CTCM.EXEdevice=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)Country=044,850,C:\WINDOWS\COMMAND\country.sys;devicehigh=C:\windows\command\ansi.sysFILES=45BUFFERS=30,0;devicehigh=C:\usbaspi.sys;devicehigh=C:\di1000dd.sys;device=C:\NETWORK\ifshlp.sysLASTDRIVE=Z;DEVICE=C:\WIN3\SMARTDRV.EXE /DOUBLE_BUFFER;DEVICE=C:\SB16\DRV\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A:220 I:5 D:1 H:5;DEVICE=C:\SB16\DRV\CTMMSYS.SYS[network]Stacks=9,256;DEVICE=C:\windows\CTCM.EXEDEVICE=C:\dos\power.exeDEVICE=C:\WIN3\IFSHLP.SYSDEVICE=C:\windows\command\smartdrv.exe /double_bufferinstall=C:\share.exe[NoNetwork]Stacks=64,512devicehigh=C:\windows\ifshlp.sys
autoexec.bat:
rem SET CTCM=C:\CTCMecho offrem C:\WIN3\net startSET BLASTER=A220 I5 D1 H5 P330 E620 T6SET MGA=C:\MGA\SETUP\mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)mode con codepage select=850keyb uk,,C:\WINDOWS\COMMAND\keyboard.sysSET SOUND=C:\SB16SET MIDI=SYNTH:1 MAP:G MODE:0rem C:\SB16\AWEUTIL /Srem SET PATH=%PATH%;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPLrem PATH=C:\WIN3;%PATH%GOTO %config%:Networkset screenthief=C:\st /com-path=C:\win3;C:\networkC:\dos\powerlh C:\windows\command\smartdrv.exe /vcommand /c C:\windows\dosstart.batC:\windows\CTCU /S /W=C:\WIN3C:\SB16\DIAGNOSE /S /W=C:\WIN3C:\SB16\MIXERSET /P /Qcommand /c C:\windows\startnet.bat:NoNetwork
Any ideas?
Thanks