home *** CD-ROM | disk | FTP | other *** search
- ;
- EXTEND.COM
-
- Size (recs) CRC Version Author/Latest Issue Disk
- EXTEND.COM 1k (8) DE0D 1.4 Bruce Morgen 8/91 Z3COM3
- EXTEND.4OM 2k (11) D4ED 1.4 Bruce Morgen 8/91 Z3COM3
-
- 1- Syntax 2- Notes
-
-
- Text file extender for all Z80 machines. Appends an input line to a new or
- existing ASCII file. Allows ZCPR named directories. Great for batch process-
- ing under Z-System, as it can "keep notes" on what happened during unattended
- batch runs. Works also with CP/M Plus. Can extend empty files as well as
- files with no EOF byte in their last record.
-
- Original vs 1.0 (9/81) by Ron Fowler.
- :1
- Syntax EXTEND [dir:]ufn string - extend "string" plus newline
- EXTEND [dir:]ufn /string - append "string" only
-
- Options %> - begin lowercase
- %< - begin uppercase
- %| - imbed newline
- %% - imbed "%"
- :2
- EXTEND Notes - 1/3
-
- a. Vs 1.4 updates (8/14/91, Bruce Morgen):
- - Introduced conditional assembly to produce a reliable Type 4 version.
- - Vastly simplified file I/O code with SYSLIB calls instead of exotic
- FCB evaluation/manipulation.
- - Will no longer work under CP/M 1.x (up to now it probably did!).
- - Will no longer give up if there is no EOF in the last record; it will
- just open a new record and proceed.
-
- b. Vs 1.3 updates (1/26/90, Carson Wilson):
- - Fixed for CP/M Plus. RC byte of FCB can be set to values > 80h under
- CP/M Plus (high bit set). Values > 80h imply RC = 80h under CP/M
- Plus.
- - Zeroed out (Z3EADR), which may have prevented EXTEND from responding
- to the QUIET patch byte under some non-ZCPR systems.
- Extend Notes - 2/3
-
- c. Vs 1.2 updates (5/7/89, Carson Wilson):
- - Uses Z80 opcodes.
- - Uses DSEG for smaller program size.
- - Senses ZCPR quiet flag and displays no informative messages if Quiet
- flag active. Patchable byte at [QUIET> reverses sense of ZCPR quiet
- flag, showing messages only if Quiet is active. Under CP/M, [QUIET>
- always gives quiet operation if set to a nonzero value.
- - Program ID included in error messages.
- - Allows lower case: "%>" in string sets to lower case, "%<" to upper
- case. "%c" sends other characters "c" using current case, "%%" sends
- a single "%" to file (same as ZCPR ECHO command). Patchable byte at
- [CASE> makes lower case the default if set to 20 hex.
- - Now uses "%|" to imbed CRLF within a line of input text.
- Extend Notes - 3/3
-
- d. Vs. 1.1 updates (5/1/87, Bruce Morgen):
- - Accepts "DU:" and "DIR:" form as well as "D: " under ZCPR3-compatible
- environments. This is enabled by installing EXTEND with Z3INS or
- Z-RIP, or automatically by later versions of the Z3 and BGii command
- processors.
- - Skips terminating CR/LF if the appended string begins with a "/". The
- "/" is discarded.
- - A "|" in the appended string is interpreted as a mid-string CR/LF.
- Aborts on a line buffer overflow condition, which can happen rather
- easily because of a combination the "|"=CR/LF feature and the fact
- that pre-3.3 versions of Z3 command processor do no adequately protect
- the TPA from encroachment by the command tail. This situation can't
- happen under 3.3 or BGii.
- syntax error.