Page 1 of 1

PRINT FRE(0)-(FRE(0)<0)*65536

Posted: 26/02/2012 - 12:55
by Commie_User
Just thought I'd share that. And I've nowhere else to put it.

Interesting to know how much RAM is left over.




http://www.leftiness.org/Record.htm

Re: PRINT FRE(0)-(FRE(0)<0)*65536

Posted: 26/02/2012 - 14:14
by AndyUK
just reset it, it's written on the screen!! :blush:

or :

10 DEF FN FR(X)=FRE(0)-65536*(FRE(0)<0)
20 PRINT FN FR(0);"BYTES FREE"

Re: PRINT FRE(0)-(FRE(0)<0)*65536

Posted: 26/02/2012 - 14:23
by Commie_User
AndyUK wrote:just reset it, it's written on the screen!!


I don't like to abuse my paper clips!

You know, we ought to have listings and things, especially as they can be pasted into Vice nowadays and saved.

I'd have one or two requests I'm sure, for example replicating sound effects in BASIC if I can't sample them for some reason.