-
Notifications
You must be signed in to change notification settings - Fork 0
disklist.txt
disklist.txt is the file that defines what files and directories appear in the built disk. Three commands are supported:
file [file] [path]
This assembles and adds the file named [file] to the indisk path [path] or to root if there is no [path] on the line.
bin [file] [path]
This adds the file named [file] as binary to the indisk path [path] or to root if there is no [path] on the line.
dir [name] [path]
This adds a directory called [name] to the indisk path [path] or to root if there is no [path] on the line.
Before you can put a file, bin or dir in a path, you must first create the path step by step using the dir command. The [path] argument is always optional, if omitted, it will default to root.
The indisk name for files and bins is made by removing two extensions from the name. The last one is probably .dasm or .bin and is the extension your computer uses. The second extension is the one that the file receives indisk. If [file] is Init.bin.dasm, it will be assembled and then added to the disk as Init.bin, where Init is stored as the name and bin as the extension.
Normally, every line is split up in words. If there is a " or a ' on the line however, it is split up in strings, to allow for whitespace.
Example disklist.txt:
file Init.bin.dasm
dir boot
dir user
dir dummy user
dir docs user/dummy
file Test.bin.dasm user/dummy/docs
bin Another.bin.bin user/dummy/docs