home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / FM-EXT20.ZIP / MEMDUMP.ASM < prev    next >
Assembly Source File  |  1995-09-20  |  494b  |  26 lines

  1. ; Simple utility that dumps the contents of all the memory in your computer
  2. ; to the file 'MEMDUMP'
  3. ; This program uses the DOS-Extender DOS32 v3.0 by Adam Seychell!
  4.  
  5.  
  6. .386
  7. .model flat
  8. .stack 200h
  9. .code
  10.  
  11. include memdump.mac
  12.  
  13. handle    dw    ?
  14. mem    dd    ?
  15.  
  16. TheStart:
  17.     Writeln 'MEMDUMP v0.1ß ∙ Copyright 1995 by Johan Prins'
  18.     CreateFile Handle, 'memdump'
  19.     mov    mem,-1
  20.     AllocMem mem, edx
  21.     Writeln 'Writing dumpfile...'
  22.     BlockWrite Handle, edx, mem
  23.     Close Handle
  24.     Halt
  25. end TheStart
  26.