Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
BSAVE, BLOAD Statements
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
BSAVE copies the contents of an area of memory to a file.
BLOAD loads a file created by BSAVE into memory.
BSAVE filespec$, offset%, length&
BLOAD filespec$[,offset%]
■ filespec$ For BSAVE, a file to which an area of memory (a
byte-for-byte memory image) is copied. For BLOAD,
a memory-image file created by a previous BSAVE.
■ offset% For BSAVE, the offset of the starting address of the
area of memory being saved. For BLOAD, the offset of
the address where loading starts.
■ length& The number of bytes to copy (from 0 through 65,535).
■ The starting address of the memory area saved or loaded is determined
by the offset and the most recent DEF SEG statement.
See Also ◄DEF SEG► ◄VARPTR, VARSEG► ◄Differences from BASICA►