VOGONS


First post, by Tempest

User metadata
Rank Member
Rank
Member

I'm getting back into DOS gaming after a long absence, and I need some help making my config.sys and autoexec.bat. Is there anything I'm missing or should change?

Here's my system:

System:
IBM Personal Computer 350 (Pentium 200Mhz)
Graphics: Matrox Millennium MGA (card) or S3 Trio64V+ (built in) - I can use either, current using the Millennium
Sound: Soundblaster Awe32 + Roland MT-32
OS: Windows 98 SE
Other: CD-ROM drive (Lite-On LTR-32123S), 3.5" floppy, 5.25" floppy

Here are my files. I have two autoexec's, one is .bat and one is .dos. I don't know if Windows 98 uses the .dos one for booting into dos mode or if that's a left over from my DOS 6.22 installation.

autoexec.bat
============
@echo off
set path=C:\windows;C:\windows\command;C:\dos;C:\
prompt $P$G
set temp=C:\temp
set sound=c:\SB16
set blaster=A220 I5 D1 H5 P330 E620 T6
set midi=synth:1 map:E mode:0
C:\sb16\diagnose /s
c:\sb16\mixerset /p /q
lh c:\windows\command\doskey /insert bufsize 1024
C:\sb16\aweutil /s
lh c:\dos\mouse.exe
lh c:\windows\command\mscdex.exe /d:mscd001 /L:E

autoexec.dos
===========
@echo off
set path=C:\windows;C:\windows\command;C:\dos;C:\
prompt $P$G
set temp=C:\temp
set sound=c:\SB16
set blaster=A220 I5 D1 H5 P330 E620 T6
set midi=synth:1 map:E mode:0
C:\sb16\diagnose /s
C:\sb16\aweutil /s
c:\sb16\mixerset /p /q
lh c:\dos\doskey /insert bufsize 1024
lh c:\dos\mouse.exe
lh c:\dos\mscdex.exe /d:mscd001 /L:E
lh c:\dos\smartdrv.exe

config.sys
=========
lastdrive=z
device=c:\dos\himem.sys
device=c:\dos\emm386 NOEMS
dos=high,umb
buffershigh=30,0
fileshigh=50
devicehigh=c:\dos\ansi.sys
devicehigh=c:\sb16\drv\csp.sys /unit=0 /blaster=a:220
devicehigh=oakcdrom.sys /d:mscd001 /L:E
devicehigh=c:\dos\setver.exe

If I restart in DOS mode it says I have 620K free and the largest free upper memory block is 0K (496 bytes)
if I use DOS through windows 98 it says I have 604K free and the largest free upper memory block is 0K (0 bytes)
If I boot to command prompt only through the Win 98 menu it says I have 619K free and the largest free upper memory block is 7K

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 1 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Do you not have a config.dos as well as an autoexec.dos?

If I'm not mistaken, autoexec.dos (and config.dos) is only used if you install Windows 98 over DOS 6.22, and you select "Previous version of MS-DOS" from the F8 boot menu. In that case autoexec.bat and config.sys get renamed to autoexec.win and config.win, and get replaced with the corresponding .dos files. You can of course easily check if you're in MS-DOS 6.22 with the "ver" command.

Reply 2 of 10, by Tempest

User metadata
Rank Member
Rank
Member

No config.dos, which might explain why the system froze when trying to boot into 6.22 (through the win 98 menu). I ended up disabling the Boot to Previous Version of DOS option because of this. I suppose I can make a config.dos file, but the Win 98 version of DOS works just as well from what I understand.

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 3 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Okay then.

Tempest wrote:

If I restart in DOS mode it says I have 620K free and the largest free upper memory block is 0K (496 bytes)
...
If I boot to command prompt only through the Win 98 menu it says I have 619K free and the largest free upper memory block is 7K

I would expect these to be the same and I'm not sure why there's a discrepancy here, unless you've got something in your dosstart.bat in your Windows directory (which would run when you restart in DOS mode).

Anyway, you can spend hours upon hours messing with this stuff if you're so inclined. If everything is working to your liking, then no, there's probably nothing you're missing or should change. I guess if you're not using doskey or ANSI graphics (which would mostly be really ancient text mode games), then there's no reason to keep doskey or ansi.sys around.

Reply 4 of 10, by Tempest

User metadata
Rank Member
Rank
Member

Actually I do use ANSI since I play text adventures.

I just wanted to make sure I'm not missing anything obvious or doing something stupid like trying to load EMM386 into high memory (I already fixed that error).

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 5 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

http://www.computerhope.com/ac.htm suggests that DOS=HIGH,UMB should be before the EMM386 line, but I have no idea if that really makes a difference.

Come to think of it, why are you using the versions from C:\DOS in your config.sys? The Windows versions ought to work slightly better.

You probably don't need setver either, unless you have something that explicitly requires it.

Reply 6 of 10, by Tempest

User metadata
Rank Member
Rank
Member

Just leftovers from my old config.sys file, I'll change them to C:\windows (or is it windows\system?)

Yeah I dont remember why I had setver in there, I think there was something weird like a game installer didn't understand what DOS 6.22 was so I was telling it I had DOS 5.0. But that would have been on my 486 box, I must have accidentally copied it over. I'll remove that, unless you think there are games out there that won't understand DOS 7.1 and need to be told that it's 6.22?

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 7 of 10, by PeterLI

User metadata
Rank l33t
Rank
l33t

MEMMAKER usually works great. No idea whether that is available in Windows 98 SE.

Or REM to drop whatever is not needed.

I also like CT1600 and other early SBs to avoid Creative TSRs.

Reply 8 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
Tempest wrote:

Just leftovers from my old config.sys file, I'll change them to C:\windows (or is it windows\system?)

Either windows or windows\command , much like the other commands in your autoexec.bat .

I'll remove that, unless you think there are games out there that won't understand DOS 7.1 and need to be told that it's 6.22?

Oh, there probably are, but odds are you'll never encounter them. The only thing I've ever seen is the setup/install program for a certain package of Sound Blaster drivers.

Reply 9 of 10, by chinny22

User metadata
Rank l33t++
Rank
l33t++

This is my goto for configuring autoexec.bat & config.sys
http://www.mdgx.com/mem7.htm

Reply 10 of 10, by Tempest

User metadata
Rank Member
Rank
Member
chinny22 wrote:

This is my goto for configuring autoexec.bat & config.sys
http://www.mdgx.com/mem7.htm

Thanks, I'll give those a look.

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery