Dec 182017
 
This program will turn on the 16550A UART's FIFO buffer.
File MEMBRAIN.ZIP from The Programmer’s Corner in
Category System Diagnostics
Creates Variable Size Ram Disk Device Driver.
File Name File Size Zip Size Zip Type
MEMBRAIN.DOC 3840 1444 deflated
MEMBRAIN.EXE 3072 1720 deflated

 

Download File MEMBRAIN.ZIP Here

Contents of the MEMBRAIN.DOC file


DESCRIPTION:

MEMBRAIN.EXE creates a file named 'MEMBRAIN.SYS', a DOS device driver
for an emulated disk drive configured to your specifications. DOS will
assign to the drive the next available drive letter. For example, if your
system has two diskette drives (A & B), then the emulated drive will be
drive C. The emulated drive will function identically to a hardware drive
with a few exeptions. First, this drive need not and connot be formatted.
Second, when you turn the system off, the drive ceases to exist. Be sure
to copy any files that must be saved to a hardware drive before power off.
Third, it's fast!!!


SYSTEM REQUIREMENTS:

An IBM PC or XT with at least 128K of memory and DOS 2.x operating
system.


INSTALLATION:

1) Enter on the DOS command line:

MEMBRAIN disk size,sector size,cluster size,directory entries,path

disk size - The requested size of the emulated drive in Kbytes.
An error will be returned if the resulting drive leaves
less than 64K of usable memory. If this parameter is omitted
the default disk size is 160K.

sector size - The size of each logical sector in bytes. Sector
size should be a multiple of 128 and will be rounded up to
the next 128 byte multiple. For example, if the parameter is
entered as 150, then the actual sector size will be 256 bytes.
The default is 512 bytes per sector.

cluster size - The number of sectors per allocation unit. An error
will be returned if the number of bytes per cluster exceeds
2048. The general rule for adjusting sector size and cluster
size is to use small sector sizes and 1 sector per cluster for
small drives. Larger sector and cluster sizes will provide more
usable disk space per Kbyte of disk size and faster operation
on larger drives. The default is 1 sector per cluster.

directory entries - The maximum number of filenames that the disk
directory can hold. Smaller drives should be configured with
fewer directory entries. The more directory space is allocated,
the less disk space will be left for storing file data. This
parameter will be adjusted upward as necessary to a multiple
of sector size. The default is 64 directory entries.

path - The drive and directory path in which MEMBRAIN.SYS is to be
created. This parameter is entered in the form 'd:\path'. If
drive is omitted, then the default drive will be used. If path
is omitted, then the current directory will be used. In any
case, MEMBRAIN.SYS must be available when DOS is booted.


NOTES:

1) If MEMBRAIN.EXE is called from a batch file, then the DOS
'IF ERRORLEVEL' batch file command can be used to test for
successful completion. A non-zero return code will be passed
if an error occurs.


2) To create a CONFIG.SYS file:

Enter on the DOS command line:

COPY CON: CONFIG.SYS
DEVICE=MEMBRAIN.SYS
Press F6 and then

NOTES:

1) CONFIG.SYS must be on the diskette used to boot DOS.

2) If you already use a CONFIG.SYS file, then edit it to
include the statement 'DEVICE=MEMBRAIN.SYS'.

3) Re-boot DOS either by powering the system off and then back on, or
with the key sequence --.


Press ENTER to continue: owering the


 December 18, 2017  Add comments

Leave a Reply