mirror of
https://github.com/siemens-mobile-hacks/dc166-patch.git
synced 2026-11-25 19:37:24 +00:00
1.7 KiB
1.7 KiB
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, IEEE add/subtract/multiply/divide, integer conversions andfloat/doublewidth conversions, including signed zero, subnormal values, round-to-nearest-even, infinities and NaNs, and fixed volatile FP loads, stores and compound assignments in every memory model; - added
c166libraries for Tiny, Medium, Large and Huge; - added patched
rt166libraries for Small, 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; - fixed O3 Small/Tiny rejection of function pointers to
memcpyandmemset.
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{t,m,l,h}.lib
lib/{ext,ext2}/rt166{s,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