public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Problems detecting the EMM
@ 2002-10-24  9:57 Stas Sergeev
  0 siblings, 0 replies; 5+ messages in thread
From: Stas Sergeev @ 2002-10-24  9:57 UTC (permalink / raw)
  To: linux-msdos

Hello.

Jan Kandziora wrote:
> The "comcom.com" which came with DOSEMU and all the tools based on 
> "generic.com" make my dosemu go into an endless loop or simply quit. 
> They work on a friend's computer without problems and I haven't investigated 
> in this further yet.
You are not the first who observed that so
this worth an investigations.
Please contribute to that bug report
http://sourceforge.net/tracker/index.php?func=detail&aid=605551&group_id=49784&atid=457447
if you are going to hunt this bug because
there is already some usefull info about it.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Problems detecting the EMM
@ 2002-10-23 20:20 Jan Kandziora
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Kandziora @ 2002-10-23 20:20 UTC (permalink / raw)
  To: linux-msdos

Am Mittwoch, 23. Oktober 2002 18:15 schrieb Bart Oldeman:
> On Wed, 23 Oct 2002, Jan Kandziora wrote:
> > Tracing the program's system calls with "dosemu -Da" showed me it tries
> > to detect an EMM by opening the 'files' EMMXXXX0, EMMQXXX0, $MMXXXX0,
> > QMMXXXX0, EMMXXXQ0 and QEMM386$. See the trace snippet below.
> >
> > INT21 (0) at 12bb:7ff7: AX=3d00, BX=0000, CX=ffef, DX=100a, DS=1b5d,
> > ES=f800 INT21: open file "EMMXXXX0"
>
> I solved this issue only recently in dosemu-1.1.3.3 and later. EMMXXXX0 is
> the name of the device, however previous dosemu's did not recognize it as
> a device name.
> In earlier versions you could quickly hack around the issue by adding
> EMMXXX0 to the list of reserved names ("CON", "AUX" etc) in
> src/dosext/mfs/mangle.c. The newest DOSEMU's walk the DOS device driver
> chain to find out which names correspond to devices which is a better way
> to do this IMHO.

I was using 1.0.2. However, I have tried it with MS-DOS instead of FreeDOS a
few minutes ago and "copy EMMXXXX0 con:" actually worked instead of giving an
error message "Cannot copy 'C:\CON\EMMXXXX0' to itself".
I looked at the trace output while running the accounting software and it
 also worked.

*** But, bad luck, the program now wants to use the VCPI functions :(

The program's 'tech documentation' says, it also works with XMS or DPMI, so I
will use that instead. Does the "ems.sys" have to be loaded in these cases?
If yes, I will be in trouble.

Anyway, this #/&§ß(* piece of software seems to be good for testing DOSEMU's
features ;)

Thanks

	Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Problems detecting the EMM
@ 2002-10-23 15:38 Jan Kandziora
  2002-10-23 16:15 ` Bart Oldeman
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kandziora @ 2002-10-23 15:38 UTC (permalink / raw)
  To: linux-msdos

Hi,

I have problems with an accounting software for a hotel.
It refuses to run under DOSEMU but fails reporting a missing EMM. I have 
loaded "ems.sys" within "config.sys", and xms, ems, and dpmi memory settings 
in "dosemu.conf" seem ok to me.

Tracing the program's system calls with "dosemu -Da" showed me it tries to 
detect an EMM by opening the 'files' EMMXXXX0, EMMQXXX0, $MMXXXX0, QMMXXXX0, 
EMMXXXQ0 and QEMM386$. See the trace snippet below.

INT21 (0) at 12bb:7ff7: AX=3d00, BX=0000, CX=ffef, DX=100a, DS=1b5d, ES=f800
INT21: open file "EMMXXXX0"
int 0x21, ax=0x3d00
INT2F at 003e:ac43: AX=1123, BX=0003, CX=6a99, DX=100a, DS=1b5d, ES=0139
MFS: Entering dos_fs_redirect, FN=23
MFS: selecting drive fn=23 sda_cds=0x1fbaf
MFS: FNX=EMMXXXX0
MFS: dos_fs: build_ufs_path for DOS path 'EMMXXXX0'
MFS: MFS: dos_gen: ufs '/root/dosemu/drives/d/', path 'EMMXXXX0', l=22
MFS: dos_gen: path_to_ufs 'emmxxxx0'
MFS: dos_fs: build_ufs_path result is '/root/dosemu/drives/d/emmxxxx0'
MFS: no drive selected fn=23
MFS: Finished dos_fs_redirect
int 0x2f, ax=0x1123
INT2F at 003e:6ae5: AX=1116, BX=6a99, CX=0000, DX=1000, DS=0139, ES=0139
MFS: Entering dos_fs_redirect, FN=16
MFS: selecting drive fn=16 sda_cds=0xfcb8
MFS: selected drive 3: /root/dosemu/drives/d/
MFS: (mode = 0x0000)
MFS: (sft_open_mode = 0x0000)
MFS: Open existing file D:\HOTEL2\EMMXXXX0
MFS: dos_fs: build_ufs_path for DOS path 'D:\HOTEL2\EMMXXXX0'
MFS: MFS: dos_gen: ufs '/root/dosemu/drives/d/', path '\HOTEL2\EMMXXXX0', l=22
MFS: dos_gen: path_to_ufs '/hotel2/emmxxxx0'
MFS: dos_fs: build_ufs_path result is '/root/dosemu/drives/d/hotel2/emmxxxx0'
MFS: find_file(/root/dosemu/drives/d/hotel2/emmxxxx0)
MFS: find file /root/dosemu/drives/d/hotel2/emmxxxx0
MFS: scan_dir(/root/dosemu/drives/d/hotel2,emmxxxx0)
MFS: scan_dir gave emmxxxx0 FALSE
MFS: find_file(): no match: /root/dosemu/drives/d/hotel2/emmxxxx0
MFS: find_file gave /root/dosemu/drives/d/hotel2/emmxxxx0 0
MFS: open failed: '/root/dosemu/drives/d/hotel2/emmxxxx0'
MFS: Finished dos_fs_redirect
INT21 (0) at 12bb:7ff7: AX=3d00, BX=0000, CX=ffef, DX=1013, DS=1b5d, ES=f800
INT21: open file "EMMQXXX0"
int 0x21, ax=0x3d00

etc. etc.

Discovering that I checked how the DOSEMU "ems.sys" calls himself: It would 
respond to " EMS", but not on anything of the above :(

My question now: Is it possible to change the name the "ems.sys" driver 
reports?

Any help appreciated

	Jan


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-24  9:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0210231455080.2499-100000@DHCP-94-246.math.ohio-state.edu>
2002-10-23 21:31 ` Problems detecting the EMM Jan Kandziora
2002-10-24  9:57 Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2002-10-23 20:20 Jan Kandziora
2002-10-23 15:38 Jan Kandziora
2002-10-23 16:15 ` Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox