Refresh reviewed MCP output export, four-drive owned playtests, bounded BASIC readiness, and pinned CMOC 0.1.101 source/patches. Preserve independent source-edition identity, empty libraries, notices and privacy boundaries. Validated 74 export/privacy checks, pinned dependency sources, and an independent unsigned universal Release build. A subsequent documentation-only correction removes an excluded qualification link; all build inputs remain identical.
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
--- a/src/writecocofile.cpp
|
|
+++ b/src/writecocofile.cpp
|
|
@@ -1,3 +1,7 @@
|
|
+/* VCC Plus: explicit forward allocation, November 16, 2026.
|
|
+ GPL-3.0-or-later.
|
|
+*/
|
|
+
|
|
/* writecocofile.cpp - A tool to write native files to a CoCo DECB disk image.
|
|
Copyright (C) 2003-2026 Pierre Sarrazin <http://sarrazip.com/>
|
|
|
|
@@ -897,6 +901,7 @@
|
|
"--kill|-k Kill the designated file.\n"
|
|
"--read|-r Read instead of writing. Refuses to overwrite existing native file.\n"
|
|
"--stdout|-s Like --read, but print file contents on standard out.\n"
|
|
+ "--allocate-forward Allocate from granule zero (the default).\n"
|
|
"--allocate-after-dir When adding a file, allocate granules after the directory track,\n"
|
|
" then continue allocating below that track if needed.\n"
|
|
"--allocate-before-dir When adding a file, allocate granules before the directory track,\n"
|
|
@@ -1401,6 +1406,11 @@
|
|
granuleAllocator.reset(new BackwardGranuleAllocator());
|
|
continue;
|
|
}
|
|
+ if (curopt == "--allocate-forward")
|
|
+ {
|
|
+ granuleAllocator.reset(new ForwardGranuleAllocator());
|
|
+ continue;
|
|
+ }
|
|
if (curopt == "--allocate-after-dir")
|
|
{
|
|
granuleAllocator.reset(new PostDirTrackGranuleAllocator());
|