home *** CD-ROM | disk | FTP | other *** search
/ Boldly Go Collection / version40.iso / TS / 25D / SETMEM.ZIP / SETMEM.DOC < prev    next >
Encoding:
Text File  |  1992-04-03  |  863 b   |  20 lines

  1. These two programs fill memory from the end of the program to 9FFFF with
  2.   values.  This can help when trying to track down uninitialized
  3.   variable problems.
  4.  
  5. SETMEM fills memory with a pattern specified on the command line.
  6.  The syntax is SETMEM [ {hex string} {"any string"} ] ...
  7.   If no parameters are given, memory is set to 0.  Spaces and other non-hex
  8.    characters outside of quotes are ignored.  For example,
  9.     SETMEM 1ACex7 0 hello joe
  10.     sets memory to a repeating 1A CE 70 EE pattern, while
  11.     SETMEM 1ACex7 0 "hello joe"
  12.     sets memory to a repeating 1A CE 70 68 65 6C 6C 6F 20 6A 6F 65
  13.  
  14.  
  15. TRASHMEM fills memory with random values.  (The random number generator
  16.  is not very good, so I do not recommend it for other applications).
  17.  
  18. These programs are public domain.
  19.   Joe Ahlgren  92/04/03  BBS 703-241-7980  CSID 70461,2340
  20.