Re: [cc65] calloc() not failing

From: Kajtár Zsolt <kajtarzsolt1googlemail.com>
Date: 2012-11-13 19:59:15
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Then all C compilers (at least the ones known to me) have this bug ;-) 
> I've never heard of a C compiler keeping an "internal shadow copy" of 
> everything changed by a program. That's what the secondary storage is 
> for.

Ok, then you're right.

As for cheap destruction I would reuse the stub area for temporary storage
which is in bss now, or for the zpsave section. The latter would require
some reorganization of code to put all throwaway code before doing the
saving of zeropage.

- -- 
						    -soci-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlCimH4ACgkQyBOVYiJltRZjVACgg2IFescjI8YbWb4cBsX4C4rC
HpIAoNEKJe70lySxxa3xaQgIR9GI23X9
=/uRs
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
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 19:59:27 2012

This archive was generated by hypermail 2.1.8 : 2012-11-13 19:59:30 CET