base:tools_for_putting_files_into_a_.d64_image
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
base:tools_for_putting_files_into_a_.d64_image [2015-04-17 04:34] – external edit 127.0.0.1 | base:tools_for_putting_files_into_a_.d64_image [2023-03-05 11:14] – claus | ||
---|---|---|---|
Line 49: | Line 49: | ||
====== cc1541 ====== | ====== cc1541 ====== | ||
- | c1541 works fine for most purposes, but some of the better coders around says it is buggy, and thus there is also [[http://noname.c64.org/ | + | c1541 works fine for most purposes, but some of the better coders around says it is buggy, and thus there is also [[https://csdb.dk/ |
+ | |||
+ | ====== mkd64 ====== | ||
+ | |||
+ | Another flexible alternative is [[http:// | ||
< | < | ||
- | Usage: cc1541 -niSsfw image.d64 | + | mkd64 1.4b help |
- | -n diskname | + | mkd64 supports four types of options. Single options trigger some immediate |
- | -i id Disk ID, default=' | + | action, see below. Global options affect the whole disk image generation, |
- | -S value Default sector interleave, default=10 | + | module options are passed just to the last loaded module and file options |
- | -s value Next file sector interleave, after each file | + | control single files written to the image. |
- | the interleave value falls back to the default value set by -S | + | Global and module options must come before file options on the command line. |
- | -f filename | + | |
- | -w localname | + | Modules can provide their own global and file options, check their help |
- | local name is used. After file written filename is unset | + | messages (-h MODULE) for reference. |
- | -x Don't split files over track 18 hole (default split files) | + | |
- | -t Use track 18 to also store files (makes | + | SINGLE options (must be the only option to mkd64): |
- | -4 Use tracks 35-40 with SPEED DOS formatting | + | -h [MODULE] |
- | -5 Use tracks 35-40 with DOLPHIN DOS formatting | + | the module {MODULE}, and exit. |
+ | | ||
+ | info for that module is shown instead. | ||
+ | -C OPTFILE | ||
+ | line. The file has the same format as the normal command | ||
+ | line and the following rules: | ||
+ | - Strings containing whitespace are escaped using quotes | ||
+ | or doublequotes (' | ||
+ | | ||
+ | - Newlines are just normal whitspace and thus ignored | ||
+ | -M | ||
+ | |||
+ | GLOBAL options: | ||
+ | -m MODULE | ||
+ | | ||
+ | mkd64, or in the dedicated module directory (typically | ||
+ | / | ||
+ | following | ||
+ | as long as there is no other -m option or a -g option to | ||
+ | get back to global scope or a -f option to switch to file | ||
+ | scope. | ||
+ | -o D64FILE | ||
+ | be given to actually write something. | ||
+ | -M MAPFILE | ||
+ | map file format is one line per file on disk: | ||
+ | | ||
+ | -P [MAXPASSES] Allow up to {MAXPASSES} passes, automatically applying | ||
+ | | ||
+ | if this option is not given or up to 5 passes if it is | ||
+ | given without an argument. | ||
+ | |||
+ | MODULE options: | ||
+ | -g | ||
+ | | ||
+ | (-h MODULE) for options available with specific modules. | ||
+ | |||
+ | FILE options: | ||
+ | | ||
+ | can be omitted for special emtpy files. | ||
+ | -t TRACK Set fixed start track for current | ||
+ | -s SECTOR | ||
+ | -i INTERLEAVE | ||
+ | -w Write current | ||
+ | |||
+ | Note that filesystem elements (like the original cbmdos directory and BAM) | ||
+ | are implemented by modules. They can provide a sensible default value for | ||
+ | sector interleave. A default allocation strategy | ||
+ | start track and sector automatically if not given, modules can install their | ||
+ | own strategy. | ||
+ | </ | ||
+ | < | ||
+ | mkd64 1.4b help | ||
+ | |||
+ | * Module `cbmdos': | ||
+ | |||
+ | cbmdos implements | ||
+ | Interleave | ||
+ | following options are recognized: | ||
+ | |||
+ | | ||
+ | -i DISKID | ||
+ | this can be up to 5 characters long, in this case it will | ||
+ | overwrite the default `DOS type' | ||
+ | -R DIRBLOCKS | ||
+ | value is 18, which is exactly the whole track #18. | ||
+ | -I INTERLV | ||
+ | for directory interleave is 3. | ||
+ | | ||
+ | The default | ||
+ | write protection, the original floppy will refuse any write | ||
+ | attempts if this value is changed. | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | * File options: | ||
+ | |||
+ | | ||
+ | {FILENAME} is given, it is used for the cbmdos directory. | ||
+ | -T FILETYPE | ||
+ | DEL), defaults to PRG. | ||
+ | -P Make the file write-protected. | ||
+ | -S BLOCKSIZE | ||
+ | </ | ||
+ | |||
+ | Example usage from an own project: | ||
+ | < | ||
+ | mkd64 -odisks/ | ||
+ | -mcbmdos -d' | ||
+ | -mseparators \ | ||
+ | -fdemo_bootloader | ||
+ | -fdemo_kickstart | ||
+ | -fdemo_amigados | ||
+ | -fdemo_music | ||
+ | -f -n' | ||
+ | -f -n' | ||
+ | -f | ||
</ | </ | ||
+ | For Linux/ | ||
+ | //[Section added by Felix Palmen (Zirias)]// | ||
- | ====== | + | ====== |
In the [[http:// | In the [[http:// |
base/tools_for_putting_files_into_a_.d64_image.txt · Last modified: 2024-03-15 19:52 by ftc