home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z3util / lap.lbr / LAP.DZC / LAP.DOC
Encoding:
Text File  |  1993-06-07  |  3.9 KB  |  106 lines

  1.             LAP.COM     Version 1.0
  2.             ^^^^^^^
  3.     This is purely a Z-system utility designed to replace the two programs
  4. LDR.COM & PATH.COM in start-up aliases. It offers an improvement in speed and
  5. an increase in the space available within your alias script. If you are
  6. interested read on...
  7.  
  8.     My old start-up alias script used to look like this:-
  9.         :LDR SYS.ENV,SYS.FCP,SYS.NDR,SYS.FCP
  10.         :PATH RAM COM HLEVEL UTIL
  11. and these two lines would typically take 7 seconds to execute, even with a
  12. relatively well optimized emplacement of the relevant files on disk.
  13.     My new start-up alias script replaces these two lines with:-
  14.         :LAP
  15. and this single line typically executes in 2.5 seconds. Additionally I have
  16. released 57 characters from the script, these being available for less mundane
  17. activities.
  18.  
  19.     The program works by capturing a snap-shot of your system segments
  20. (a LAP SNAP!) and storing an enlarged version of itself to disk. It is this
  21. installed version which is run to load up the system segments and external
  22. path. The size of the installed version of LAP depends solely on the size and
  23. number of your system segments.
  24.  
  25.  
  26. INSTALLATION
  27. ++++++++++++
  28.  
  29.     1/   If you are not running ZCPR33 then install LAP.COM using Z-RIP or
  30.        Z3INS in the usual way. Not a bad idea even if you do have ZCPR33.
  31.  
  32.     2/   With LAP.COM on your current disk and user area run it by typing
  33.        "LAP MYLAP.COM /C" at the system prompt followed by a carriage
  34.        return. The program understands named directories etc. but why
  35.        complicate things?
  36.          This will result in the program capturing the external path and
  37.        the .ENV, .FCP, .IOP, .NDR & .RCP system segments. It will then
  38.        write a fully installed copy of itself to disk using the filename
  39.        MYLAP.COM.
  40.  
  41.     3/    There is no step 3/. That's it.
  42.  
  43.  
  44. IN USE
  45. ++++++
  46.  
  47.       If you specified the name of the fully installed version of LAP.COM
  48.     as "MYLAP.COM" then to (re)load the external path and system segments
  49.     back up into the operating system run the program MYLAP.COM.
  50.  
  51.  
  52. THOUGHTS
  53. ++++++++
  54.  
  55.       Do not throw away LDR.COM or PATH.COM just yet. They are the
  56.     'watch-makers screwdrivers' compared to LAPs 'industrial wrench'
  57.     and are the tools to allow a more selective manipulation and
  58.     installation of the system.
  59.  
  60.  
  61. PATCHES
  62. +++++++
  63.  
  64.     1/    The program adjusts its verboseness depending on the state of
  65.        the QUIET flag. If you also like bells ringing all over the place
  66.        then use your favourite patching utility to change the byte at
  67.        location 0000DH (0010DH in RAM) from 0FFH to 000H.
  68.  
  69.     2/    As supplied the program disables interrupts while it installs
  70.        the system segments, does a CALL to the IOP INIT routine (if an
  71.        IOP was loaded) and then enables interrupts. If this is a problem
  72.        on your system then you will need to know that the DI instruction
  73.        is at 007C7H (008C7H in RAM) and the EI instruction is at 007FCH
  74.        (008FCH in RAM). Patching NOPs into either or both of these
  75.        locations may provide a solution.
  76.  
  77.  
  78. GOTCHAS
  79. +++++++
  80.  
  81.       If your IOP INIT routine is not re-entrant (i.e. you cannot re-
  82.     initialize an already initialized IOP then you have a problem. You
  83.     can get around it by patching your IOP into a fully installed version
  84.     of LAP.COM. Rather you than me! That said why would anyone write an
  85.     IOP initialization routine which cannot re-initialize its IOP? It is
  86.     not a problem with the DUMMY IOP created by the BIOS loader anyway.
  87.  
  88.  
  89. WINDDOWN
  90. ++++++++
  91.  
  92.     Hope the program is of use. I am placing it in the public domain and so
  93. accept no responsibility for it or its effects on your system. That said it
  94. runs well for me. You can write to me at
  95.  
  96.               5 Baines Close,
  97.                 Bourton-on-the-Water,
  98.                   Glos. GL54 2PU.
  99.                 England.
  100.  
  101. and I will endeavour to answer (polite) letters!!
  102.  
  103.         Regards,
  104.              Bob Andersson.
  105.   ;Index byte used by TRALGM
  106.   0046 00        DEFUSR: DB 0