home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / arc-lbr / nulu152a.lbr / NULUMOD.DZC / NULUMOD.DOC
Text File  |  1987-12-16  |  8KB  |  142 lines

  1.  
  2.                         NULU MODIFICATION
  3.  
  4. This  is an update to Martins original documentation.  It details
  5. which locations to patch to install NULU. These have been updated
  6. as part of the modification process to create NULU 1.52.
  7.  
  8. Patches are listed in the order in which they appear in NULU.COM.
  9. Each  patch  is  explained  and the  default  values  are  listed
  10. immediately  next  to  the  patch  address.   All  addresses  are
  11. absolute hexadecimal.
  12.  
  13. Patch     Default             Explanation
  14. 00194h      50h               Number  of  characters  each   full
  15.                               video   line  can   contain.    Not
  16.                               necessarily  the same as the number
  17.                               you can see.
  18. 00195h      50h               Number  of characters visible on  a
  19.                               line at any one time.
  20. 00198h      07h               This  byte indicates the number  of
  21.                               files  that NULU can have  open  at
  22.                               any  one time.   The base number is
  23.                               4 and should never fall below that.
  24.                               The value of 3 has been added to it
  25.                               to  allow  3 level nesting  of  NCF
  26.                               files.    If   the  NCF  value   is
  27.                               increased or  decreased,  identical
  28.                               changes  should  be  made  to  this
  29.                               byte.  (See Patch at 00251h.)
  30. 00199h   0010h                This   obscure  word  controls  the
  31.                               number  of relocatable  tasks  that
  32.                               can   be  controlled  by  the  NULU
  33.                               memory     management     routines.
  34.                               Because each file is a  relocatable
  35.                               task,  the  same modifications  for
  36.                               the previous byte apply here.   The
  37.                               base  value  of this word is  000dh
  38.                               and  should never fall  below  that
  39.                               point.  (See Patch at 00251h.)
  40. 0019bh     10h                Number  of  contiguously   numbered
  41.                               disk drives in your system.  If you
  42.                               have drives A and B, set this value
  43.                               to  2.   It  will prevent you  from
  44.                               accessing an invalid drive.
  45. 0019ch     10h                Number  of  contiguous  user  areas
  46.                               that   NULU  will  be  allowed   to
  47.                               access.   Under  normal  CP/M  2.2,
  48.                               Turbo-Dos  or  a  ZCPR  system,   I
  49.                               understand that this number can  be
  50.                               as high as 20h.   For CP/M Plus  or
  51.                               most  systems  that  use  time/date
  52.                               stamping  this  number  should  not
  53.                               exceed 10h.
  54. 001cdh    0005h               This  is  the address of  the  BDOS
  55.                               vector.  All operating system calls
  56.                               go  through this address.   If  you
  57.                               have some weird,  non-standard CP/M
  58.                               implementation  you can patch  this
  59.                               to try to make NULU work with it.
  60.  
  61. 0024dh      00h               Set  to  a non-zero value  to  make
  62.                               NULU READ/ONLY.   No operators will
  63.                               be  executed that could change  the
  64.                               library or disk directories in  any
  65.                               way.
  66. 0024eh      00h               LU.COM   was   set   up   to   exit
  67.                               automatically if a command tail was
  68.                               used when LU was invoked.  With the
  69.                               release  version of NULU,  it takes
  70.                               the -X command to exit.   Set  this
  71.                               byte to a 01h to get it to act like
  72.                               LU  in this respect.   That is,  it
  73.                               will   automatically   exit   after
  74.                               executing the passed command  tail,
  75.                               if one was present.
  76. 0024fh      01h               Set  to  a 00h to start  NULU  with
  77.                               BRIEF  mode  ON (long messages  not
  78.                               printed).
  79. 00250h      01h               Set  to zero to prevent users  from
  80.                               being  able  to  ESC,RET  from  the
  81.                               PROMPT  AND CHAIN TO PREVIOUS  MODE
  82.                               prompts in NCF files.  (Be sure  to
  83.                               also  change  the values at  00198h
  84.                               and 00199h.)
  85. 00251h      03h               This  byte  indicates  the  nesting
  86.                               level  allowed  for NCF  files.   I
  87.                               have  no idea what the upper  limit
  88.                               is,  but  watch  that  Data  Buffer
  89.                               Size!
  90. 00252h      '-Y *LBR -O',0    Starting here are 39 bytes in which
  91.                               any  valid  NULU operators  may  be
  92.                               stored.     This   line   will   be
  93.                               automatically executed when NULU is
  94.                               loaded,   even  before  any   other
  95.                               parameters  passed  on the  command
  96.                               line.  This might be used to create
  97.                               a  version  of  NULU  that,   after
  98.                               loading,    sets   the   drive/user
  99.                               defaults to B0:,  prints the  menu,
  100.                               scans  the drive for library files,
  101.                               then  switches to the open  library
  102.                               mode.  That command line would look
  103.                               like this:
  104.  
  105.                               -U B: -H -Y *LBR -O
  106.  
  107.                               Notice that all characters in  this
  108.                               line  MUST  be  UPPER  CASE.    The
  109.                               entire line MUST be terminated by a
  110.                               null  byte.    Only  39  bytes  are
  111.                               available  for  text...not  a  byte
  112.                               more.   The  40th  byte is for  the
  113.                               null terminator.
  114.  
  115.  
  116. 002a0h      3ch               This  is  the number of lines  that
  117.                               NULU will print on each page during
  118.                               member file printing.   Change this
  119.                               value  in accordance with the  line
  120.                               printer  patch  below.   Set it  to
  121.                               zero  to  have  NULU  ignore   line
  122.                               counts altogether.
  123.  
  124. Starting at 0027dh are 5 data areas used to define strings needed
  125. to control the console attributes.  Each string is preceded by an
  126. identification  byte  and a byte indicating  its  active  length.
  127. Then 5 bytes are available for the actual definition.   Therefore
  128. a  total  of 7 bytes is consumed for  each  video  control.   The
  129. attributes are, in order:
  130.      DIM or REVERSE VIDEO ON   (DIM is preferred)
  131.      DIM or REVERSE VIDEO OFF
  132.      UNDERLINING ON
  133.      UNDERLINING OFF
  134.      CLEAR SCREEN
  135.  
  136. Each control becomes active as soon as it is patched in.
  137.  
  138. Likewise,  there  is one string defined for the LST:  device that
  139. will be issued immediately before printing a file.   It begins at
  140. 002a2h and has the same format as the strings above.
  141.  
  142.