Re: [cc65] calloc() not failing

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-11-13 00:37:22
Hi,

>> programs should not return to the
>> BASIC prompt and leave a ”runnable” program behind IMHO.

> How can that work? [...] Making the
> program unrunable needs code and I don't see a reason to place this penalty on
> all programs.

As far as I know cc65 programs have this BASIC "SYS xxxx" stub.
Wouldn't "removing" that be the solution? If there's some nice Kernal
routine that does what a BASIC "NEW" does then it might be as cheap as
2 bytes additional bytes (JMP $xxxx instead of RTS)...

Regards,
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 Tue Nov 13 00:38:15 2012

This archive was generated by hypermail 2.1.8 : 2012-11-13 00:38:19 CET