2021-09-14 15:51:43 +00:00
|
|
|
CREATE "filename" ; creates a new ramdisk with the filename
|
|
|
|
MKDIR "name" ; creates a new directory (in current dir)
|
2021-09-14 15:57:06 +00:00
|
|
|
CD "\path" ; sets current directory, where \ is root
|
2021-09-14 15:51:43 +00:00
|
|
|
ADD "filename" ; adds a file to current directory!
|
|
|
|
SETFLAGS 1A1B01 ; sets flags for next added files, number is in hex using this mask:
|
|
|
|
* bits description
|
|
|
|
* 0-2 file type; ignored, autocompleted at writing
|
|
|
|
* 3-5 owner permissions (rwx); w ignored (read only device)
|
|
|
|
* 6-8 group permissions (rwx); w ignored
|
|
|
|
* 9-11 other permissions (rwx); w ignored
|
|
|
|
* 12 hidden
|
|
|
|
; default mask is: B68 (no write, everyone can execute and read)
|
|
|
|
#asdf ; comment
|
|
|
|
CLOSE ; writes and closes the ramdisk. You must close before opening another one
|