Re: [cc65] Space efficiency?

Date view Thread view Subject view

From: Stephan Lesch (slesch_at_studcs.uni-sb.de)
Date: 2002-05-17 21:23:38


Hi Groepaz,

> it depends on the actual size of your program.... the larger your
> program will be, the less "overhead" (in terms of size) you will have.

I guess with "overhead" you mean the library it's linked against? That's
clear, but I was wondering how much larger the compiled C code would be
if you don't count the libraries.
Uz says a factor of 1.5 would be an efficient result, so I'll assume 
a factor between 1.5 and 2.

> you can recompile - my suggestion for that would be, use a
> musicroutine and an irq-loader that you have sources of and convert
> those to ca65 syntax....this way they will integrate into the rest of
> your project nicely.

That might be a problem, at least for the music routines. But I was hoping
I could work around that, by putting the music to $1000, and changing the 
linker config and startup code so the program starts at e.g. $2800.
Of course it's less elegant, but do you see a general problem?

Greets,
Stephan

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-05-17 21:23:39 CEST