Skip to content

SDK v14.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Feb 04:43
· 111 commits to main since this release

Breaking changes

  • 8a21f34 - Swtich to ISO mode for Commander X16
    • The spirit and letter of the C standard state that the effects of
      printing printable characters in the execution character set (ASCII)
      should produce the corresponding character on the display. Since the
      Commander X16 has full ASCII support, we need to switch to ISO mode if a
      character could ever be output to the screen. This is similar to the
      shifted PETSCII switch now done for other Commodore family targets.
  • 7714ed4 - Translate \b to CURSOR LEFT on Commodore
    • Backspace is specified to move the cursor to the previous position on
      the current line, and that's precisely what CURSOR LEFT performs.
  • 8f468fc - Rename __char_conv to __from_ascii.
  • 90c3977 - Split getchar into __getchar and __to_ascii.
  • getchar is now a library function, and the target-specific hooks are __getchar to get a target character, and __to_ascii to convert a sequence of target characters into an ASCII character.
  • 90c3977 - Correct target to ASCII mappings for getchar
    • atari8, commodore, and cx16 now have analogous mappings for getchar and putchar.
  • 069e059 - errno values now follow Linux.

New features

  • All remaining <stdio.h> functions have been implemented. They only support the files stdin, stdout and stderr, and there's presently no way to redirect them or open other files. This implementation I'm calling the "trivial" <stdio.h>; we'll also have a "full" implementation that gets linked in if a file might possibly be opened or redirected.
    • The scanf doesn't yet support floating point numbers.

Bug fixes

  • #314 - Fix realloc returning memory regions that overlap with previous allocations