Edit pages in docs/wiki/. The wiki/ directory is a Git submodule with origin
https://github.com/Infer4Y/JavaVCPU.wiki.git. It carries its own commits and push.
With JDK 26 selected, run from the repository root:
powershell -ExecutionPolicy Bypass -File tools/wiki/capture.ps1This runs existing main-based guest checks for Paint, TextEdit, setup, storage,
Pong and WEB, then captures shell/desktop views through WikiScreenshots.java.
All disk images are disposable files under build/; storage.img is untouched.
The helper drives DosStorageRegression through its existing private methods,
so guest input, instruction execution and palette drawing use the same runner
as the checks. It does not paint mock application screens.
Twenty named PNGs are copied into docs/wiki/images/. Each is an exact 3x
enlargement of the 256 by 256 guest framebuffer (768 by 768). Inspect them and
update the gallery's capture date before publishing. Old Workshop browser
captures remain separately labeled; this script does not regenerate those.
Use -SkipRegressions only after those checks have just completed successfully
and produced fresh application PNGs. To run the helper alone:
.\gradlew.bat compileStorageRegression
java --class-path "$((Resolve-Path build/classes/storageRegression).Path)" tools/wiki/WikiScreenshots.javaOn macOS/Linux, run the same Gradle regression tasks using ./gradlew, then use
an absolute classpath with java --class-path ... tools/wiki/WikiScreenshots.java
and copy the named PNGs listed in capture.ps1.
git submodule update --init wiki
git -C wiki checkout master
git -C wiki pull --ff-only
python tools/wiki/sync.py
python tools/wiki/sync.py --check
git -C wiki diff --check
git -C wiki diff --statsync.py copies all source pages/assets, preserves remote-only files, converts
relative image URLs to the wiki's own raw image URLs, resolves ../../ source
links against the main repository's master branch, and removes .md from wiki
page links. --check is read-only and exits nonzero when an expected file differs.
After review:
git -C wiki add --all
git -C wiki commit -m "Update JavaVCPU, JV-DOS, JCTRL and tooling guides"
git -C wiki push origin master
git add .gitmodules wiki docs/wiki tools/wikiInclude the staged submodule pointer and documentation/tools in the main repository's next commit. Push the wiki commit before publishing a main commit that refers to it. Newly added code linked by the wiki must also be committed and pushed in the main repository for those source links to resolve online.