home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 28360 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!infopls!rassilon
  2. From: rassilon@infopls.chi.il.us (Michael Quintero)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: RE: DOS EXTENDED MEMORY P
  5. Message-ID: <gate.2X05PB1w165w@infopls.chi.il.us>
  6. Date: 27 Aug 92 03:54:48 GMT
  7. Lines: 41
  8. X-Maildoor: WaflineMail 1.00r
  9.  
  10. mjn@sbstaff2.cs.sunysb.edu (The Sixth Replicant) says:
  11. >
  12. >In article <100@slpfs1.UUCP> jct@slpfs1.UUCP (Jeff Tolmie) writes:
  13. >>
  14. >>    I have a question about DOS compatibility. Recently, I copied jpeg3386
  15. >>from a MSDOS net and tried to get it to run. It thinks I have no extended
  16. >>memory. So I opened a DOS fullscreen and typed "mem". Now, OS/2 tells me that
  17. >>I have 2Mb XMS memory and 0 Mb contiguous extended memory available. This I
  18. >>find a bit confusing. Does anyone know what the difference is? I can adjust
  19. >>the XMS value via the DOS settings, but not this "contiguous extended memory".
  20. >>
  21. >>    The only thing I can think of is perhaps this 2nd value is what OS/2
  22. >>calculates as the usable memory. Is perhaps a device driver getting in the
  23. >>way? (The memory management from DOS is a JOKE!).
  24. >
  25. >I've noticed the same thing with mem: it always reports 0K contiguous in OS/2.
  26. >However, I have a number of programs which use XMS calls directly and I can
  27. >report that the XMS 0x09 function which reports #K free and largest
  28. >contiguous blocks does report reasonable numbers, i.e. at the start of
  29. >a DOS session, both are equal to the value I set in the DOS Settings. I
  30. >can only imagine that mem is doing something un-kosher, ununusual, or
  31. >incorrect.
  32.  
  33. Nope, neither one.  I had the same problem.  JPEG386 uses DPMI memory, not
  34. XMS or EMS.  You need to increase DPMI memory to about 4 meg to make JPEG
  35. happy.  Other than that, it works fine.
  36.  
  37. XMS isn't the same as extended.  Extended is the raw, unmanaged memory
  38. available to DOS.  XMS is a standardized software-managed way of accessing
  39. this memory, so your program doesn't have to worry about stepping on any
  40. other program: It's managed by the XMS driver.
  41.  
  42. OS/2 takes all that extended memory into 386 mode, so it isn't accessible
  43. to a DOS session.  Thankfully, it WILL emulate XMS.  Very few programs
  44. use extended memory now.  (Only VDISK comes to mind.)  The practical
  45. upshot of this is that it's perfectly natural to have 0K extended available.
  46.  
  47. Mike Quintero ( rassilon@infopls.chi.il.us )
  48. ___
  49.  * MR/2 1.04 NR * No wanna work.  Wanna bang on keyboard.
  50.                                                                                                                                                                                           
  51.