-
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_spec
is a valid filespec indicating the file to write to. -
offset
is a numeric expression in the range[-32768 to 65535]
indicating the offset into the current DEF SEG segment from where to start reading. -
length
is a numeric expression in the range[-32768 to 65535]
indicating the number of bytes to read. - If
offset
orlength
are negative, their two's complement will be used.
-
file_spec
has a numeric value: Type mismatch. -
file_spec
contains disallowed characters: Bad file number (onCAS1:
); Bad file name (on disk devices). -
offset
is not in the range[-32768 to 65535]
: Overflow. -
length
is not in the range[-32768 to 65535]
: Overflow.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: