home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
FM-EXT20.ZIP
/
MEMDUMP.ASM
< prev
next >
Wrap
Assembly Source File
|
1995-09-20
|
494b
|
26 lines
; Simple utility that dumps the contents of all the memory in your computer
; to the file 'MEMDUMP'
; This program uses the DOS-Extender DOS32 v3.0 by Adam Seychell!
.386
.model flat
.stack 200h
.code
include memdump.mac
handle dw ?
mem dd ?
TheStart:
Writeln 'MEMDUMP v0.1ß ∙ Copyright 1995 by Johan Prins'
CreateFile Handle, 'memdump'
mov mem,-1
AllocMem mem, edx
Writeln 'Writing dumpfile...'
BlockWrite Handle, edx, mem
Close Handle
Halt
end TheStart