Patches for Tasking C166 8.6r1
Find a file
2026-09-13 14:11:47 +03:00
installer Fix CrossView ISS execution defects 2026-09-08 21:04:21 +03:00
runtime Fix floating-point conversion and Huge loads 2026-09-13 10:48:22 +03:00
src Support floating-point conditional expressions 2026-09-13 14:11:47 +03:00
tests Support floating-point conditional expressions 2026-09-13 14:11:47 +03:00
tools Fix CrossView ISS execution defects 2026-09-08 21:04:21 +03:00
.gitignore Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
CMakeLists.txt Fix CrossView ISS execution defects 2026-09-08 21:04:21 +03:00
Makefile Fix floating-point conversion and Huge loads 2026-09-13 10:48:22 +03:00
README.md Support floating-point conditional expressions 2026-09-13 14:11:47 +03:00

dc166

Patches and runtime libraries for TASKING C166/ST10 v8.6r1 Build 753.

Changes:

  • removed compiler, linker and debugger demo restrictions;
  • enabled float/double code generation, including conditional expressions, fixed their Classic ABI and fixed IEEE float/double width conversions, including signed zero, subnormal values, round-to-nearest-even, infinities and NaNs, and fixed indexed float loads in Huge model;
  • added c166 and rt166 libraries for Tiny, Medium, Large and Huge;
  • added patched fp166 libraries for Small, Tiny, Medium, Large and Huge;
  • added C167 (ext) and Super10 (ext2) runtime variants;
  • fixed CrossView ISS handling of byte writes to SFRs, CSP reads after RETI/RETS, PEC transfers at the end of ATOMIC windows, and branches ending at a code-segment boundary.

Required original installer:

inputs/Tasking-C166-8.6r1-original.exe

Build

Requires GNU make, GNU binutils, Perl, Wine, unshield and 7z.

make
make verify
make rebuild
make clean

Generated files:

patches/final/{c166,l166,xfw166,disim166}.vkp
lib/{ext,ext2}/{c166,rt166}{t,m,l,h}.lib
lib/{ext,ext2}/fp166{s,t,m,l,h}.lib
dist/Tasking-C166-8.6r1-patched.exe

Tests

Requires Wine, Xvfb and TASKING installed in WINEPREFIX (default: ~/.wine). The input installer must also be present.

cmake -S . -B build
cmake --build build
tools/with-headless-x ctest --test-dir build --output-on-failure -j 1