home *** CD-ROM | disk | FTP | other *** search
- REM This batch file is Freeware, free to use and redistribute unmodified
- REM Jouni Miettunen * jon@stekt.oulu.fi * Oulu * Finland * Europe * 1992
- REM Timestamp 15-Nov-1992
-
- REM A little speed up, but might cause some trouble..
- REM Let DOS check ctrl-c or ctrl-break only when accessing standard device.
- REM
- break=off
-
- REM Load himem.sys into conventional memory. Provides 64K High Memory Area.
- REM
- device=c:\dos\himem.sys
-
- REM Load DOS into High Memory Area.
- REM dos=high,umb
- REM
- dos=high
-
- REM Set up local date, time and currency formats.
- REM
- country=358,437,c:\dos\country.sys
-
- REM Load ansi.sys clone and mouse driver.
- REM
- devicehigh=c:\etc\nnansi.com
- devicehigh=c:\dos\mouse.sys /Y >nul
-
- REM Max number of File Control Blocks that can be opened at same time.
- REM Needed only for DOS 1.x programs. Default 4
- REM
- fcbs=1
-
- REM Maximum number of files (=file handles) open at the same time. Default 8.
- REM Each file handle requires 48 bytes of memory. 20 * 48 = 960 bytes.
- REM
- files=20
-
- REM Number of DOS disk buffers on system, optionally a secondary cache.
- REM Default 15 buffers (640K RAM) and 1 sector in single I/O operation.
- REM 20 buffers for 40M HD, 30-80, 40-120, etc. 1 buffer takes about 532 bytes.
- REM buffers=20
- REM If you use disk caching program, don't use this secondary caching option.
- REM
- buffers=20,8
-
- REM Last valid drive letter, about 100 bytes per letter.
- REM I have HD as one c: drive, d: is ramdrive for tmp files
- REM
- lastdrive=d
-
- REM Number of internal stacks for system hardware interrupts, not needed.
- REM If you get "Fatal: Internal Stack Failure, System Halted" remove this.
- REM Default: number of stacks = 9, size in bytes = 128
- REM
- stacks=0,0
-
- REM Create RAM drive
- REM ramdrive: disksize sectors entries /extended memory
- devicehigh=c:\dos\ramdrive.sys 223 256 32 /e
-
- REM Name and path for command processor with settings:
- REM c:\4dos is path for COMSPEC variable
- REM /e:xxxx reserve xxxx bytes for environmental memory. Default 256 bytes
- REM /f (undocumented DOS 5), automatically "fail" whenever *drive* error occurs
- REM /p make command processor permanent (== disable "exit" command)
- REM
- shell=c:\4dos\4dos.com c:\4dos /E:1536 /f /p
-