dc166-patch/runtime
2026-09-13 23:14:26 +03:00
..
c166l Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
fp166 Add IEEE float and double runtime support 2026-09-13 16:29:52 +03:00
manifests Fix volatile FP codegen in near models 2026-09-13 23:14:26 +03:00
rt166 Fix volatile FP codegen in near models 2026-09-13 23:14:26 +03:00
append_lib.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
audit_libc.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
audit_libc_symbols.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
build_c166l_objects.sh Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
build_lib.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
build_near_lib.sh Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
build_rt166l_startup.sh Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
pack_lib.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
patch_fp166s.pl Add IEEE float and double runtime support 2026-09-13 16:29:52 +03:00
prepare_near_lib.pl Patch TASKING C166 compiler and runtime 2026-08-26 17:05:24 +03:00
README.md Fix volatile FP codegen in near models 2026-09-13 23:14:26 +03:00
render_model_asm.pl Fix C166 floating-point ABI edge cases 2026-09-07 17:07:54 +03:00
replace_lib_member.pl Fix volatile FP codegen in near models 2026-09-13 23:14:26 +03:00

Runtime libraries

The build creates TASKING Classic c166 libraries for Tiny (t), Medium (m), Large (l) and Huge (h), plus rt166 and fp166 libraries for Small (s) through Huge, in both ext variants:

  • fp166?.lib: floating-point arithmetic, conversions, comparisons and double load/store helpers.
  • rt166?.lib: integer arithmetic, indirect-call, pointer and block-copy helpers.
  • c166?.lib: libc, startup, allocators, strings, conversions, locale/time, narrow and wide stdio, formatted I/O and CrossView FSS calls.

Tiny and Medium use native NEAR entry points. Their adapters call the original FAR helper bodies without changing the compiler ABI. Small, Large and Huge use FAR entry points. Model-specific libc modules are compiled with the matching -Mt, -Mm, -Ml or -Mh option. Tiny omits explicit far/huge-only APIs; Huge malloc may cross 16-KiB pages.

Model-independent scalar and explicitly qualified functions are imported from the original archive. The far heap uses ?C166_FHEAP; set its size with HEAPSIZE or -WlHEAPSIZE(...).

runtime/manifests records every imported, replaced and generated archive member. runtime/audit_libc.pl and runtime/audit_libc_symbols.pl enforce module classification and public-symbol parity with the original Small library.