Skip to content

Release 0.18.0 + automated FreeDOS QEMU smoke - #2

Merged
evvaletov merged 2 commits into
mainfrom
chore/v0.18.0
Jun 13, 2026
Merged

Release 0.18.0 + automated FreeDOS QEMU smoke#2
evvaletov merged 2 commits into
mainfrom
chore/v0.18.0

Conversation

@evvaletov

Copy link
Copy Markdown
Owner

Cuts the 0.18.0 release and adds an automated headless FreeDOS smoke.

0.18.0

Bumps GW_VERSION and updates the banners, CHANGES.TXT, and the development history table. The release rolls up work merged since 0.17.0:

  • Cross-language linking: link compiled BASIC objects into a C/Fortran project (--emit-obj/--main-name, Level 1) and call C functions from BASIC via the '$EXTERN pragma (Level 2, Compiler: $EXTERN pragma for calling C functions from BASIC (Level 2 FFI) #1).
  • Codegen: parenthesized string-comparison fix.
  • Performance flags --no-gc-check and --fast-math.
  • Larger 32-bit/Linux static caps (1024 vars, 256 arrays, ...); 16-bit DOS keeps the original caps.
  • Process-local DATE$/TIME$ assignment.

Automated FreeDOS QEMU smoke

tests/run_freedos_qemu_auto.sh is a fully-automated counterpart to the manual run_freedos_qemu.sh: it overlays the FreeDOS image (never mutating the original), stages the interpreter and a SYSTEM-terminated smoke on C:, injects the run plus poweroff into the image's startup batch, boots headless, and diffs OUT.TXT against the golden file. Verified locally (PASS, ~22s, clean APM poweroff). It is local-dev only (needs qemu, a FreeDOS qcow2, mtools, nbd, and passwordless sudo), so it is not a GitHub-CI job; CI keeps using the DOSBox-X path. It complements that path by exercising the binary on a real FreeDOS install rather than DOSBox-X emulation.

Both DOS smoke paths (DOSBox-X and this QEMU one) pass against the freshly-built 16-bit interpreter.

Fully-automated counterpart to the manual run_freedos_qemu.sh: overlays the
FreeDOS image (no mutation), stages the interpreter and a SYSTEM-terminated
smoke on C:, injects the run plus poweroff into the image's startup batch,
boots headless, and diffs OUT.TXT against the golden file. Local-dev only
(needs qemu, a FreeDOS qcow2, mtools, nbd, and passwordless sudo); CI keeps
using the DOSBox-X path. Exercises the binary on a real FreeDOS install
rather than DOSBox-X emulation.
Cross-language linking (link BASIC into C/Fortran, call C from BASIC via
'$EXTERN), the v0.18 codegen/perf batch (paren string-comparison fix,
--no-gc-check/--fast-math, larger 32-bit caps, process-local DATE$/TIME$),
and the automated FreeDOS QEMU smoke. Bumps GW_VERSION and updates the
banners, CHANGES.TXT, and the development history table.
@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@evvaletov, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 27 minutes and 25 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 953f41bf-7c46-4096-8e2a-4434dfd4339e

📥 Commits

Reviewing files that changed from the base of the PR and between 89fe0fb and 4b45bb0.

📒 Files selected for processing (6)
  • CHANGES.TXT
  • README.md
  • docs/development.md
  • docs/getting-started.md
  • include/gwbasic.h
  • tests/run_freedos_qemu_auto.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/v0.18.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@evvaletov
evvaletov merged commit cabd93c into main Jun 13, 2026
3 checks passed
@evvaletov
evvaletov deleted the chore/v0.18.0 branch June 13, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant