Re: [cc65] ca65 small suggestion (actually two)

From: <>
Date: 2008-02-19 23:23:26
On 2008-02-19, at 22:16, Ullrich von Bassewitz wrote:

>>> Yes, that may be useful and probably easy to add.
>> Would be really nice to have it!
> Done. Should be in the next snapshot.

Wow! That was quick. Thanks a lot!

>> I see. As I wrote - it is not something very important but I found it
>> when I included some files and got surprised that such "obvious"
>> things like CHROUT didn't work.
> Just out of curiosity, I've had a look into the books I know I've  
> used a lot
> in my old Commodore times and when writing the first versions of the  
> platform
> libraries. It seems that the list in kernal.s is more or less a  
> direct copy of
> the table on page 10 of "C16, C116 und Plus/4 ROM-Listing" by  
> Christian Quirin
> Spitzner. While it is not a C64 book, it is a "Commodore Sachbuch" by
> Markt&Technik and bears the Commodore logo. I do also have a set of  
> copies out
> of a another book that uses the same names.
> I don't think is does make much sense to rename the labels. They are  
> used in
> many of the basic CBM files, so renaming would be needed for *all* CBM
> platforms - which will probably be confusing.

Yes... especially that it seems that the newer machines got new  
routine names and this would generate the same confusion for them as  
it is now for (some of) the C64 programmers... hm but (out of  
curiosity) do the other archs use e.g. kernal definitions from the c64  
subdirectory? Does this make sense to do a search'n replace within the  
limits of the appropriate architecture subdir? Would this break  
something outside of this particular subdir?

> If you need other labels, just
> add a module "mykernal.s" doing
>        .import BSOUT
>        .export CHROUT := BSOUT
>        ...
> and link it to your application.

Well, I know that I can do this. I can also even faster just define it  
(I remember better that the jump entry is at $FFD2 than the other  
symbolic names).

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 19 23:23:40 2008

This archive was generated by hypermail 2.1.8 : 2008-02-19 23:23:42 CET