mark@intek01.UUCP (Mark McWiggins) (07/13/89)
I tried RTFMing and don't see a handy "tell me how much memory is left" for MS 5.1 (large model). Does anybody know where I can get one of these? Thanks in advance. Mark McWiggins Integration Technologies, Inc. (Intek) 1400 112th Ave. SE #202 Bellevue WA 98004 (206) 455-9935 uunet!intek01!mark
ajw@donk.UUCP (ajw) (07/15/89)
In article <215@intek01.UUCP>, mark@intek01.UUCP (Mark McWiggins) writes: > I tried RTFMing and don't see a handy "tell me how much memory is left" > for MS 5.1 (large model). Does anybody know where I can get one of these? unsigned paragraphs; int maxavail; _dos_allocmem((unsigned)65000, ¶graphs); /* ask DOS what he's got */ maxavail = paragraphs / 64; /* max contiguous K available */ > Thanks in advance. Welcome. -- Alan Waldock, just offering individual opinions while happening to work at Intel Corp, M/S HF2-37, 5200 NE Elam Young Pkwy, Hillsboro, Oregon 97124-6497 ajw@aus.hf.intel.com ...uunet!littlei!intelhf!aus!ajw "Live malloc or die"