The BEGIN STORAGE..END STORAGE
allows to begin describing
the content of a storage media. The syntax of this command
allows to define up to two parameter. The first parameter,
name
, refers to the internal name of the storage.
The filename
, optional, will define the file name
that will contain the "image" of the storage. If omitted,
the program filename will be used, and an additional incremented
number will be appended, one for each storage media.
Note that, for some targets, a special toolchain is needed to
manage this keyword. In particular, for cpc
target you need to
install and use the correct version of the z88dk-appmake
application.
Starting from version 1.15.3 of ugBASIC, that is, since
BEGIN STORAGE
was implemented for cpc
, it is necessary to use a
patched version of the z88dk toolchain. The version that can be
obtained from the official release is not powerful enough to include
external files in the disk image that is created for that target.
You can find out the empowered version looking for a fork of that project,
or as a module inside ugBASIC. You should recompile it on a specific branch
(ugbasic
branch, precisely). On ugBASIC website and on the UGBASIC-IDE
there is a precompiled version from that version, that can be directly
used.
BEGIN STORAGE name [AS filename] ... END STORAGE STORAGE name [AS filename] ... END STORAGE
Join BASIC 10Liner Contest with ugBASIC!
An interesting competition is held at the beginning of each year: the
BASIC 10Liner Contest.
It is possible to use ugBASIC to participate in the next
"BASIC10Liner" competition, in the following categories:
BEGIN STORAGE...END STORAGE ↔ BeStrEeStr
If you have found a problem with this keyword, if you think there is a bug or, more
simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!
open an issue
BACK TO KEYWORDS