home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / drvinst.arj / READ.ME < prev   
Encoding:
Text File  |  1990-11-19  |  4.1 KB  |  103 lines

  1.  
  2.                             DRVINST/DRVPOP
  3.                Device Driver Installation/Removal Kit
  4.                              Version 1.0
  5.  
  6.  
  7. MS-DOS device drivers are used by many programmers, forcing users to place many
  8. rarely needed devices in their CONFIG.SYS files.  This not only slows down the
  9. machine (a triffle), causes conflicts (between names and interrupt vectors),
  10. but also prevents some software from running because too much memory is wasted
  11. on device drivers.
  12.  
  13. Network administrators (such as myself), have several additional problems when
  14. dealing with diskless workstations.  We must find a way to run all software on
  15. all machines (see above paragraph and raise to the n th power where n is big)
  16. and yet boot from common (non-changing) boot images.
  17.  
  18. DRVINST is a quick and dirty method of installing device drivers when you need
  19. them rather than at boot time.  It can install most character device drivers,
  20. but not block devices (that should be tested a bit more before I unleash it to
  21. the public).
  22.  
  23. To install a device driver, say an expanded memory simulator with argument /p
  24.         DRVINST path\driver  [args]
  25.         DRVINST C:\DOS33\EMSIM.SYS /p
  26.  
  27. I included a program to remove device drivers too, but I recommend you use it
  28. with caution since it may cause the system to crash if some program (like a
  29. TSR) is trying to use it WHILE you are removing from memory.  You will need
  30. MARK and RELEASE (available from every FTP site or BBS).
  31.  
  32. To temporarily install a device driver and then unload it in a batch file:
  33.         MARK
  34.         DRVINST path\driver [args]
  35.         if errorlevel==1 goto done
  36.         ...
  37.         DRVPOP
  38.         :done
  39.         RELEASE
  40.  
  41.  
  42. Limitations:
  43. This problem is a kludge for what DOS should do, and I wrote it in C one
  44. angry morning, so here are its limitations:
  45.  
  46. -   Consumes almost 4K in addition to the size of the device driver.
  47.  
  48. -   Does not install block devices, i.e. disk drives.
  49.  
  50. -   Does not load EXE format device drivers.  The only one I have seen to
  51.     date is Microsoft's EMM.SYS distributed with Windows 3.0.  These are the
  52.     ones with MZ as the first two bytes of the .SYS file.
  53.  
  54. -   Imposes a limit on the size of the driver, (about 50-60K).  Big drivers
  55.     may not work even though DRVINST may not croak.
  56.  
  57. -   The error messages are not particularly nice.
  58.  
  59. -   Special devices are not truly supported, like console input, console output,
  60.     clock, and NUL (which doesn't count, because you cannot install it anyways).
  61.  
  62. -   DRVPOP.EXE is a particularly braindead program, it should only be used
  63.     as shown in the example above!  It works with most drivers, but don't
  64.     bet your life on it.
  65.  
  66. -   This is version 1.0.  It works with DOS 3.1 - 4.x but is mostly tested with
  67.     version 3.3.
  68.  
  69. Payment????????
  70.     No fee, just mail me a message telling me that you are using this program.
  71.     I wonder how many people are using it and may contemplate a better version.
  72.     Please indicate you are using DRVINST and the version number.
  73.  
  74. Common Questions:
  75.     Can you install device drivers in batch files, can you remove device
  76.     drivers?  Yes, see above example.
  77.  
  78.     Can you install device drivers for MS Windows 3.0?  Yes, before you run
  79.     Windows.  Can you install device drivers in an MS-Window?  No, Windows
  80.     paging means the correct page may not be mapped in and the OS will crash
  81.     on the next attempt to write to ANY character device.
  82.  
  83.     Can you re-install a device?  Yes, the last installed version will be the
  84.     used one.  In fact, that is how DOS normally installs drivers for already
  85.     existant drivers like com ports.
  86.  
  87.     I'm experimenting with programs that have very large drivers (> 50K) that
  88.     I'd like to be able to unload...  Sorry, this version is limited to about
  89.     50-60 K loadables.  Try it, but it may not work.  Quarterdeck apparently
  90.     has a similar program which may help you.
  91.  
  92. Mail comments to:
  93.     Erick@Development.Watstar.Waterloo.ca
  94.  or Erick@Development.Watstar.UWaterloo.uucp
  95.  
  96.     Erick Engelke
  97.     Watstar Network
  98.     University of Waterloo
  99.     200 University Ave.,
  100.     Waterloo, Ont., Canada
  101.     N2L 3G1
  102.  
  103.