1. finding free memory left
- Posted by Hawke <mdeland at NWINFO.NET> Sep 25, 1998
- 565 views
does anyone have a routine, that can be used *within* euphoria that will tell you, on any system (including ones that have over 16M and 64M), how much conventional, EMS and XMS memory you have remaining, at any given moment, on your system? i looked thru "the" interrupt list (browns) and it seemed like it was going to be a really bad asm hack to do this. there are apparently several interrupts that need to be called to determine free memory depending on what kind of system you have. in fact, it seemed far too overly complicated to do something that should be rather easy. and if you're wondering, i already tried the system("mem",2) route and what happens is that euphoria swaps all of itself out, including your allocated memory holding data, until it's down to like 24K of conventional memory (which is NOT a bad thing mind you... purty good in fact, could help those guys making a dosshell outta euphoria) and as such it does not give me an accurate account of how much memory is remaining in my system before euphoria will begin swapping... and besides, i think it would be a handy addition to our toolboxes to have that laying around for when we need it... surprised euphoria doesn't already have that as a builtin or an include... mebbe someone could write a library that holds all those nifty utilities... gets the information from the system, like all the info reported by chkdsk, mem, mem/c, bios strings, cmos settings, but have it all running from within euphoria, so its accurate at runtime... mebbe call it system.e. has this been done already? if so, where might i find it??? thanks in advance--Hawke'
2. Re: finding free memory left
- Posted by Robert Craig <rds at EMAIL.MSN.COM> Sep 25, 1998
- 524 views
Hawke writes: > does anyone have a routine, that can be used > *within* euphoria that will tell you, on any > system (including ones that have over 16M and > 64M), how much conventional, EMS and XMS memory > you have remaining, at any given moment, on > your system? "Check Available Memory" Jacques Deschenes - Archive page > mebbe someone could write a library that holds > all those nifty utilities... gets the information > from the system, like all the info reported by > chkdsk, mem, mem/c, bios strings, cmos settings, > but have it all running from within euphoria, > so its accurate at runtime... mebbe call it > system.e. has this been done already? if so, > where might i find it??? "The Jacques Deschenes Collection" - Archive page has CMOS settings and lots of other stuff. "Disk Utilities" - Craig GIlbert - Archive page, might be useful for disk info. Regards, Rob Craig Rapid Deployment Software http://members.aol.com/FilesEu/
3. Re: finding free memory left
- Posted by Hawke <mdeland at NWINFO.NET> Sep 25, 1998
- 547 views
Robert Craig wrote: > "Check Available Memory" Jacques Deschenes - Archive page > "The Jacques Deschenes Collection" - Archive page has CMOS > settings and lots of other stuff. > "Disk Utilities" - Craig GIlbert - Archive page, might be > useful for disk info. thankee muchly. :)