Skip to content
Andrew Owen edited this page May 30, 2023 · 2 revisions

BSAVE


BSAVE file_spec, offset, length

Saves a region of memory to an image file.

Parameters

  • 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 or length are negative, their two's complement will be used.

Errors

  • file_spec has a numeric value: Type mismatch.
  • file_spec contains disallowed characters: Bad file number (on CAS1:); 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.

Welcome to the SE BASIC wiki


  • 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:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally