At 05:46 PM 5/10/2005 -0300, Alain  wrote:

I just assembled a new machine and I am having trouble with EMM386. First it was Ver.1.5, then I updated to 2.01 and got the same problem plus a register dump. Here is the problem:

It works without any arguments or only with Verbose.
It does not work with NOEMS

The slightly weird thing about PCs not working with EMM386's NOEMS option is that in most problem cases, it turns out the problem has nothing to do with EMS or the NOEMS option itself. What happens is that NOEMS frees up the EMS 64K page frame to upper memory, and part of that freed-up memory area conflicts with UMB usage.


To test if this is happening, boot without NOEMS and get the address of your EMS page frame. It's probably E000 or D000, although a lot of other possibilities exist. Whatever it is, exclude that 64K area and reboot with the NOEMS option. For example with E000 page frame, put X=E000-EFFF on your EMM386 line. If C800, put X=C800-D7FF. Etc. If your computer works with the original EMS page frame excluded and NOEMS present, then you are having an upper memory conflict.

Assuming you are using X=TEST option -- which I always recommend -- you'll have to manually whittle down which portion of the 64K area is in conflict by adding back in 4K at a time, e.g. X=E000-EEFF. Probably most of the area is okay, and you can reclaim a lot of that upper memory. If you aren't using X=TEST option, see if placing X=TEST in the EMM386 line will automatically exclude the problem area first.

If excluding the whole area doesn't matter, then we'll have to look at there being an error. However, since you get the problem with versions 1.15 and 2.01, it's quite likely not a bug since new code is not an issue and old code EMS problems would necessarily be obscure. I do have a couple of e-mails on 2.01 error reports I haven't read yet, but I've been taking a mini-holiday from poring over EMM386 source code and reading E. Auer dispatches. Thunderstorms tomorrow, maybe then.




------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to