45
45
* @param _name Name of the storage
46
46
*/
47
47
/* <usermanual>
48
- @keyword BEGIN STORAGE
48
+ @keyword BEGIN STORAGE...END STORAGE
49
49
50
50
@english
51
51
52
- The ''BEGIN STORAGE'' allows to begin describing
52
+ The ''BEGIN STORAGE..END STORAGE '' allows to begin describing
53
53
the content of a storage media. The syntax of this command
54
54
allows to define up to two parameter. The first parameter,
55
55
''name'', refers to the internal name of the storage.
@@ -58,6 +58,20 @@ that will contain the "image" of the storage. If omitted,
58
58
the program filename will be used, and an additional incremented
59
59
number will be appended, one for each storage media.
60
60
61
+ Note that, for some targets, a special toolchain is needed to
62
+ manage this keyword. In particular, for ''cpc'' target you need to
63
+ install and use the correct version of the ''z88dk-appmake'' application.
64
+ Starting from version 1.15.3 of ugBASIC, that is, since
65
+ ''BEGIN STORAGE'' was implemented for ''cpc'', it is necessary to use a
66
+ patched version of the z88dk toolchain. The version that can be
67
+ obtained from the official release is not powerful enough to include
68
+ external files in the disk image that is created for that target.
69
+
70
+ You can find out the empowered version looking for a fork of that project,
71
+ or as a module inside ugBASIC. You should recompile it on a specific branch
72
+ (''ugbasic'' branch, precisely). On ugBASIC website and on the UGBASIC-IDE
73
+ there is a precompiled version from that version, that can be directly
74
+ used.
61
75
62
76
@italian
63
77
Il comando ''BEGIN STORAGE'' consente di iniziare a descrivere
@@ -71,20 +85,55 @@ nome del file del programma e verrà aggiunto un numero
71
85
incrementato aggiuntivo, uno per ciascun supporto di
72
86
memorizzazione.
73
87
74
- @syntax BEGIN STORAGE [name] [AS filename]
75
- @syntax STORAGE [name] [AS filename]
88
+ Nota che per alcuni target è necessaria una toolchain speciale per
89
+ gestire questa parola chiave. In particolare, per il target ''cpc'' devi
90
+ installare e usare la versione corretta dell'applicazione ''z88dk-appmake''.
91
+ A partire dalla versione 1.15.3 di ugBASIC, ovvero, poiché
92
+ ''BEGIN STORAGE'' è stato implementato per ''cpc'', si deve usare una
93
+ versione patchata della toolchain z88dk. La versione che può essere
94
+ ottenuta dalla release ufficiale non è abbastanza potente da includere
95
+ file esterni nell'immagine disco creata per quel target.
96
+
97
+ E' possibile trovare la versione migliorata cercando un fork di quel progetto,
98
+ o come modulo all'interno di ugBASIC. Dovresti ricompilarla su un ramo specifico
99
+ (ramo ''ugbasic'', per essere precisi). Sul sito web di ugBASIC e in UGBASIC-IDE
100
+ c'è una versione precompilata di quella versione, che può essere
101
+ utilizzata direttamente.
102
+
103
+ @syntax BEGIN STORAGE name [AS filename] ... END STORAGE
104
+ @syntax STORAGE name [AS filename] ... END STORAGE
76
105
77
106
@example BEGIN STORAGE "dischetto"
78
107
@example ...
79
108
@example ENDSTORAGE
80
109
81
110
@usedInExample storage_example_01.bas
82
111
83
- @alias STORAGE
84
- @seeAlso ENDSTORAGE
112
+ @alias STORAGE...END STORAGE
85
113
86
114
@target atari c128 c64 c64reu coco coco3 cpc msx1 vic20
87
115
</usermanual> */
116
+ /* <usermanual>
117
+ @keyword STORAGE...END STORAGE
118
+
119
+ @english
120
+
121
+ @italian
122
+
123
+ @syntax STORAGE name [AS filename] .. END STORAGE
124
+ @syntax STORAGE name [AS filename] .. END STORAGE
125
+
126
+ @example BEGIN STORAGE "dischetto"
127
+ @example ...
128
+ @example ENDSTORAGE
129
+
130
+ @usedInExample storage_example_01.bas
131
+
132
+ @alias BEGIN STORAGE...END STORAGE
133
+
134
+ @target atari c128 c64 c64reu coco coco3 cpc msx1 vic20
135
+ </usermanual> */
136
+
88
137
void begin_storage ( Environment * _environment , char * _name , char * _file_name ) {
89
138
90
139
if ( _environment -> currentStorage ) {
0 commit comments