Another C cross compiler with C99 support

You need an actual VIC.

Moderator: Moderators

Post Reply
User avatar
polluks
Vic 20 Amateur
Posts: 44
Joined: Sat Apr 29, 2017 4:53 pm
Website: http://www.bilskaja.de
Location: Germany
Occupation: FI

Another C cross compiler with C99 support

Post 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
VC20 [WGA103574] + UltiMem
User avatar
huffelduff
Vic 20 Hobbyist
Posts: 118
Joined: Sat Sep 05, 2020 9:14 am

Re: Another C cross compiler with C99 support

Post 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
User avatar
polluks
Vic 20 Amateur
Posts: 44
Joined: Sat Apr 29, 2017 4:53 pm
Website: http://www.bilskaja.de
Location: Germany
Occupation: FI

Re: Another C cross compiler with C99 support

Post 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.
VC20 [WGA103574] + UltiMem
nippur72
de Lagash
Posts: 574
Joined: Thu Sep 07, 2006 8:35 am

Re: Another C cross compiler with C99 support

Post 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.
Post Reply