Converting Available video memory to MB form
Blitz3D Forums/Blitz3D Programming/Converting Available video memory to MB form
| ||
Hello, I am trying to convert the value that AvailVidMem() gives me to ??MB form. How would I divide this |
| ||
and also is there a way to get the Available free ram?? |
| ||
1 MB = 1,048,576 Bytes |
| ||
This will tell you the amount of available video memory, in MB:freeVidMemMB# = AvailVidMem() / 1024.0 / 1024.0As for your other question, I wrote a userlib to report various system resources, which I posted on this site. I've bought an entire new system since and don't have the code any more. I've tried searching for it, but the search facilities on this site are absolutely abysmal. I just couldn't find it anywhere. Its in here somewhere though. :/ |
| ||
thank you |
| ||
Found it - if you still need it. http://www.blitzbasic.com/codearcs/codearcs.php?code=842 |