mirror of
https://gitlab.com/c3d/db48x.git
synced 2024-09-29 05:36:58 +02:00
76150c6289
When the argument describing the variable is a text, interpret that as a file path on the disk. By default, data is stored in in a directory named `data`, which will be created if necessary. For example, you can use `3 "foo.48s" STO` to store the value `3` in a file named `data/foo.48s` on disk. How the file is stored depends on the extension given to the file: * For `.txt` files, the object is stored as text * For `.48s` files, the object is stored as DB48X source code * For `.48b` files, the object is stored in binary format * For `.csv` files, the object is stored in comma-separated format. The binary format used for `.48b` includes a 4-byte magic number identifying a DB48X format, and a 4-byte checksum used to ensure binary compatibility between the firmware and the disk format. At least during early days of development (prior to 1.0), it is quite unlikely that the binary format for one version of the firmware would be readable or writable by another version. If you need to recover data from another version, you need to install that version and save the object again in `.48s` (text) format. Fixes: #375 Signed-off-by: Christophe de Dinechin <christophe@dinechin.org> |
||
---|---|---|
.. | ||
db48x.pro | ||
dmcp.cpp | ||
dmcp.h | ||
dmcp_fonts.c | ||
ff_ifc.h | ||
gcc111libbid-Darwin-arm64.a | ||
gcc111libbid-Linux-x86_64.a | ||
icon-dm42.png | ||
keyboard-db48x.png | ||
keyboard-dm42.png | ||
lft_ifc.h | ||
sim-main.cpp | ||
sim-rpl.cpp | ||
sim-rpl.h | ||
sim-screen.cpp | ||
sim-screen.h | ||
sim-window.cpp | ||
sim-window.h | ||
sim-window.ui | ||
sim.qrc |