Here is the BEST configuration for DOS ONLY Mame! Also how I got CWSDPMI and EMM386.EXE to work together and am now able to load ANY size game/app in my cab.


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by Stan on 15, 2000 at 12:13 PM:

Here is the BEST configuration I could come up with for DOS ONLY Mame.
I also was able to get EMM386.EXE and CWSDPMI.EXE to work together and be able to load any size game/program!!!
The key to getting them to work together is the NOVCPI, NOEMS, and L={memory size} switches for EMM386.EXE

I’m using Windows 98 Second Edition (DOS 7.10) for over 64mb of memory support.

Windows 98 [Version 4.10.2222]
Revision A
DOS is in HMA

To get windows to boot into dos and also get the most DOS memory I used the following switches in the MSDOS.SYS file:

[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C

[Options]
AutoScan=0
BootDelay=0
BootGUI=0
BootKeys=1
BootMenu=0
BootMenuDefault=1
BootMenuDelay=5
BootMulti=0
BootSafe=0
BootWarn=0
BootWin=1
DblSpace=0
DisableLog=1
DoubleBuffer=0
DrvSpace=0
LoadTop=0
Logo=0
Network=0
SystemReg=0
WinVer=4.10.2222

I also deleted IFSHLP.SYS (Windows 32bit disk access driver) this is the only way to keep if from loading in the CONFIG.SYS file. Also here is the minimum files needed for Windows 98SE:


Volume in drive C is ARCADE_PC
Volume Serial Number is 2882-64A9

Directory of C:\WINDOWS

[.] [..] [COMMAND] WIN.COM HIMEM.SYS
EMM386.EXE COMMAND.COM SMARTDRV.EXE CTPNP.CFG [TEMP]
EDIT.INI
7 file(s) 323,076 bytes

Directory of C:\WINDOWS\COMMAND

[.] [..] KEYB.COM IEXTRACT.EXE KEYBOARD.SYS
KEYBRD2.SYS KEYBRD3.SYS KEYBRD4.SYS CSCRIPT.EXE DRVSPACE.BIN
EXTRACT.EXE SCANDISK.EXE SCANREG.EXE SULFNBK.EXE FDISK.EXE
MSCDEX.EXE CHOICE.COM DISKCOPY.COM DOSKEY.COM EDIT.COM
FORMAT.COM MODE.COM MORE.COM SYS.COM EGA.CPI
BOOTDISK.BAT ATTRIB.EXE CHKDSK.EXE DEBUG.EXE DELTREE.EXE
FC.EXE FIND.EXE LABEL.EXE MEM.EXE MOVE.EXE
NLSFUNC.EXE SORT.EXE START.EXE SUBST.EXE XCOPY.EXE
XCOPY32.EXE EDIT.HLP SCANDISK.INI XCOPY32.MOD ANSI.SYS
COUNTRY.SYS DISPLAY.SYS MSD.EXE MSD.INI FINDRAMD.EXE
RAMDRIVE.SYS
49 file(s) 1,741,032 bytes

Directory of C:\WINDOWS\TEMP

[.] [..]
0 file(s) 0 bytes

Total files listed:
56 file(s) 2,064,108 bytes
8 dir(s) 1,019,871,232 bytes free


Here is my Config.sys file:

SWITCHES=/F /E
DOS=HIGH,UMB,AUTO
DEVICE=C:\WINDOWS\HIMEM.SYS /NUMHANDLES=128 /TESTMEM:OFF /Q
DEVICE=C:\WINDOWS\EMM386.EXE X=B800-C7FF X=A000-AFFF I=C800-EFFF I=B000-B7FF NOVCPI NOEMS M3 L=98304 A=32 H=128 D=256 AUTO NOTR
BUFFERS=10,0
FILES=80
LASTDRIVE=I
FCBS=1,0
STACKS=0,0
DEVICEHIGH=C:\IOMEGA\ASPIATAPI.SYS SCAN INFO
DEVICEHIGH=C:\IOMEGA\SCSIDRVR.SYS INFO
DEVICEHIGH=C:\UTILS\ASPI8DOS.SYS
DEVICEHIGH=C:\UTILS\ASPICD.SYS /D:CDTOWER
DEVICEHIGH=C:\MOUSE\MOUSE.SYS
ACCDATE=C- D-
SET PATH=C:\Windows;C:\Windows\Command;C:\Utils;C:\Mame;C:\ArcadeOS;C:\Audio;C:\Dos
SET WINDIR=C:\WINDOWS
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
SET CMDLINE=

Here is my Autoexec.bat

@ECHO OFF
CLS
ECHO Loading...
CTTY NUL
PROMPT $P$G
LFNFOR ON
SET SOUND=C:\AUDIO
SET CTCM=C:\AUDIO
C:\UTILS\TWEAK\TWEAK /LOAD
C:\AUDIO\CTCM
C:\WINDOWS\COMMAND\MODE CON: RATE=32 DELAY=1
C:\AUDIO\DIAGNOSE /S
LH C:\UTILS\CWSDPMI\CWSDPMI.EXE -p -s-
LH C:\AUDIO\MIXERSET /P /Q
LH C:\WINDOWS\COMMAND\MSCDEX /D:CDTOWER /M:16 /E
LH C:\WINDOWS\SMARTDRV 6144 16 A- B- C+ D+ E- F- G- H-
LH C:\DOS\RECALL -i
CTTY CON
LH C:\UTILS\Mon-ARC\Mon-ARC.EXE


Here is what the memory looks like after loading everything needed to run any DOS app in my cab:

Modules using memory below 1 MB:

Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 15,488 (15K) 9,552 (9K) 5,936 (6K)
HIMEM 1,168 (1K) 1,168 (1K) 0 (0K)
EMM386 5,344 (5K) 5,344 (5K) 0 (0K)
SMARTDRV 36,624 (36K) 20,224 (20K) 16,400 (16K)
MON-ARC 36,976 (36K) 36,640 (36K) 336 (0K)
COMMAND 7,168 (7K) 0 (0K) 7,168 (7K)
RECALL 2,544 (2K) 0 (0K) 2,544 (2K)
ASPIATAP 9,776 (10K) 0 (0K) 9,776 (10K)
SCSIDRVR 18,816 (18K) 0 (0K) 18,816 (18K)
ASPI8DOS 21,680 (21K) 0 (0K) 21,680 (21K)
ASPICD 12,848 (13K) 0 (0K) 12,848 (13K)
MOUSE 10,416 (10K) 0 (0K) 10,416 (10K)
CWSDPMI 41,040 (40K) 0 (0K) 41,040 (40K)
MSCDEX 43,168 (42K) 0 (0K) 43,168 (42K)
Free 583,072 (569K) 582,128 (568K) 944 (1K)

Memory Summary:

Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 655,360 73,232 582,128
Upper 191,072 190,128 944
Reserved 393,216 393,216 0
Extended (XMS) 132,978,080 6,829,472 126,148,608
---------------- ----------- ----------- -----------
Total memory 134,217,728 7,486,048 126,731,680

Total under 1 MB 846,432 263,360 583,072

Largest executable program size 582,032 (568K)
Largest free upper memory block 752 (1K)
Available space in High Memory Area 688 (1K)
MS-DOS is resident in the high memory area.


Here is an interesting article on CWSDPMI and how to get the most memory to work with it:

You can have as much as 256MB of physical memory in DJGPP programs, provided that you have at least that much installed, and that you observe the following guidelines:

* Use CWSDPMI as your DPMI server. With a possible exception of Qualitas' 386Max, all the other DPMI servers usually cannot support more than 64MB. (The DPMI server built into Windows usually won't even let you have more than 64MB physical and virtual memory combined, unless you have more than 64MB installed physically, see below.)

* Do not install any memory managers but HIMEM: most of the others will limit the amount of accessible memory to 64MB (EMM386 usually limits it to 32MB unless you turn off the VCPI support using the NOVCPI NOEMS parameters on the EMM386 command line). Using HIMEM from MS-DOS 7 does allow access to more than 64MB.

* Note that you must install HIMEM, since without it, BIOS is the only way to find out how much memory is installed, and the standard system BIOS only supports up to 64MB of memory.

* If you are using QEMM (version 8.0 or later), you must include the USERAM= parameter (e.g., USERAM=128M for 128MB) on its command line in your CONFIG.SYS and specify the exact amount of memory installed on your machine, otherwise QEMM won't support more than 64MB.

* Make sure you use the latest release r5 of CWSDPMI. Versions before r4 only supported up to 128MB of main memory, and had bugs with more than 64MB. CWSDPMI r4 supports up to 256MB of memory, but has bugs when the total amount of memory approaches 256MB, so if you use r4, make sure the total amount of memory is less than 256MB.

* If you want to use more than 128MB of virtual memory, run the CWSPARAM program and enlarge the "Maximum number of 4K pages in swap file" parameter. The default value is for 128MB of virtual memory.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]