home *** CD-ROM | disk | FTP | other *** search
-
-
-
- APPENDIX U -- Recompiling RBBS-PC to Reduce Memory Required U-1
-
-
- APPENDIX U -- Recompiling RBBS-PC to Reduce Memory Required
- -----------------------------------------------------------
- RBBS-PC is continually being enhanced with new features. As new functions
- and capabilities are added, RBBS-PC's memory requirements grow
- correspondingly. In order to continue RBBS-PC's growth and still meet the
- memory constraints imposed on SysOps with only 640K of memory who wish to
- run two copies of RBBS-PC, RBBS-PC source code can be "mite-sized" and
- recompiled to fit within whatever memory constraints a SysOp must deal
- with.
-
- SysOps can apply .MRG files against the unmodified RBBS-PC source code and
- elect to eliminate RBBS-PC features not being used and eliminate redundant
- code (typically the BASIC source code that replicates assembly language
- routines). RBBS-PC has a companion "mite-size" set of files contained in
- the file RBBS-LIT.ZIP.
-
- In order to recompile and "mite-size" RBBS-PC, within the same environment
- in which the SysOp has successfully recompiled the current release of RBBS-
- PC, the SysOp must also have the following files:
-
- BLED.EXE -- The Batch Line EDitor by Ken Goosens (version 2.2 or
- greater).
-
- MAKELIT.BAT -- The BATch file that invokes BLED.EXE and applies the
- necessary files to the unmodified source code. This
- file should be modified by putting in the drive/path
- for the original code (the first parm to BLED). The
- lines to be modified all begin with "*$", which is the
- default for a BLED metacommand. The lines beginning
- with "* " are BLED comments, which are ignored in a
- merge.
-
- SETLIT.INC -- The file through which the SysOp selects the RBBS-PC
- features that are not needed. The directions for doing
- this are contained within this file. A feature is
- typically removed by setting a BLED metacommand
- variable to "OFF", e.g. BAUD450 to "OFF" to save code
- by excluding the RBBS-PC feature that allows 300 baud
- uses to increase their baud rate to 450 while on-line.
- To exclude RBBS-PC LIBRARY subsystem set LIBRARY to
- "OFF".
-
- RBBSLIT.MRG -- The fundamental BLED merge for RBBS-PC.BAS
- SUBxLIT.MRG -- The fundamental BLED merge for various RBBSSUB's. Each
- reads in (includes) the file SETLIT.INC to set the
- metavariables used by BLED. BLED then uses the values
- to determines what merges to process.
-
- *.LIT -- .MRG files that eliminate RBBS-PC features.
-
- The procedure for "mite-size"ing RBBS-PC is as follows:
-
- 1. Select the RBBS-PC features not required for your needs and modify the
- file SETLIT.INC.
-
- 2. Change MAKELIT.BAT to reflect your PC's subdirectories.
-
- 3. Make sure RBBSSUB1.BAS is in the subdirectory you will run in.
-
-
-
- RBBS-PC 17.3A TECHNICAL REFERENCE MANUAL U-2
-
-
- 4. Execute the MAKELIT.BAT file. Do not continue if errors are found.
-
- 5. Recompile the "mite-sized" RBBS-PC source code. Remember, this "mite-
- sized" source code and the RBBS-PC.EXE file created from it my only be used
- by you and not distributed to others.
-
- Some comments on the various Microsoft QuickBASIC compilers:
- QuickBASIC Version 1.02 produces the smallest code.
- QuickBASIC Version 2.01 produces the next smallest code.
- QuickBASIC Version 3.00 produces the largest code.
- QuickBASIC Version 4.5 produces code smaller than
- 3.00) but is not as reliable
-
- Never LINK with the /E option.
-
- 6. Re-run CONFIG and disable the RBBS-PC features that were deleted in the
- "mite-sized" version that was created in steps 1 through 5 (i.e. take out
- the "A" command if questionnaires were disabled).
-
- Please realize that there is no way that the "mite-sized" variations of
- RBBS-PC can be supported. The many different PC configurations plus the
- multitude of combinations of RBBS-PC features are what make this
- impossible. However, we will do our best.
-
- Please report any problems with BLED or the *.LIT merges to Ken Goosens via
- his RBBS-PC data number -- (703) 978-6360.
-
-