Re: C-compiler

From: Larry Anderson (
Date: 1998-10-25 00:11:01

Ruud Baltissen wrote:
> Hallo C-men,
> A Belgium friend of mine, Eduard Hontele, is interested in programming a so
> called "Domotica"-system with his C64. This system is meant to steer lights,
> heaters, sun-blinds and more of these things. The modules contain a 8051 and
> communicate by the main system using RS232, 300 Baud. He asked me if he should
> use BASIC, ML or C. My experience with BASIC compilers is that they make larger
> binaries then the original source.

That really depends on the BASIC source code and the compiler used...  There
are some compilers that are pretty bare bones and can make pretty clean M/L
(Loadstar has a tiny BASIC one that does integer BASIC compilation only - no
runtime, straight M/L but a limited command set.  AustroSpeed/Blitz programs
can get smaller if the source is large, but that is P-Code and not as efficient.

I've heard good things about Abacus' BASIC 64 and 128 compilers in that they
can either do pcode or straight ML, but havent used them myself.

PETSpeed is an optimising compiler, but it is very cumbersome by even 64
compiler standards and I don't think it was much better then Austrospeed/Blitz.

> So my 3 main questions are:
> 1) What size do C-compilers make?
> 2) Who can give me some advise what (Public Domain) C-compiler to use?
> 3) I'm not good in C compared to my knowledge of C64-BASIC. I don't know
> Eduards ML-knowledge and I never programmed the RS232-interface in ML so I
> would advise him to start in BASIC. Please some advise especially regarding the
> RS232-part.

You can get the 64 Programmer's Reference de from the Project 64 archive at:

which will supply you with the BASIC code necessary to connet at the proper
speed, but you mau also need to covert PETASCII<>ASCII too.

300 baud is not all too fast for even uncompiled BASIC; what sort of response
time is he looking at?

Larry Anderson - Sysop of Silicon Realms BBS (300-2400bd) (209) 754-1363
Visit my Commodore 8-Bit web page at:
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail

Archive generated by hypermail 2.1.1.