home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / MEMAVL.ZIP / MEMAVAIL.TXT < prev   
Text File  |  1992-06-08  |  1KB  |  31 lines

  1. Memavail - test for OS/2 useable memory.
  2. Author: Tom Stearns 76467,3344
  3.  
  4. Freeware, distribute as you please.  I bear no responsibility for the
  5. use of this program.
  6.  
  7. This little ditty stems from a discussion with our esteemed Sysop,
  8. Irv.  The subject was the use of memory above 16Mb as contiguous RAM
  9. as opposed to caching the memory paging system.  From this discussion 
  10. comes the current status of OS/2 as of 6/7/92 which is that only DMA
  11. accessable RAM is useable by OS/2 as contiguous RAM.  According to Irv
  12. BIOS Int 15h, subfunction 88h will report this DMA accessable RAM.
  13.  
  14. To run this program boot DOS (you must run it in native DOS, you can
  15. run it in a VDM but you'll get an non-sensical result).  According to
  16. Irv programs like VDISK cannot be loaded.  I would suspect that any
  17. DOS extender like QEMM would also cause an invalid reading.  Just to 
  18. be sure boot a vanilla DOS and run memavail.  The result is the amount
  19. of RAM above 1MB so add 1 meg to the numbers to get the total RAM.
  20.  
  21. I don't have any >16MB machines to test this on right now but from my 
  22. discussion from Irv this is the ticket.  If you show >15MB (remember 
  23. first MB) then OS/2 will use this as contiguous RAM.  If your >16MB 
  24. machine shows 15,360 blocks (15MB) then it will not.
  25.  
  26. Lastly, to quote Irv one more time, this is being looked into very
  27. seriously at IBM.
  28.  
  29. Thanks Irv.
  30.  
  31. Tom Stearns