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 / ENTERPRS / CPM / UTILS / S / TURBOPAT.ARC / TURBOPAT.DOC next >
Text File  |  1989-09-27  |  4KB  |  88 lines

  1.  
  2.     TURBOPAT.Z80 v.1.1 is a    patch to version 2.00A of the Z-80 CP/M
  3. version    of TURBO PASCAL.  If assembled to a .HEX file and installed via
  4. DDT or MLOAD as    a simple overlay, it will improve the TURBO editor and TURBO's
  5. file-handling capabilities.  CROWECPM or a similar Z-80    assembler may be used
  6. to perform the assemblage.  For    the benefit of those who may not have access
  7. to an assembler, a .HEX    file accompanies this .DOC file.
  8.  
  9.     Version    1.1 (.Z80/.HEX/.DOC) was released 1/85 by the author,
  10. and is in the public domain.   Feel free to make copies    and spread them
  11. around.
  12.  
  13.     The modifications accomplished by TURBOPAT are as follows.
  14.  
  15.  
  16. 1.  Deletion of    the 'D' directory command.  This was necessary in
  17.     order to open up space within TURBO    for the    new subroutines.
  18.  
  19.     To obtain a directory of a disk    when the 'D' command
  20.     is deleted,    use the    'X' command to run an external directory program
  21.     such as D.COM.
  22.  
  23. 2.  The    addition of an automatic detab capability.  Workfiles and PASCAL
  24.     programs read in by    TURBO will be automatically detabbed.  This will
  25.     not    interfere with statements which    contain    tabs within quotes,
  26.     as the subroutine will recognize them as such.  All    other tabs will
  27.     be expanded    to the requisite number    of spaces.
  28.  
  29. 3.  The    addition of an entab capability, which may be toggled on/off by
  30.     a new menu command,    'T'.  If the entabbing is activated, strings of
  31.     blanks in workfiles    will be    compressed to tabs when    the workfile is
  32.     saved to disk.  This feature should    be useful to those who use the
  33.     TURBO editor to write assembly-language programs.  Tabs, as    usual,
  34.     will be every eight    spaces.
  35.  
  36.     When TURBOPAT encounters a quotation mark (i.e.    ') in a line,
  37.     it will disable entabbing for the remainder    of that    line.  This is
  38.     for    obvious    reasons.
  39.  
  40.     Versions of TURBO which    do not have TURBOPAT installed will
  41.     understand entabbed    PASCAL source code.  However, on the screen the
  42.     tabs will be displayed as I's.  For this reason, if you wish to distribute
  43.     a PASCAL program prepared with TURBO+TURBOPAT, it may be desirable to
  44.     switch off the entabbing before saving it to disk for the final time.
  45.  
  46.     Note that when the menu    displays 'Tabs off' as the meaning of
  47.     the    'T' command, it means that the entabbing feature is currently
  48.     *on*.  And vice versa.
  49.  
  50. 4.  The    standardization    of the TURBO editor tab    (i.e. ^I) command.  In
  51.     Borland's TURBO editor, ^I moves the cursor to the position immediately
  52.     below the next word.  TURBOPAT moves the cursor to the next    tab location
  53.     instead.  Tabs are every eight spaces.
  54.  
  55.     The 'indent' feature is also modified.  When toggled on, it indents
  56.     each line by eight spaces.    As in Borland's TURBO, the 'indent' is not
  57.     in effect when one is in 'overwrite' mode.
  58.  
  59.     This feature should also be useful to those writing assembly-language
  60.     programs.  Those who are interested    solely in this feature should extract
  61.     from TURBOPAT.Z80 the few lines which accomplish it, assemble and install
  62.     them.  Unlike the other new    features they will not interfere with the 'D'
  63.     command.
  64.  
  65. 5.  The    addition of a 'reName workfile' command to the main TURBO menu.  If
  66.     a workfile is renamed, later savings to disk will be under the new name.
  67.     The    new name may be    preceded by X:,    in which X is the drive    one wishes
  68.     to save the    file to.  Hence    one may    shift files from one drive to another
  69.     from within    TURBO.
  70.  
  71. 6.  The    addition of an 'Update' command to the main TURBO menu.  It acts just
  72.     like 'Save', but does not produce a .BAK file.  I.e., only the current
  73.     version of the workfile is saved to    disk.
  74.  
  75.  
  76.     The installation of TURBOPAT should not    interfere with the use
  77. of the screen/command installation program TINST.
  78.  
  79.     TURBOPAT was written with the aid of the Z-80 disassembler ZZSOURCE,
  80. whose authors deserve much thanks.  Users of TURBOPAT are invited to follow in
  81. the author's footsteps, by disassembling TURBO and writing patches of their
  82. own.
  83.  
  84.     Comments on TURBOPAT should be sent to the author,
  85.  
  86.         Robert S. Maier
  87.         3607 Greystone Dr. #2222
  88.         Austin,    TX  78731