[Coco] CMOC 0.1.86 is out: Support for floats via MC6839 ROM

Pierre Sarrazin sarrazip at sarrazip.com
Sun Mar 10 20:41:26 EDT 2024


Hi. I have published version 0.1.86 of CMOC, a 6809-generating
cross-compiler for a large subset of the C language.

This version:

- Adds experimental command-line option --mc6839, which allows
  single-precision floating point operations, by adding the 8k
  image of Motorola's MC6839 ROM. Those operations are then
  independent of Color Basic's floating point routines, and
  Basic does not have to be present. When using this option,
  the use of the %f placeholder in a printf() statement requires
  calling enable_printf_float() at the beginning of main().

- Adds strspn(), strcspn(), strtok(), strpbrk() and strrchr() to
  the standard CMOC library.

- Adds sbrk() and sbrkmax() for OS-9.

- Provides several minor bug fixes, improvements and optimizations.

Details on the CMOC page: http://sarrazip.com/dev/cmoc.html

-- 
Pierre Sarrazin <sarrazip @ sarrazip . com>


More information about the Coco mailing list