Page 1 of 1

C Compiler for Commodore 64/128

Posted: Sun Feb 20, 2011 10:38 am
by BenjaminLumen
Is there a C Compiler for the Commodore 64/128??
If there is then you can probably find a moderator for the Commodore 8 bit programming forum from that.

Re: C Compiler for Commodore 64/128

Posted: Sun Nov 27, 2011 9:45 am
by ccureau
I know the original post wasn't really asking for the information...but since it may benefit other coders out there I'll answer:

cc65 8-bit compiler suite -- http://www.cc65.org/

While the code seems most complete for the Commodore series of computers, the compiler also targets Apple II, Atari, and other 8-bit computers. It is based on the Small C compiler and has evolved into a very powerful toolchain.

Re: C Compiler for Commodore 64/128

Posted: Sat Aug 11, 2012 8:20 am
by hollyus
Did anyone tried the cc65 compiler? Did it work?
Don't want to kill my machineā€¦ :-/ ;)

Regards,
Holly

Re: C Compiler for Commodore 64/128

Posted: Fri Aug 24, 2012 7:56 am
by elnab85
maybe cc65 stil work since update new release

Re: C Compiler for Commodore 64/128

Posted: Thu Nov 20, 2014 5:13 am
by Aamir
This is very nice post thanks!

Re: C Compiler for Commodore 64/128

Posted: Fri Jul 31, 2015 10:29 am
by hippo
I have been trying to use the Power C compiler in the Vice emulator. However, there are some problems. Is anybody else doing this? For one thing it is difficult to make the "{" character on my laptop. I have to push simultaneously the shift, +, and 8 keys and then you get some + and * characters but finally the {. Also I can't seem to make bit manipulations. Like: if(y & 0x40).

Re: C Compiler for Commodore 64/128

Posted: Sun Aug 02, 2015 1:31 pm
by LoneWolf33
Hi,

For me Shift and "-" (minus) and Shift and "+" keys (the two adjacent keys to the backspace key) are bringing up the opening and closing braces in the editor:
(without any additional keypresses, I've tried it on a notebook and a PC keyboard as well)

Re: C Compiler for Commodore 64/128

Posted: Thu Feb 11, 2016 2:55 am
by vpnsubmit
Also I can't seem to make bit manipulations.

Re: C Compiler for Commodore 64/128

Posted: Mon Jun 12, 2017 5:15 pm
by BenjaminLumen
CC65 conform's to what type of C ? K&R????

I know Unix V, 'vi and cc' all Logical Operators are double.. An 'AND' '&" is actually '*&&' ... Is CC65 the same, it's been 5 years from my original post and I still don't know...

Let me see if I can find a CC65 Book...

Funny, Internet slowed to a fraction's of a byte a second over a 5 year long conversation on Commodore.CA..

let's see

http://www.cc65.org/doc/

although CC65 originated from an Atari 8-bit platform, so perhaps the Atari Documentation will help??

PRO LINE SOFTWARE C POWER V2.4 BY BRIAN HILCHIE

Posted: Tue Feb 26, 2019 10:10 pm
by HarmlessHal
SIDE 1: C LANGUAGE EDITOR/COMPILER PACKAGE
SIDE 2: C LANGUAGE FUNCTION LIBRARIES

FOR: COMMODORE 64 WITH 1541 OR MSD DISK DRIVE

COPYRIGHT (C) 1985 BY PRO-LINE SOFTWARE LTD
755 THE QUEENSWAY EAST, UNIT 8, MISSISSAUGA, ONT, CANADA L47 4C5

Re: C Compiler for Commodore 64/128

Posted: Wed May 15, 2019 2:30 am
by Tanvisane
Great information here. I learnt lots of new information here. Thank you!