Files
gw-basic-2026/CHANGES.TXT
Eremey Valetov cabd93caea Release 0.18.0 + automated FreeDOS QEMU smoke (#2)
* tests: automated headless FreeDOS QEMU smoke

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.

* Release 0.18.0

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.

---------

Co-authored-by: Eremey Valetov <evvaletov@users.noreply.github.com>
2026-06-13 15:37:45 +03:00

89 lines
2.9 KiB
Plaintext

GW-BASIC 2026 -- Change History
================================
v0.18.0
- Cross-language linking: link compiled BASIC objects into a C/Fortran
project (--emit-obj, --main-name), and call C functions from BASIC via
the '$EXTERN NAME(ARGS) AS TYPE pragma (Levels 1 and 2)
- Codegen fix: parenthesized string comparison
- Performance flags: --no-gc-check (skip per-line GC/Ctrl-Break check),
--fast-math (skip division-by-zero guard)
- Larger 32-bit/Linux static caps (1024 vars, 256 arrays, 64 FOR, 128
GOSUB, 64 WHILE); 16-bit real-mode DOS keeps the original caps
- DATE$/TIME$ assignment shifts a process-local clock offset
v0.17.0
- Compiler memory safety: --warn (static analysis), --safe (checked
integer arithmetic, enhanced array/GOSUB diagnostics), --safe=sanitize
- 16-bit real-mode DOS target (Makefile.dos16): 128KB standalone MZ
executable, no DOS extender required, far-heap TUI screen buffer
- 32-bit DOS/4GW target (Makefile.dos): 175KB LE executable
- Tested on FreeDOS 1.4
v0.16.0
- AOT compiler: 69/69 tests pass (100%)
- CHAIN/COMMON/RUN "file" via runtime delegation
- Token embedding, string comparison, division-by-zero detection
- Compiler optimizations: constant folding, dead code elimination,
FOR step=1 elision, fast-path expressions, selective variable sync
- Cross-compile to DOS with OpenWatcom (24/24 files)
v0.15.0
- Hardware I/O simulator (8253 PIT, PPI speaker, CGA, game port)
- 100% token coverage (all 144 GW-BASIC tokens)
- String space pool with compacting garbage collector
- Jupyter notebook kernel (Sixel graphics, INPUT, Pygments)
v0.14.0
- MBF binary file compatibility (IEEE<->MBF at save/load boundary)
- Fix binary loader null-byte truncation
- DRAW M/S/A bug fixes, TA/=var;/X substring support
v0.13.0
- VIEW/WINDOW/PALETTE graphics, PMAP function
- MBF float format for CVS/CVD/MKS$/MKD$
v0.12.0
- BSAVE/BLOAD, TUI ANSI 16-color rendering
- CGA graphics framebuffer PEEK/POKE, keyboard shift flags
v0.11.0
- DEF SEG / PEEK / POKE virtual memory
- GET/PUT graphics sprites, PRINT USING fixes
v0.10.0
- Binary tokenized SAVE/LOAD, INKEY$ extended keys
- Golden-file regression tests, classic BASIC programs
v0.9.0
- EDIT statement, ON TIMER/ON KEY event trapping
- F-key escape parser fixes
v0.8.0
- Dynamic TUI screen buffer, --full flag
- LPRINT/LLIST with --lpt
v0.7.0
- AUTO, RENUM (with GOTO/GOSUB patching), DELETE, COMMON
v0.6.0
- DATE$/TIME$/TIMER, FILES, SHELL, CHDIR, MKDIR, RMDIR
v0.5.0
- Full-screen TUI editor, KEY statement, Ctrl+Break
- Sixel graphics, SOUND/BEEP/PLAY
v0.4.0
- CHAIN, RUN "file", random-access I/O (FIELD/PUT/GET)
- CVI/CVS/CVD/MKI$/MKS$/MKD$
v0.3.0
- File I/O, PRINT USING, SAVE/LOAD, MID$ assignment
- Graphics stubs
v0.2.0
- Variables, arrays, program storage, control flow
v0.1.0
- Expression calculator with direct mode