C Compiler for Commodore 64/128
- 
				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
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.
			
			
									
						
										
						If there is then you can probably find a moderator for the Commodore 8 bit programming forum from that.
- 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
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.
			
			
									
						
										
						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
Did anyone tried the cc65 compiler? Did it work?
Don't want to kill my machine… :-/
Regards,
Holly
			
			
									
						
							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…
			
						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…
- 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
maybe cc65 stil work since update new release
			
			
									
						
										
						- 
				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
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).
			
			
									
						
										
						- LoneWolf33
 - Posts: 92
 - 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
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)
			
							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 (11.91 KiB) Viewed 104728 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
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
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??
			
			
									
						
										
						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: 11
 - 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
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
			
							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 (79.62 KiB) Viewed 99359 times
 
 
- 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
Great information here. I learnt lots of new information here. Thank you!
			
			
									
						
										
						