BBS: Inland Empire Archive Date: 06-12-92 (07:59) Number: 185 From: STEVE HALKO Refer#: NONE To: CHRIS WAGNER Recvd: NO Subj: Fast ram dump Conf: (2) Quik_Bas
CW>OK guys and gals, I have a doosie! I am looking for a FAST way to dump
CW>a 64K byte block or memory to disk in binary form FAST. I need
CW>to be able to Specify the segment of the Data in memory, and
CW>the data will start at 0 offset in that segment. From that
CW>point, I need that 64K block of memory written to disk (mirror image).
This will get you one byte less than 64K. (You can always PEEK and
PUT that last byte!) Gotta compile this one from the command line.
DEFINT A-Z
DECLARE SUB BigSave ALIAS "B$PUT3" (BYVAL FileNumber, BYVAL Segment,
BYVAL Offset, BYVAL NumBytes)
FileNr = FREEFILE
OPEN "MEMDUMP.DAT" FOR BINARY AS FileNr
Segment = &HC000 'Let's dump the video ROM
Offset = 0
CALL BigSave(FileNr, Segment, Offset, &HFFFF)
CLOSE FileNr
* SLMR 2.1a * hAS ANYONE SEEN MY cAPSLOCK KEY?
--- DB B1071/002487
* Origin: Gulf Coast BBS -QuickSHARE #2- (904)563-2547 HST/V.32bis (1:365/12)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET