Argh, sent it with the wrong from address. So once again:

[EMAIL PROTECTED] wrote:
>> FREE=(PEEK_L(163856)-PEEK_L(163852)-1024): PRINT FREE/1024
> Bingo !!  But, does this return the free memory or total installed memory??
> I think the former...

It calculates the memory gap between common heap and the SuperBasic
area. Of course this is not necessarily the largest free block of
memory, but it's unfortunately a widely used formula, IIRC even QDOS
itself used it. Only recent SMSQ/E versions do this better.

Total memory is as said sys_ramt. Or in SuperBasic
print peek_l(163872)/1024-128

Ciao, Marcel

Reply via email to