[Freedos-user] MEMA / MEM /EMM386 error

2004-03-17 Thread Bernd Blaauw
Michael, no interest in the Vmware workaround (scan for Vmware magic 
number)?

device=emm386.exe noems

mema /e -> MEM: error: EMM call 41h
mem /e  -> MEM: EMS internal error ; EMS Driver not installed in system
MS MEM.EXE is satisfatied, but cannot detect amount of XMS :(
(see attached file,
Will have to test if this is an unknown DOS call,
kernel related, or himem.exe versus himem.sys related)
perhaps that EMSXXX$ driver name thing that Michael implemented
(two different names, one wit an X in it, one with a Q)
device=emm386.exe
works OK, creating EMS, and MEM works OK, not giving error.
Bernd

PS: don't have Bart's address yet. just subscribed to kernel list, finally.

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] MEMA / MEM /EMM386 error

2004-03-17 Thread Arkady V.Belousov
Hi!

17-Мар-2004 13:41 [EMAIL PROTECTED] (Bernd Blaauw) wrote to
[EMAIL PROTECTED]:

BB> device=emm386.exe noems
BB> mema /e -> MEM: error: EMM call 41h

 This is because EMM returns no page frame. Well... May be, this
shouldn't be an error (I remember someone says that we may work with EMS
without page frame). Wait a moment, right now I try to make workaround for
this.

BB> mem /e  -> MEM: EMS internal error ; EMS Driver not installed in system

 :)

BB> MS MEM.EXE is satisfatied, but cannot detect amount of XMS :(
BB> (see attached file,

 No attaches found.




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] MEMA / MEM /EMM386 error

2004-03-17 Thread Arkady V.Belousov
Hi!

17-Мар-2004 13:41 [EMAIL PROTECTED] (Bernd Blaauw) wrote to
[EMAIL PROTECTED]:

BB> device=emm386.exe noems
BB> mema /e -> MEM: error: EMM call 41h

 Well, now MEMA supports EMS configuration without page frame.

 Well, I try with QEMM and MS-EMM: with QEMM for "frame=none" and
"noems" there is no EMS detected, with MS-EMM for "frame=none" EMS is
detected (with "noems" no EMS is detected), though, this configuration not
liked by NCACHE2 (it says about error 80h for function 47h).

 If you wish to test this my new edition, I may send it for you.




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] MEMA / MEM /EMM386 error

2004-03-18 Thread Matthias Paul
On 2004-03-17, Bernd Blaauw wrote:

> Michael, no interest in the Vmware workaround (scan for Vmware magic
> number)?
> 
> device=emm386.exe noems

Have I missed something? I'm not Michael, but anyway, could you elaborate
on what you mean by "Vmware workaround" above? Always interested to
learn about quirks or such... ;-)

Greetings,

 Matthias

-- 
; 
http://www.uni-bonn.de/~uzs180/mpdokeng.html; http://mpaul.drdos.org

"Programs are poems for computers."



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] MEMA / MEM /EMM386 error

2004-03-18 Thread Matthias Paul
On 2004-03-17, Arkady V.Belousov wrote:

>> device=3Demm386.exe noems
>> mema /e -> MEM: error: EMM call 41h
>
> This is because EMM returns no page frame. Well... May be, this
> shouldn't be an error (I remember someone says that we may work with
> EMS without page frame).

It is possible to use EMS without a 64 Kb page frame since EMS 4.0.
That's what the FRAME=NONE parameter is good for.

In EEMS and EMS 4.0, 16 Kb pages can be mapped in (almost) anywhere
you like in the first 1 Mb, so you can use EMS to backfill memory.

For example, on machines which have only 512 Kb conventional memory,
you could permanently map in EMS pages between 8000h..9FFFh in order
to gain another 128 Kb of conventional memory. You could also use
this to flip between several sets of pages tiling most of your
real-mode memory environment in order to aid faster real-mode
multitasking (DESQview and old versions of Windows used this).
Finally, if you align your data buffers to 16 Kb boundaries within
your application (or driver) you can map in a 16 Kb EMS page there.

Neither of these EMS access methods /requires/ a page frame, so if
none of your applications would make use of the page frame (most
EMS-aware software, however, does, as EMS 3.x did not provided
this facilty!), you could continue to use EMS but disable the
page frame in order to re-gain 64 Kb of addressable real-mode
memory, which you could use for other purposes, for example
place UMBs there... (On the other hand, you could (almost) just
as well lock down memory in an existing page frame and convert
it to EMS - for example the DR-DOS HIMEM.SYS driver can do this
with its /CHIPSET=EMSALL and EMSUMB parameters).

Greetings,

 Matthias

-- 
; 
http://www.uni-bonn.de/~uzs180/mpdokeng.html; http://mpaul.drdos.org

"Programs are poems for computers."



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] MEMA / MEM /EMM386 error

2004-03-19 Thread Bernd Blaauw
(Jim, webmail archive is outdating again!)

hi Matthias,

no, message was supposed to go to Michael Devore and Arkady V Belousov.
for Arkady's mail however, I accidentally copied the freedos-user 
mail-address instead of his address.

Michael Devore is helping out Tom Ehlert bigtime for the EMM386 program.

Vmware pc emulator has a requirement for excluding EF00-EFFF from 
scanned UMB space. No idea why, but I found out and it's also documented 
on their support knowledgebase.
I suggested adding code to detect Vmware into EMM386 for this (Vmware 
uses a magic number in some register)
[http://chitchat.at.infoseek.co.jp/vmware/]

however it will be up to the EMM386/HIMEM maintainer to decide, as 
Michael suggested.
I just still have mail Tom Ehlert about this.

http://chitchat.at.infoseek.co.jp/vmware/backdoor.html#top

Bernd

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user