home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / modem / memory.doc < prev    next >
Encoding:
Text File  |  1994-09-02  |  1.5 KB  |  41 lines

  1.  
  2.         Recouping Some Memory with MexPlus
  3.  
  4.  
  5. If you're pinched for memory running MexPlus (perhaps under the equally
  6. memory-hungry ZCPR3), there are a few things you can do to relieve the
  7. pressure.
  8.  
  9. 1) If you can live without the help file, you can save 700 bytes by
  10.    zapping the help index.  Do
  11.  
  12.             POKE $0D80 $0
  13.  
  14.   then use CLONE to make a new MEX.  Don't use HELP after doing this
  15.   though (it won't break anything, but will print a mystifying error
  16.   message).
  17.  
  18. 2) If you don't use keystrings much, you can decrease the size of the
  19.    keystring buffer from its default 400 bytes.  You must modify the
  20.    patch file (currently, MEXPAT21.ASM).  Change the KYSIZE equate,
  21.    and assemble and overlay the patch file onto a virgin MEX, as per
  22.    the instructions in MEXPAT21.
  23.  
  24. 3) If you don't use the full 30 numbers in the default-sized phone
  25.    library, you can save 63 bytes per entry by decreasing the number
  26.    of entries in the library.  Change the PHSIZE equate in MEXPAT21
  27.    from its default setting of 30.
  28.  
  29.  
  30.  
  31.                     --Ron Fowler
  32.                       NightOwl Software, Inc.
  33.                       23 July 1985
  34. ntly, MEXPAT21.ASM).  Change the KYSIZE equate,
  35.    and assemble and overlay the patch file onto a virgin MEX, as per
  36.    the instructions in MEXPAT21.
  37.  
  38. 3) If you don't use the full 30 numbers in the default-sized phone
  39.    library, you can save 63 bytes per entry by decreasing the number
  40.    of entries in the library.  Change the PHSIZE equate in MEXPAT21
  41.    from its default s