Re: [cc65] Support for runtime / libs with self-modifying-code?

From: Oliver Schmidt <>
Date: 2010-01-26 10:51:58
Hi Christian,

> Some time ago I discussed with Uz the use of self-modifying-code (SMC) in
> library
> functions, which is today prohibited, since the code cc65 produces must be
> 'ROMable'.

> Any comments?

The cc65 C library in fact contains both in the shared part (i.e.
runtime/callirq.s) and in several target specific parts (i.e.
apple2/mcbdefault.s) SMC. I added some myself and didn't have any
issues. Therefore I'm having a hard time understanding your concern.

Best, Oliver
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 26 10:52:07 2010

This archive was generated by hypermail 2.1.8 : 2010-01-26 10:52:09 CET