; rename this ENSPOOL.DOC to BYERSX.INC for assembly with RSXMAST ; ; This file is used to include data areas compatible with the exist- ; ing BYE programs. A BYE replacement must always have "driver" set ; true, and "nodrive" set false. When code is included here it will ; cause the replacement bios jump vector to be located higher than ; usual, which may cause problems with some programs that are care- ; less in calling the bios directly. For most RSXs this file ; contains no code. ; ; ENSPOOL captures all LST device output (supplied via BDOS calls, ; not via BIOS calls), and creates an image spool file, which may ; later be printed with UNSPOOL. All characters are captured, ; however UNSPOOL will not output an 01Ah character, which is treated ; as EOF. This may create difficulties for graphics. ; ; Because BIOS calls are not captured, the ^P operation, for console ; output copied to lister, will still create immediate hard copy, ; and will not be routed to the spoofl (spoolfile). Since BDOS is ; non-reentrant, and the system must use DOS to write to the file, ; it is impossible to capture these bios writes. Application writes ; can be caught, and probably will be in a later version. See the ; configuration of UNSPOOL for the fundamental method. ; ; This system is designed to work ONLY for list output via the BDOS ; call. Direct bios calls will not be intercepted. This program is ; a companion to UNSPOOL. Mounts with RSX12. To assemble rename ; the various files as instructed (this file, RSXIO.ESP, RSXINIT.EST, ; RSXMAIN.ESP, and RSXCUST.ESP), and assemble RSXMAST.MAC from the ; RSX12 library. All necessary files will be included. ; ; This program is copyright (c) 1985 by: ; C.B. Falconer, 680 Hartford Tpk, Hamden, Conn. (203) 281-1438 ; all rights reserved. ; ; It may be freely used and copied, but it may not be sold, nor may ; it be included in packages for sale, without the express written ; permission of C.B. Falconer. ; ; usage: ; d>ENSPOOL [d:]filename[.typ] to initiate ; or ; d>ENSPOOL to remove and close file ; ; note that the created spoolfile will not be available to other ; utilities until closed by removing ENSPOOL. ; ; This system may be used to create exact output images with Word- ; Star. Multiple copies may then be printed with UNSPOOL. However ; WS likes to output strings of 01ah characters at page breaks, and ; thus this system intercepts and ignores them. The only end-of-file ; marker is made by closing the output file (second run of ENSPOOL ; above). Thus if the 01ah is ever used for printer control, trouble ; will be caused. ; ; TIP. For WordStar images, WS has the habit of generating a ; form-feed (character 0ch) at both the start and finish of a file ; print. This wastes a sheet for each run, and is annoying. When ; the spoofle has been made, load it into DDT, and scan the first ; few bytes (usually no more than 30) for an 0C. Change it to an ; 0D with DDT, and then save the file again. (you can also do this ; with DUU, or the equivalent). This will remove the initial form- ; feed, and ease creation of multiple copies. ; ; 85/12/17 Original release ; (1.0) C.B. Falconer ;