{{htmlmetatags>metatag-robots=()
metatag-title=(DSAVE | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for DSAVE)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(DSAVE | ugBASIC User Manual)
metatag-og:description=(Manual page for DSAVE)
}}
====== 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 ====
[[DSAVE ERROR]]
==== ANY PROBLEM? ====
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON DSAVE|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]