LUX v101 May 17, 1988 LUX - Library Utility eXtension (supports ZMD and KMD) NOTE: Both the M80 assembler and L80 are needed for this program. If using ZMD, you likely can just use the program 'as is'. If using KMD, set the proper equate then assemble and link. A submit file is included to simplify doing this: A>EX15 MAKELUX8 This uses M80, L80 and the included MAKELUX8.COM files to automatically generate a new LUX.COM. ------------------ LUX is a remote (RCPM) library utility that allows a caller to manipulate archive (.ARC or .ARK) and library (.LBR) files and use simple commands to type or send member files. LUX may only be used on Z80 systems as it is NOT coded for 8080 CPUs. It places itself under the CCP (or BYE5) as a form of an RSX. LUX v101 is placed on A0: with your other normally-used .COM files. Options in the source code file allow placing the support files on any drive/user area you wish. However, these are also usually placed on A0: so they may be used for normal purposes as well. These are: * CHEK.COM (current is CHEK15.COM, included, see below) LCHEK.COM (current is LCHEK11.com, included) DIR.COM (your SDxxx.COM renamed to DIR, not included) TYPE.COM (can type squeezed or cruched files, included) UNARC.COM (used as TYPE/DIR for .ARC and .ARK, included) -------------------------------------------------------------- QUICK INSTALLATION: ------------------ If using ZMD, all you will likely need to do is the following: a) remove the member files. b) place the following files on A0: 1. LCHEK.COM 2. LUX.COM 3. TYPE.COM (in place of your current TYPE.COM pgm) 4. UNARC.COM c) ready to use, all finished. This should work equally well on a small floppy system with two drives or on a 100mb system with 12-14 drives, regardless of how many user areas are allowed. d) if using KMD you will need to use your editor to change the KMD equate in the LUX source code, reassemble and convert to a .COM file using the method mentioned in the NOTE, above. -------------------------------------------------------------- The LUX.COM as distributed was assembled from the LUX101.Z80 source code file included. There are virtually no options which might need to be changed. A SUBMIT type file is included for use with the M80/L80 assembler-linker pair. EX15.COM is included in the library. You would first edit any changes (if desired) into the LUX101.Z80 source file, then automatically assemble and link using this line: B>EX15 MAKELUX7 In a few minutes you will have a LUX.COM ready for use on your RCPM. A number of ready-to-use programs are included in this library which will enhance the versatility of the LUX program. These are dual purpose and normally would be placed on A0: drive, then used for general purpose as well as for LUX. They are: TYPE.COM LCHEK.COM UNARC.COM NOTE: You also need a conventional DIR.COM program with $L capability to show members of a .LBR file. This is usually SDxxx.COM renamed to DIR.COM. Since this changes so frequently, and has so VERY many options to individually set, this file was not included. Most people are currently using SD131.COM on A0: renamed DIR.COM. The TYPE.COM program that's included in this file is a general purpose program that can display normal, squeezed or crunched files - or any of those three types in a .LBR file. This is a modified version of LT18 program that was written by Steven Greenberg and C. B. Falconer in December of 1986. If you have a TYPE.COM program on A0: already that you prefer, ignore this one. (You might want to try this one in place of your own first, however. It is not dependent on wheel byte or user area.) The LCHEK.COM program is actually LCHEK11.COM (written by Sigi Kluger in January 1984). It can be used for general purposes as well as for LUX. (It is likely the only way RCPM users can get a CRC check on a member file of a library since they are not allowed to use LU310 or NULU152.) This program has not changed for three years but many RCPM systems are apparently unaware it exists and have not had it available in the past. (You may also want to get CHEK15.COM, renamed to CHEK.COM and put on A0: if not already in use. This allows anyone to make a CRC check of any program (wild cards are accepted) on your system and nicely complements LCHECK11.COM which is only used on library members.) UNARC.COM is used to display member contents of a .ARC or .ARK file. Again it can be used for a general purpose program as well as for LUX. This is wheel dependent. If the wheel is set for the SYSOP, he can then use the program to extract files from .ARC or .ARK libraries. Check addresses 010Ah and 010Bh for the wheel byte. These will normally be 3Eh and 00h since the wheel byte is normally at 003Eh on most systems. If your wheel is at FE0Eh, for example, those bytes would be 0Eh and FEh. NOTE: Be sure UNARC.COM has 16h at 0103h, not 08h. This compensates for the 43 records in the LUX70.COM file as a RSX sitting under BYE5. (Not all 43 are moved under the CCP/BYE5, though.) NOTE: .ARC and .ARK compression methods are still undergoing development so make sure you are using the most current version of UNARC.COM on A0: A current version as of this date is included with this group of files. - notes by Irv Hoff, based in part on comments by Norman Beeler in his LUX52 release.