Skip to content

Release 5.1

Compare
Choose a tag to compare
@hth313 hth313 released this 20 Nov 04:22
· 12 commits to main since this release
  • Inline assembly is now supported. Refer to the Calypsi C compiler guide for more details.
  • Formatter variant for printf() and scanf() are now automatically selected based by the linker based on the formatter strings used in the application. There is no longer a need to specify the formatter on the linker command line, but it can still be done that way if you for some reason want to override the selection mechanism.
  • The compiler will now use hex numbers in generated assembly code and list files. Small and certain even numbers are still emitted as decimal.
  • 6502: Include board support packages for Commodore 64, MEGA65 and Commander X16.
  • MEGA65/45GS02: Add support for previously missing conditional long branch instructions, using mnemonics with an L, e.g. LBCC for a long branch on carry clear.
  • MEGA65/45GS02: The code generator now makes use of the MEGA65 math unit for integer multiply and divide.
  • 6502: Add intrinsic function __no_operation() to emit a NOP instruction.
  • 6502: Add intrinsic function __break_with(n) to emit a BRK n instruction.
  • 65816: a new simple_call function attribute enables a simpler calling convention to make it easier to write assembly functions.
  • 65816: Add intrinsic function __no_operation() to emit a NOP instruction.
  • 65816: Add intrinsic function __coprocessor_with(n) to emit a COP n instruction.
  • 65816: Add intrinsic function __break_with(n) to emit a BRK n instruction.
  • 65816: Board support for Foenix C256 U, U+ and FMX are now provided.
  • 68020 core is now supported by 68000 target.
  • 68010, 68030, 68040 and 68060 cores are supported by the assembler. but C compiler only distinguish 68000 and 68020 for code generation.
  • 68000 target provides a simple_call function attribute to enable a simpler calling convention that pushes all parameters on the stack.
  • Various code generator improvements and bug fixes.