Page 1 of 1

Another C cross compiler with C99 support

Posted: Tue May 16, 2023 5:13 am
by polluks
Features
  • Floating point
  • Recursion
  • Multi dimensional arrays
  • Pointer to structs
  • Optional bytecode interpreter
Configs
  • vic20: Commodore VIC20, no extra memory (0x1000..0x1e00)
  • vic20+3 : Commodore VIC20, 3K RAM expansion (0x0400..0x1e00)
  • vic20+8 : Commodore VIC20, 8K RAM expansion (0x1200..0x4000)
  • vic20+16 : Commodore VIC20, 16K RAM expansion (0x1200..0x6000)
  • vic20+24 : Commodore VIC20, 24K RAM expansion (0x1200..0x8000)
https://github.com/drmortalwombat/oscar64

Re: Another C cross compiler with C99 support

Posted: Tue May 16, 2023 8:21 pm
by huffelduff
Hi there polluks,

There's a project I want to do using C, so I was thinking of using cc65 (obviously).
But because this compiler looks quite nifty I'm going to give it a spin.

Thanks for the info.

H

Re: Another C cross compiler with C99 support

Posted: Wed May 17, 2023 6:58 am
by polluks
huffelduff wrote: Tue May 16, 2023 8:21 pm But because this compiler looks quite nifty I'm going to give it a spin.
Dr. Mortal Wombat is developing the "monolithic approach" since September 2021, it deserves more attention.
By the way classic compiler suites like LLVM-MOS and vbcc have no official VIC-20 support but C64.

Re: Another C cross compiler with C99 support

Posted: Fri May 19, 2023 12:44 am
by nippur72
look cool, must give it a try!

My compiler of choice for 6502 currently is KickC, but I'm curious to compare the two.