Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #787 > unrolled thread
| Started by | DOS Guy <DOS@Guy.com> |
|---|---|
| First post | 2012-11-22 09:06 -0500 |
| Last post | 2012-12-19 12:37 +0000 |
| Articles | 11 — 10 participants |
Back to article view | Back to comp.os.msdos.programmer
How do you know if a 16-bit DOS application uses EMS? DOS Guy <DOS@Guy.com> - 2012-11-22 09:06 -0500
Re: How do you know if a 16-bit DOS application uses EMS? Jim Leonard <mobygamer@gmail.com> - 2012-11-23 15:11 -0800
Re: How do you know if a 16-bit DOS application uses EMS? Robert AH Prins <spamtrap@prino.org> - 2012-11-24 02:52 +0000
Re: How do you know if a 16-bit DOS application uses EMS? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2012-11-24 15:30 -0500
Re: How do you know if a 16-bit DOS application uses EMS? gof@somewhere.invalid (Adam Wysocki) - 2012-11-26 09:10 +0000
Re: How do you know if a 16-bit DOS application uses EMS? Jim Leonard <mobygamer@gmail.com> - 2012-11-29 12:04 -0800
Re: How do you know if a 16-bit DOS application uses EMS? Marcus Houlden <spam@nukesoft.co.uk> - 2012-11-24 04:16 +0000
Re: How do you know if a 16-bit DOS application uses EMS? Single Stage to Orbit <alex.buell@munted.eu> - 2012-11-24 18:22 +0000
[OT] Doom Ivan Shmakov <oneingray@gmail.com> - 2012-11-27 11:06 +0700
Re: How do you know if a 16-bit DOS application uses EMS? "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-24 04:07 -0500
Re: How do you know if a 16-bit DOS application uses EMS? ak621@chebucto.ns.ca (Richard Bonner) - 2012-12-19 12:37 +0000
| From | DOS Guy <DOS@Guy.com> |
|---|---|
| Date | 2012-11-22 09:06 -0500 |
| Subject | How do you know if a 16-bit DOS application uses EMS? |
| Message-ID | <50AE315B.EDCCB6C8@Guy.com> |
Microsoft has issued some updates recently (KB2724197) that prohibit the use of EMS memory for 16-bit applications in Windows XP SP3. I was wondering if there's a way to know if any given 16-bit app uses EMS. What are the distinguishing characteristics of such apps? Lots of memory use?
[toc] | [next] | [standalone]
| From | Jim Leonard <mobygamer@gmail.com> |
|---|---|
| Date | 2012-11-23 15:11 -0800 |
| Message-ID | <0b9074aa-1565-469b-be3e-dec01b00e178@q5g2000pbk.googlegroups.com> |
| In reply to | #787 |
On Nov 22, 8:03 am, DOS Guy <D...@Guy.com> wrote: > Microsoft has issued some updates recently (KB2724197) that prohibit the > use of EMS memory for 16-bit applications in Windows XP SP3. > > I was wondering if there's a way to know if any given 16-bit app uses > EMS. The only way I can think of is to disassemble it and look. A shortcut would be to search for any int 67h (EMS) calls, so searching the binary for the hexidecimal sequence "CD 67" might help. (For example, if CD 67 is definitely not found, the program definitely doesn't use EMS.)
[toc] | [prev] | [next] | [standalone]
| From | Robert AH Prins <spamtrap@prino.org> |
|---|---|
| Date | 2012-11-24 02:52 +0000 |
| Message-ID | <ahangaFd5jeU1@mid.individual.net> |
| In reply to | #788 |
On 2012-11-23 23:11, Jim Leonard wrote: > On Nov 22, 8:03 am, DOS Guy <D...@Guy.com> wrote: >> Microsoft has issued some updates recently (KB2724197) that prohibit the >> use of EMS memory for 16-bit applications in Windows XP SP3. >> >> I was wondering if there's a way to know if any given 16-bit app uses >> EMS. > > The only way I can think of is to disassemble it and look. A shortcut > would be to search for any int 67h (EMS) calls, so searching the > binary for the hexidecimal sequence "CD 67" might help. (For example, > if CD 67 is definitely not found, the program definitely doesn't use > EMS.) Unless it uses self-modifying code... Robert -- Robert AH Prins robert(a)prino(d)org
[toc] | [prev] | [next] | [standalone]
| From | Ross Ridge <rridge@csclub.uwaterloo.ca> |
|---|---|
| Date | 2012-11-24 15:30 -0500 |
| Message-ID | <k8rap4$ate$1@rumours.uwaterloo.ca> |
| In reply to | #788 |
Jim Leonard <mobygamer@gmail.com> wrote: >The only way I can think of is to disassemble it and look. A shortcut >would be to search for any int 67h (EMS) calls, so searching the >binary for the hexidecimal sequence "CD 67" might help. (For example, >if CD 67 is definitely not found, the program definitely doesn't use >EMS.) Programs that use EMS are supposed to search for the string "EMMXXXX0" before calling INT 67h, so that maybe more reliable search term. I do remember at least one application that called INT 67h without checking for that string, and crashed as result if an EMS driver hadn't been installed. As for what applications require EMS (asked elsewhere in this thread), a fair number of MS-DOS games would either not run without it or not be fully functional (eg. no sound). Ross Ridge -- l/ // Ross Ridge -- The Great HTMU [oo][oo] rridge@csclub.uwaterloo.ca -()-/()/ http://www.csclub.uwaterloo.ca/~rridge/ db //
[toc] | [prev] | [next] | [standalone]
| From | gof@somewhere.invalid (Adam Wysocki) |
|---|---|
| Date | 2012-11-26 09:10 +0000 |
| Message-ID | <gof.1353920858.20657@somewhere.invalid> |
| In reply to | #788 |
In comp.os.msdos.programmer Jim Leonard <mobygamer@gmail.com> wrote: > (For example, if CD 67 is definitely not found, the program definitely > doesn't use EMS.) It can use pushf and a far call instead. AW
[toc] | [prev] | [next] | [standalone]
| From | Jim Leonard <mobygamer@gmail.com> |
|---|---|
| Date | 2012-11-29 12:04 -0800 |
| Message-ID | <89b0e84c-f7ec-458d-8de6-5614fd3da4de@qi8g2000pbb.googlegroups.com> |
| In reply to | #795 |
On Nov 26, 3:10 am, g...@somewhere.invalid (Adam Wysocki) wrote: > In comp.os.msdos.programmer Jim Leonard <mobyga...@gmail.com> wrote: > > > (For example, if CD 67 is definitely not found, the program definitely > > doesn't use EMS.) > > It can use pushf and a far call instead. Only if it is trying to hide that it uses EMS, and I can't imagine a programmer intentionally doing that. Searching for CDh 67h will find nearly all use cases (and some false positives).
[toc] | [prev] | [next] | [standalone]
| From | Marcus Houlden <spam@nukesoft.co.uk> |
|---|---|
| Date | 2012-11-24 04:16 +0000 |
| Message-ID | <slrnkb0ihh.5lg.spam@neutron.nukesoft.co.uk> |
| In reply to | #787 |
On Thu, 22 Nov 2012 09:06:19 -0500, DOS Guy <DOS@Guy.com> wrote the following to comp.os.msdos.misc: > Microsoft has issued some updates recently (KB2724197) that prohibit the > use of EMS memory for 16-bit applications in Windows XP SP3. > > I was wondering if there's a way to know if any given 16-bit app uses > EMS. > > What are the distinguishing characteristics of such apps? Lots of > memory use? You can install DOS quite nicely on Virtual PC under XP with whatever XMS or EMS config you want: http://www.microsoft.com/windows/virtual-pc/support/virtual-pc-2007.aspx From a DOS point of view it is a completely self-contained machine and when I played with it I had to boot it from a physical floppy disk (once I found one that still works) and run FDISK to install a file system on the virtual hard disk image. DOSBox (http://www.dosbox.com/) works pretty well with some of my old games. (makes a mental note to try Doom on an HTPC connected to a 40" TV) mh. -- http://www.nukesoft.co.uk http://personal.nukesoft.co.uk From address is a blackhole. Reply-to address is valid.
[toc] | [prev] | [next] | [standalone]
| From | Single Stage to Orbit <alex.buell@munted.eu> |
|---|---|
| Date | 2012-11-24 18:22 +0000 |
| Message-ID | <1353781337.26919.5.camel@lithium.local.net> |
| In reply to | #790 |
On Sat, 2012-11-24 at 04:16 +0000, Marcus Houlden wrote: > > You can install DOS quite nicely on Virtual PC under XP with whatever > XMS or EMS config you want: > http://www.microsoft.com/windows/virtual-pc/support/virtual-pc-2007.aspx > > From a DOS point of view it is a completely self-contained machine and > when I played with it I had to boot it from a physical floppy disk > (once I found one that still works) and run FDISK to install a file > system on the virtual hard disk image. > > DOSBox (http://www.dosbox.com/) works pretty well with some of my old > games. (makes a mental note to try Doom on an HTPC connected to a 40" > TV) <waves> I've still got DOS 6.22 w/ WFWG 3.11 running on an old P166 OC to 233 :-) -- Tactical Nuclear Kittens
[toc] | [prev] | [next] | [standalone]
| From | Ivan Shmakov <oneingray@gmail.com> |
|---|---|
| Date | 2012-11-27 11:06 +0700 |
| Subject | [OT] Doom |
| Message-ID | <86r4nf4rm3.fsf_-_@gray.siamics.net> |
| In reply to | #790 |
>>>>> Marcus Houlden <spam@nukesoft.co.uk> writes: [Replacing news:*.programmer with news:alt.games.doom, news:alt.games.doom.ii in Followup-To:.] [...] > DOSBox (http://www.dosbox.com/) works pretty well with some of my old > games. (makes a mental note to try Doom on an HTPC connected to a > 40" TV) Given that the Doom engine was ported to every other system (and every other graphical resolution) out there, including ports utilizing OpenGL, etc., I doubt that running it under DOSBox is entirely reasonable. -- FSF associate member #7257
[toc] | [prev] | [next] | [standalone]
| From | "Rod Pemberton" <do_not_have@notemailnotz.cnm> |
|---|---|
| Date | 2012-11-24 04:07 -0500 |
| Message-ID | <k8q2fc$4n6$1@speranza.aioe.org> |
| In reply to | #787 |
"DOS Guy" <DOS@Guy.com> wrote in message news:50AE315B.EDCCB6C8@Guy.com... > Microsoft has issued some updates recently (KB2724197) that prohibit > the use of EMS memory for 16-bit applications in Windows XP SP3. > There is a thread on the issue here: http://www.bttr-software.de/forum/forum.php It's not all that informative, IMO. This link to EMS Magic was posted in a response by Rugxulo: http://www.emsmagic.com/ > I was wondering if there's a way to know if any given > 16-bit app uses EMS. > Do you mean uses *only* EMS? Personally, I'd be a bit surprised if you find an EMS-only application anymore. For RM MS-DOS, I haven't had an EMS provider installed for many years ... It's likely that any EMS applications that are still in use, are still in use because they can also use XMS, DPMI, or VCPI instead of EMS. Will MS-DOS warn that no EMS is available if starting an EMS-only application? Anyone know? Or, is it the application that warns if it needs EMS and can't get any? I'd think that you'd want an EMS host that can be directed to emit diagnostic messages ... or a TSR that detects EMS calls and displays messages. > What are the distinguishing characteristics of such apps? > Lots of memory use? Most likely they were written for the 286 ... I doubt that helps any. Japheth's Jemm readme says it includes his EMSSTAT. http://www.japheth.de/Jemm.html I doubt that helps much either. It can be used to tell you if EMS is available. I.e., REM out your EMS provider in config.sys or autoexec.bat. Re-boot. Use EMSSTAT to tell you that no EMS is available. Then, execute or run your application. If it truly is EMS-only, then hopefully either the application or DOS will warn that there is no EMS. Rod Pemberton
[toc] | [prev] | [next] | [standalone]
| From | ak621@chebucto.ns.ca (Richard Bonner) |
|---|---|
| Date | 2012-12-19 12:37 +0000 |
| Message-ID | <kascdr$mj9$1@Kil-nws-1.UCIS.Dal.Ca> |
| In reply to | #791 |
Rod Pemberton (do_not_have@notemailnotz.cnm) wrote:
> "DOS Guy" <DOS@Guy.com> wrote in message news:50AE315B.EDCCB6C8@Guy.com...
> > Microsoft has issued some updates recently (KB2724197) that prohibit
> > the use of EMS memory for 16-bit applications in Windows XP SP3.
> > I was wondering if there's a way to know if any given
> > 16-bit app uses EMS.
*** When you try to run it, a message will likely appear stating that
the program may not run properly. What might then happen is that it will
use the hard disc as "memory", but that typically means a slowly running
program. )-:
> Will MS-DOS warn that no EMS is available if starting an
> EMS-only application? Anyone know? Or, is it the application that
> warns if it needs EMS and can't get any?
*** Both may happen depending on the sophistication of the program. If
it's an older one, it may be set up to use lower memory and/or the hard
disc if no EMS is available.
> > What are the distinguishing characteristics of such apps?
> > Lots of memory use?
> Most likely they were written for the 286 ... I doubt that helps any.
>
> Rod Pemberton
*** Actually, many DOS apps used EMS well into the 1990s and beyond.
However, these also typically could use XMS as well. As an extreme
example, ANSIPLUS can load drivers into EMS and my version (4.06) has a
date of 2007.
--
Richard Bonner
http://www.chebucto.ca/~ak621/DOS/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.msdos.programmer
csiph-web