You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
The author of this post has marked a post as an answer.
Go to answer
Rem Project: memory usage test
Rem Created: 20/07/2005 11:36:15
Rem ***** Main Source File *****
CREATE BITMAP 1,512,512
GET IMAGE 1, 1, 1, 512, 512, 0
DELETE BITMAP 1
save image "test.bmp", 1
DELETE IMAGE 1
set cursor 0,20
print "SYSTEM SMEM AVAILABLE = ", SYSTEM SMEM AVAILABLE()
print "next image = ", i
load image "test.bmp", i : rem add ,1 at the end for load without mipmapping
print "loaded, ", i
EXIT PROMPT "TOTAL LOADED = "+str$(i), "END OF MEMORY TEST"
Login to post a reply