Skip to content

compiler-toolchain compatibility pass (permissive stubs, batch/features, Wine/native dispatch)#4

Open
xor2003 wants to merge 24 commits into
pts:masterfrom
xor2003:master
Open

compiler-toolchain compatibility pass (permissive stubs, batch/features, Wine/native dispatch)#4
xor2003 wants to merge 24 commits into
pts:masterfrom
xor2003:master

Conversation

@xor2003

@xor2003 xor2003 commented May 22, 2026

Copy link
Copy Markdown

High-level changes

  1. Compatibility and stability
  • Reduced hard aborts in permissive mode; unsupported paths now return graceful errors where possible.
  • Improved LINK/BC5/TASM-related behavior.
  • Added explicit DPMI diagnostic messaging for BC5/32RTM flows.
  • Fixed path bounds/argument handling issues and related crashers.
  1. Batch/runtime behavior
  • Expanded batch command support for typical DOS compiler scripts.
  • Improved case fallback and cd/path behavior in batch/toolchain scenarios.
  • Improved environment passthrough for child DOS tool execution.
  1. CLI and docs
  • Added structured CLI options + toolchain presets/defaults.
  • Updated README with clearer quick-start, defaults, and examples.
  • Updated Makefile/test integration accordingly.
  1. Host executable dispatch
  • Added native dispatch for Linux executables.
  • Added Wine delegation for Windows executables (PE/NE/LE/LX detection).

Why
Goal is to run legacy DOS compiler toolchains with fewer fatal exits and clearer diagnostics, while keeping kvikdos fast and minimal.

Validation summary

  • Regression runs on target compilers/tooling (MSC/MASM/Borland/others in local tool directories).
  • Added/updated automated tests (make test) and docs for reproducible verification.
  • Static/runtime checks executed (cppcheck/clang analyzer/sanitizer/valgrind workflow documented).

xor2003 added 24 commits May 21, 2026 18:13
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