Recouping Some Memory with MexPlus


If you're pinched for memory running MexPlus (perhaps under the equally
memory-hungry ZCPR3), there are a few things you can do to relieve the
pressure.

1) If you can live without the help file, you can save 700 bytes by
  zapping the help index.  Do

                       POKE $0D80 $0

 then use CLONE to make a new MEX.  Don't use HELP after doing this
 though (it won't break anything, but will print a mystifying error
 message).

2) If you don't use keystrings much, you can decrease the size of the
  keystring buffer from its default 400 bytes.  You must modify the
  patch file (currently, MEXPAT21.ASM).  Change the KYSIZE equate,
  and assemble and overlay the patch file onto a virgin MEX, as per
  the instructions in MEXPAT21.

3) If you don't use the full 30 numbers in the default-sized phone
  library, you can save 63 bytes per entry by decreasing the number
  of entries in the library.  Change the PHSIZE equate in MEXPAT21
  from its default setting of 30.



                                       --Ron Fowler
                                         NightOwl Software, Inc.
                                         23 July 1985
ntly, MEXPAT21.ASM).  Change the KYSIZE equate,
  and assemble and overlay the patch file onto a virgin MEX, as per
  the instructions in MEXPAT21.

3) If you don't use the full 30 numbers in the default-sized phone
  library, you can save 63 bytes per entry by decreasing the number
  of entries in the library.  Change the PHSIZE equate in MEXPAT21
  from its default s