Within this archive:

  MemGrab.bmp      Icon, in Windows BMP format.
                   (use PsiWin to translate to .PIC, and
                   put the pic into \OPD)

  MemGrab.opa      Translated software, copy to \APP
                   and install on desktop (system screen).

  MemGrab.opl      Source code.

  MemGrab.txt      This file.


Source is provided if you wish to play.


KNOWN BUG:
  This software will *ONLY* save the first 16K of any
  process memory selected. This is quite a serious issue,
  and it has arisen because:
    * I have only allocated memory for 16K at a time
      Loading and saving the process memory in 16K chunks
      is NOT a problem, however...
    * The call to read memory from another process' data
      segment requires a high address and a low address.
      Question is... $FFFF. Is this seen by the OS as
      65535, or is it seen as -1?
      Where does the split take place? High word/low word?
  When I have more memory to play around with, I'll see if
  I can create and save a ~70K allocation. But for now I'd
  rather limit it to a single 16K than write something
  that may fail arbitrarily over a certain amount.

  Of course, if you have a higher-specified 3a (3c?) then
  please feel free to experiment yourself. The source is
  commented. I would appreciate it if you could let me
  know what works for you.


I am releasing this software and the source into the public
domain. There is no licence on this software, do with it as
you please. However note that I (Rick Murray) will not be
held liable for any errors or omissions or problems, no
matter what the cause. I hereby disclaim everything. You
have the source, so if you are justly paranoid, check it
over yourself and then retranslate it! :-)


Contact:

  Email:  heyrick -at- merseymail -dot- com

          I only have access for about half an hour once a
          week at the local library. Hardware failures
          excepted, your messages WILL be read - it just
          won't be as quickly as I'd like!


  WWW:    http://www.heyrick.co.uk/software/pb2/



Rick, 2006/08/21.
