Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: RayB on August 27, 2005, 12:54:08 am

Title: SMARTDRIVE start-up syntax?
Post by: RayB on August 27, 2005, 12:54:08 am
How and where do I put an entry to start up Smartdrv (Smartdrive)?

I assume it goes in Config.sys, or possibly in AutoExec.

Could someone paste the correct syntax here? (all I could find online related to older versions (DOS 6 and earlier) Thanks!
Title: Re: SMARTDRIVE start-up syntax?
Post by: MaximRecoil on August 27, 2005, 04:47:44 pm
Quote
Smartdrv is a handy cache program that will greatly speed up data entry. I hope The following CONFIG.SYS and AUTOEXECT.BAT files will load Smartdrv correctly. The syntics for

CONFIG.SYS

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
BUFFERS=40,0
FILES=45
DOS=UMB
LASTDRIVE=D
FCBS=16,0
DOS=HIGH
STACKS=18,256
BREAK=ON

The first lines are necessary to load Smartdrv to high memory and the 6.22 library in the directory DOS has the files HIMEM.SYS and the memory manager EMM386 necessary for 386 and later PC's. The files are set larger then 6.22 defaults to allow Turbo Pascal overlays to load.

AUTOEXEC.BAT

@ECHO OFF
PROMPT $p$g
PATH C:\DOS;c:\log
set TZ=UTC
LH /L:0;1,42384 /S C:\DOS\SMARTDRV.EXE
C:\DOS\smartdrv/c

Notes: This batch file allows Smartdrv to load in high memory but cache in low to make it very fast. The payback is it requires some memory resources. The LH command is DOS 6.22 Load High not found in early versions. This line is setting up a block of memory to load Smartdrive.exe but is stripping it back to fit. Notice Smartdrv is placed at the end of the file per MS instructions and the /c is not pointing to a drive but is a switch. If you leave off the drive specification the default will be to cache read and write C:drive but not A:. I prefer to backup to a floppy in the A:drive during the contest using ALT F. It takes a little longer but risk free.

The switch /c forces smartdrv to run at startup and I can see if things are working, as an added bonus the drive status dump is aborted.

http://www.keepsys.com/WindowsTips7.html

Something like that?

Title: Re: SMARTDRIVE start-up syntax?
Post by: RayB on August 27, 2005, 07:59:07 pm
YES! Thank you!
 :)