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