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

Forum Games, Funnies and other fun stuff. Post birthday wishes in the appropriate sub-forum.
Post Reply
User avatar
Commie_User
Forum God
Forum God
Posts: 1486
Joined: 14/07/2009 - 23:34
Location: England
Contact:

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

Post 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
User avatar
AndyUK
Forum Celebrity
Forum Celebrity
Posts: 286
Joined: 02/05/2011 - 2:58
Location: Canada
Contact:

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

Post 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"
User avatar
Commie_User
Forum God
Forum God
Posts: 1486
Joined: 14/07/2009 - 23:34
Location: England
Contact:

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

Post 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.
Post Reply