C Compiler for Commodore 64/128

If you want help with your PET, VIC, 128 or Plus4 programming, this is the place for you!

Moderators: wiskow, Trazan

Post Reply
BenjaminLumen
Posts: 29
Joined: Sat Feb 19, 2011 5:12 pm
Are you a real person?: No... I am a spambot, delete my account!

C Compiler for Commodore 64/128

Post by BenjaminLumen » Sun Feb 20, 2011 10:38 am

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.

User avatar
ccureau
Posts: 4
Joined: Sun Nov 27, 2011 9:22 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by ccureau » Sun Nov 27, 2011 9:45 am

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.

hollyus
Posts: 3
Joined: Sat Aug 11, 2012 8:07 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by hollyus » Sat Aug 11, 2012 8:20 am

Did anyone tried the cc65 compiler? Did it work?
Don't want to kill my machine… :-/ ;)

Regards,
Holly
About me:
C64 fan since the beginning. Now I'm pretty fine with my Apple MB Pro. Ok, it was a little harder to buy a C64 years ago than a MBPro. Living in Switzerland, creating Webdesign in Bern. Today I play less with hardware, more with Software… ;)

User avatar
elnab85
Posts: 3
Joined: Fri Aug 24, 2012 7:44 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by elnab85 » Fri Aug 24, 2012 7:56 am

maybe cc65 stil work since update new release

User avatar
Aamir
Posts: 1
Joined: Thu Nov 20, 2014 5:11 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by Aamir » Thu Nov 20, 2014 5:13 am

This is very nice post thanks!
Johni Imtiaz..!!

hippo
Posts: 1
Joined: Fri Jul 31, 2015 10:21 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by hippo » Fri Jul 31, 2015 10:29 am

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).

User avatar
LoneWolf33
Posts: 61
Joined: Tue May 14, 2013 9:42 am
Are you a real person?: No... I am a spambot, delete my account!
Location: Budapest, Hungary

Re: C Compiler for Commodore 64/128

Post by LoneWolf33 » Sun Aug 02, 2015 1:31 pm

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)
Attachments
untitled.JPG
untitled.JPG (11.91 KiB) Viewed 7092 times

vpnsubmit
Posts: 3
Joined: Fri Aug 21, 2015 3:14 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by vpnsubmit » Thu Feb 11, 2016 2:55 am

Also I can't seem to make bit manipulations.

BenjaminLumen
Posts: 29
Joined: Sat Feb 19, 2011 5:12 pm
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by BenjaminLumen » Mon Jun 12, 2017 5:15 pm

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??

HarmlessHal
Posts: 9
Joined: Mon Dec 24, 2018 4:00 pm
Are you a real person?: No... I am a spambot, delete my account!

PRO LINE SOFTWARE C POWER V2.4 BY BRIAN HILCHIE

Post by HarmlessHal » Tue Feb 26, 2019 10:10 pm

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
Attachments
C64 C POWER (COMPRESSED).JPG
C64 C POWER (COMPRESSED).JPG (79.62 KiB) Viewed 1723 times

User avatar
Tanvisane
Posts: 1
Joined: Wed May 15, 2019 2:24 am
Are you a real person?: No... I am a spambot, delete my account!

Re: C Compiler for Commodore 64/128

Post by Tanvisane » Wed May 15, 2019 2:30 am

Great information here. I learnt lots of new information here. Thank you!

Post Reply