Re: [cc65] CLRCH necessary for the CBMs?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-12-10 19:29:32
Hi Uz,

>> Thus, whenever RUN is used to start a compiled program, CLRCH(N) is not
>> needed. This is true at least fo VIC-20 and C64. I expect any newer CBM
>> machine to behave the same.
>
> Ok, thanks a lot! I will then remove the calls to CLRCH from all Commodore
> targets.

I seem to remember a recent discussion about startup code vs.
"headers" in which producing a CBM file without the BASIC stub was a
potential usecase.

From that perspective it might be preferable to just comment-out the
call with a notice that it is already done by the BASIC interpreter
(thus serving as a hint to activate the call in a non-BASIC scenario).

In case I totally missed the point - just ignore ;-)

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu, 10 Dec 2009 19:29:32 +0100

This archive was generated by hypermail 2.1.8 : 2009-12-10 19:29:42 CET