User Tools

Site Tools


ugbasic:user:kw:dsave
Translations of this page:


ugBASIC User Manual

DSAVE

SYNTAX

   DSAVE filename [TO offset] [FROM address] [SIZE size]

PURPOSE

Dynamically (at run-time) save a file to a mass storage. The DSAVE command allows you to (dynamically) save a file to a mass device. The syntax allows you to save a specific file (filename) starting from a specific offset within the file, from a specific address in memory for a certain number of bytes. Note that the behavior of this instruction strictly depends on the target where it is executed. It follows that not all options are necessarily available on every target.

EXAMPLE

  DSAVE "test" FROM finalAddress SIZE 16

ABBREVIATION

 Dsa

AVAILABLE ON

  • Commodore 128 (MOS 8502)
  • Commodore 64
  • Atari (400/800)
  • Atari XL/XE
  • Commodore 64+REU
  • TRS-80 Color Computer 3
  • TRS-80 Color Computer

SEE ALSO

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY