-
Notifications
You must be signed in to change notification settings - Fork 0
BSAVE
Andrew Owen edited this page May 30, 2023
·
2 revisions
BSAVE file_spec, offset, length
Saves a region of memory to an image file.
- The string expression
file_specis a valid filespec indicating the file to write to. -
offsetis a numeric expression in the range[-32768 to 65535]indicating the offset into the current DEF SEG segment from where to start reading. -
lengthis a numeric expression in the range[-32768 to 65535]indicating the number of bytes to read. - If
offsetorlengthare negative, their two's complement will be used.
-
file_spechas a numeric value: Type mismatch. -
file_speccontains disallowed characters: Bad file number (onCAS1:); Bad file name (on disk devices). -
offsetis not in the range[-32768 to 65535]: Overflow. -
lengthis not in the range[-32768 to 65535]: Overflow.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: