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 / CPM / TURBODSG / DSKRAM.DOC < prev    next >
Text File  |  2000-06-30  |  3KB  |  79 lines

  1. Presenting... DSKRAM.O
  2. A freebie from ESKAY
  3.  
  4. NOTE:
  5.     This module may be distributed freely without profit.  If used
  6.     in any commercial way, I ask to be notified of the fact.
  7.     Permission is granted to bundle this software with systems
  8.     sold for profit.
  9.     Thou Shalt, However, Not Ask Money for DSKRAM by Itself!!!
  10.  
  11.     S. Kluger
  12.     7120 Skillman #2104
  13.     Dallas TX 75231
  14.  
  15.  
  16. DSKRAM is a RAM-disk emulator designed for 16 bit TurboDOS.
  17.  
  18. 1. Installation
  19.  
  20.     Include DSKRAM in your slave GEN file, then replace STDSLAVE
  21.     with STDSLAVX.  NOTE: you may have to remove RTCMGR from
  22.     STDSLAVX.O; ask your OEM or dealer if you can't do it.
  23.     In the slave .PAR file, two equates must be added and one
  24.     must be changed.  NOTE: the MEMTBL equate may not be present
  25.     in a 256k slave PAR file...
  26.  
  27.    Sample PAR files (relevant parts shown only):
  28.  
  29.    a. default configuration - 512k slave with 256k ram disk
  30.       MEMTBL + 3 = (0x4000-0x50)    ; set upper memory limit for OS
  31.       SEGDSK = (0x4000)            ; beginning segment for ram disk
  32.       NUMSGS = 4            ; 4 segments for ram disk (64k ea)
  33.  
  34.    b. 256k slave with 128k ram disk:
  35.       MEMTBL + 3 = (0x2000-0x50)
  36.       SEGDSK = (0x2000)
  37.       NUMSGS = 2
  38.  
  39.    c. (the max) 1MB slave with 784k ram disk
  40.       MEMTBL + 3 = (0x4000-0x50)
  41.       SEGDSK = (0x4000)
  42.       NUMSGS = 12
  43.  
  44.     Got the message, right?  Now, of course you have to add a
  45.     DSKAST line to your sale PAR file, carefully skipping over
  46.     drives that already exist, then change your master PAR file
  47.     to allow everyone to access the new drive.  Here is a sample
  48.     assuming the slave with the ram disk is #9:
  49.  
  50.       Slave:
  51.       DSKAST = 0x80,(0),0x81,(0),0x82,(0),0,DSKDRA    ; A,B,C on master,
  52.                                   ; ram disk is D:
  53.       Master:
  54.       DSKAST = 0,DSKDRA,1,DSKDRA,0,DSKDRB,83,(9)    ; A,B,C local,
  55.                             ; D drive 4 on slv 9
  56.  
  57. 2. Operation
  58.  
  59.     The ram disk driver is a bit intelligent in that once it is
  60.     loaded and the drive has been set up, it will not reformat
  61.     the drive after a slave reset unless the directory label
  62.     entry is munched.
  63.     When bringing up the ram drive, simply ERASEDIR it.  It is
  64.     important that you make the directory HASHED, else the driver
  65.     will erase the whole "disk" after a slave reset!
  66.  
  67.     The drive is set up to have 256 byte physical sectors with 4
  68.     sectors per "track" and 256 directory entries.  It has as
  69.     many "tracks" as there are k bytes assigned to it.
  70.  
  71.  
  72. 3. Bugs
  73.  
  74.     DSKRAM was a 2-hour creation, thanks to the simplicity of
  75.     TurboDOS' disk driver requirements.  It has been tested
  76.     and will continue to be tested.  if you turn up any bugs,
  77.     please let me know at the address above.
  78. 
  79.       DSKAST = 0x80,(0)