mirror of
https://github.com/siemens-mobile-hacks/dc166-patch.git
synced 2026-11-25 19:37:24 +00:00
Patches for Tasking C166 8.6r1
| installer | ||
| runtime | ||
| src | ||
| tests | ||
| tools | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Makefile | ||
| README.md | ||
dc166
Patches and runtime libraries for TASKING C166/ST10 v8.6r1 Build 753.
Changes:
- removed compiler, linker and debugger demo restrictions;
- enabled
float/doublecode generation, including conditional expressions, fixed their Classic ABI and fixed IEEEfloat/doublewidth conversions, including signed zero, subnormal values, round-to-nearest-even, infinities and NaNs, and fixed indexedfloatloads in Huge model; - added
c166andrt166libraries for Tiny, Medium, Large and Huge; - added patched
fp166libraries 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 ofATOMICwindows, 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