DSAVE X, expr1
DSAVE X, expr1, expr2
DSAVE X, expr1, expr2, expr3
Supported by: Quest Super BASIC 5.0 and 6.0
The command is analagous to PSAVE except that the memory save now begins at the end of program (start of data) and ends at the end of data. This provides the capability to save any program generated data (strings, arrays, or subscripted variables). Note, that it does NOT save the standarad 26 variables. This is so that between successive DLOAD's, a certain amount of data may remain in common.
Storage media is defined by X. X can be either a C, S or F with the definitions for each as follows:
C -- cassette
S -- stringy floppy
F -- floppy disc
The S and F options require the associated hardware and software packages. Quest Super BASIC 5.0 and 6.0 contain the cassette routines necessary to interface with any cassette recorder. These routines use the Q line and EF3 as the serial data lines.
The option expr1, expr2, and expr3 are defined as follows:
expr1 - physical file # (1,2,3..N) defaults - 1
expr2 - drive # (0,1,2,3) defaults - 0
expr3* - option # (1,4) defaults - 4
Motor control exists via port 3. Expr2 defines the data sent to port 3. Bit 0 controls the read motor while bit 1 controls the write motor.
* This expression does not apply to cassette use.