Re: [cc65] Disable KERNAL ROM ?

From: Ullrich von Bassewitz <>
Date: 2013-02-13 22:33:14
Sorry for kicking in so late.

On Wed, Feb 13, 2013 at 07:58:20PM +0100, Spiro Trikaliotis wrote:
> You approach would add 8 KB extra (or even 12 KB, if special care would
> be taken for $D000-$DFFF). For projects which need this extra memory,
> that would be very good. But what about projects that do not need this?

I have similar feelings as Spiro. If the c64 platform is changed, it doesn't
make sense to bank out just the kernal. Banking out I/O also is not much
worse, but has the advantage of giving linear memory.

But there are quite some disadvantages:

Almost no code written by cc65 beginners will work. What I have seen from
posts here and in the web, people start using short programs which increment
$D020 or call BSOUT via inline assembler, either because they come from BASIC
or from assembler. And none of this stuff will work any more.

In addition, programs will get larger and slower.

While I agree that having the option of a banked out kernal is an advantage
for some programs, it has no advantages for most programs and disantages for

Maybe the best approach would be a separate library as with the C16/Plus4:
They're in fact the same platform, but the C16 has the kernal in place, while
the Plus4 banks it out. But this would of course mean a separate platform
library to maintain.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Feb 13 22:33:21 2013

This archive was generated by hypermail 2.1.8 : 2013-02-13 22:33:24 CET