Ok i saw that but i didnt think the heap was all available ram -----Original Message----- From: Marc 'BlackJack Rintsch <marc@rintsch.de> Sent: Sunday, December 27, 2009 12:53 PM To: cc65@musoftware.de Subject: Re: [cc65] Show free RAM? On Sunday 27 December 2009, Tom Watt wrote: > I've been looking for a bit here, but is there a function that > returns the total free RAM on a Commodore 64? The documentation for the `malloc()` function mentions `_heapmaxavail() and `_heapmemavail()` in the `See also` section. Ciao, Marc 'BlackJack' Rintsch -- “Adapting old programs to fit new machines usually means adapting new machines to behave like old ones.” -- Alan J. Perlis ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Dec 27 21:20:33 2009
This archive was generated by hypermail 2.1.8 : 2009-12-27 21:20:35 CET