home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
UTILITYS
/
RAMDRV.ARC
/
RAMDRV.DOC
< prev
next >
Wrap
Text File
|
1990-07-21
|
3KB
|
60 lines
DOCUMENTATION FOR FILES RAMDRIV.ASM AND RAMLD.ASM
by Herb Shore Dec. 27, 1982
These programs are used to make extra memory beyond the usual
64K function as though it were a very fast disk drive. The extra
drive (drive C: in my system) can be used in the same way as all the
other drives, though of course all data on this drive is lost when
the power is turned off. The way I use the system is to PIP over my
working files to drive C: after activating the RAMDRIV, working on
the files while logged onto C:, and then PIPing them back to my
floppy before shutting down the computer. For repetitive operations
such as assembling, compiling, using a word-processor with overlay
files, etc. the increase in speed is fantastic.
The system is especially easy to use if you have replaced the
standard CCP with ZCPR. With ZCPR, the standard utility files (PIP,
STAT, MAC, etc.) can remain on drive A:, since these files are not
accessed after they have been loaded. ZCPR will automatically
search A: for these files if they are not present on C:. Only those
files which are repeatedly accessed have to be on the fast drive.
To implement the system, prepare file RAMDRIV.COM using the
information on files RAMDRIV.ASM and RAMLD.ASM. Then the RAM drive
is activated by executing RAMDRIV.COM. This program will ask if you
wish to clear the directory area of C:. If the computer has just
been turned on, answer YES, since the directory area contains
garbage. However, if your system has crashed due to a program
runaway, it is very likely that extended memory is still OK. In
that case you can do a cold boot, run RAMDRIV, and answer NO when
asked if the directory should be cleared.
SOFTWARE REQUIREMENTS: The RAMDRIV system requires 1K of
global RAM above the BIOS. This may mean you have to reduce the
size of your CP/M system (I use a 63K CP/M). Other than providing
this space, there are no special requirements for the size of the
CP/M system or the location of the BIOS; this is determined by the
program.
HARDWARE REQUIREMENTS: At least 1K of global RAM must be
provided. Global RAM is memory that responds to the standard 16 bit
address bus independently of the setting of the 8 bit extended
address bus. If your global RAM is larger than 1K, the system will
still work, but the memory available for the extra disk is reduced.
The system must provide a way of setting the extended address bits
by outputting the extended address to an output port. If your
present system does not have this capability, it can be easily
implemented. Turning 1K of RAM into global RAM is also not
difficult. One way is as follows: connect a 6-input AND gate to
monitor address lines A10-A15. When all six lines are high, the
upper 1K of memory is being addressed. When this happens, tri-state
the circuit (output port) driving the extended address bus and force
all 8 bits of this bus to be low. Thus, the RAM at extended address
00H will become global for the upper 1K of the 64K address space. A
word of caution: If your system uses DMA devices, these devices may
also attempt to drive the extended address bus. Make sure that any
extra circuitry you add is disabled during DMA operations in order
to avoid bus conflicts.
dress bus. Make sure that any
extra circuitry you add is disabled during DMA oper