home *** CD-ROM | disk | FTP | other *** search
-
- TURBOPAT.Z80 v.1.1 is a patch to version 2.00A of the Z-80 CP/M
- version of TURBO PASCAL. If assembled to a .HEX file and installed via
- DDT or MLOAD as a simple overlay, it will improve the TURBO editor and TURBO's
- file-handling capabilities. CROWECPM or a similar Z-80 assembler may be used
- to perform the assemblage. For the benefit of those who may not have access
- to an assembler, a .HEX file accompanies this .DOC file.
-
- Version 1.1 (.Z80/.HEX/.DOC) was released 1/85 by the author,
- and is in the public domain. Feel free to make copies and spread them
- around.
-
- The modifications accomplished by TURBOPAT are as follows.
-
-
- 1. Deletion of the 'D' directory command. This was necessary in
- order to open up space within TURBO for the new subroutines.
-
- To obtain a directory of a disk when the 'D' command
- is deleted, use the 'X' command to run an external directory program
- such as D.COM.
-
- 2. The addition of an automatic detab capability. Workfiles and PASCAL
- programs read in by TURBO will be automatically detabbed. This will
- not interfere with statements which contain tabs within quotes,
- as the subroutine will recognize them as such. All other tabs will
- be expanded to the requisite number of spaces.
-
- 3. The addition of an entab capability, which may be toggled on/off by
- a new menu command, 'T'. If the entabbing is activated, strings of
- blanks in workfiles will be compressed to tabs when the workfile is
- saved to disk. This feature should be useful to those who use the
- TURBO editor to write assembly-language programs. Tabs, as usual,
- will be every eight spaces.
-
- When TURBOPAT encounters a quotation mark (i.e. ') in a line,
- it will disable entabbing for the remainder of that line. This is
- for obvious reasons.
-
- Versions of TURBO which do not have TURBOPAT installed will
- understand entabbed PASCAL source code. However, on the screen the
- tabs will be displayed as I's. For this reason, if you wish to distribute
- a PASCAL program prepared with TURBO+TURBOPAT, it may be desirable to
- switch off the entabbing before saving it to disk for the final time.
-
- Note that when the menu displays 'Tabs off' as the meaning of
- the 'T' command, it means that the entabbing feature is currently
- *on*. And vice versa.
-
- 4. The standardization of the TURBO editor tab (i.e. ^I) command. In
- Borland's TURBO editor, ^I moves the cursor to the position immediately
- below the next word. TURBOPAT moves the cursor to the next tab location
- instead. Tabs are every eight spaces.
-
- The 'indent' feature is also modified. When toggled on, it indents
- each line by eight spaces. As in Borland's TURBO, the 'indent' is not
- in effect when one is in 'overwrite' mode.
-
- This feature should also be useful to those writing assembly-language
- programs. Those who are interested solely in this feature should extract
- from TURBOPAT.Z80 the few lines which accomplish it, assemble and install
- them. Unlike the other new features they will not interfere with the 'D'
- command.
-
- 5. The addition of a 'reName workfile' command to the main TURBO menu. If
- a workfile is renamed, later savings to disk will be under the new name.
- The new name may be preceded by X:, in which X is the drive one wishes
- to save the file to. Hence one may shift files from one drive to another
- from within TURBO.
-
- 6. The addition of an 'Update' command to the main TURBO menu. It acts just
- like 'Save', but does not produce a .BAK file. I.e., only the current
- version of the workfile is saved to disk.
-
-
- The installation of TURBOPAT should not interfere with the use
- of the screen/command installation program TINST.
-
- TURBOPAT was written with the aid of the Z-80 disassembler ZZSOURCE,
- whose authors deserve much thanks. Users of TURBOPAT are invited to follow in
- the author's footsteps, by disassembling TURBO and writing patches of their
- own.
-
- Comments on TURBOPAT should be sent to the author,
-
- Robert S. Maier
- 3607 Greystone Dr. #2222
- Austin, TX 78731