xms
- Posted by Jean Hendrickx <jean.hendrickx at EURONET.BE> Sep 01, 1997
- 703 views
Concerning the demo of Jacques Deschenes around 14 Aug 97. Hello Jacques, I try your code for getting information about available memory. Here are the results on my pc and below those from Dos mem cmd. ----- Whith Freexms.ex (so named) : . 00h Largest available free block = 136019968 bytes 04h Maximum unlocked pages allocation = 33208 pages 08h Maximum locked pages allocation = 3253 pages 0Ch total virtual memory = 136560640 10h Total number of unlocked pages = 3259 14h Number of free pages = 3154 18h Total number of physical pages= 3274 ( 13410304 bytes) 1Ch free linear address space = 33220 pages 20h size of paging file = 0 pages ----- DOS MEM /C command : Memory Summary: . Type of Memory Total = Used + Free ---------------- ---------- ---------- ---------- Conventional 655 360 55 632 599 728 Upper 158 640 143 216 15 424 Reserved 393 216 393 216 0 Extended (XMS) 15 570 000 2 542 672 13 027 328 ---------------- ---------- ---------- ---------- Total memory 16 777 216 3 134 736 13 642 480 . Total under 1 MB 814 000 198 848 615 152 . Largest executable program size 585K (598 992 bytes) Largest free upper memory block 14K (14 656 bytes) MS-DOS is resident in the high memory area. ----- Freexms seems to display a digit to much since I have only 13 Mb of XMS ? have I overlooked something ? Regards, -- Jean Hendrickx. j.hendrickx at euronet.be