From: "Andrew Bird (Sphere Systems)" <ajb@spheresystems.co.uk>
To: b.j.smith@ieee.org
Cc: linux-msdos-owner@vger.kernel.org, linux-msdos@vger.kernel.org
Subject: Re: Crash on app startup with cpuemu=vm86(corrected)
Date: Sun, 25 Oct 2009 19:57:37 +0100 [thread overview]
Message-ID: <200910251857.38285.ajb@spheresystems.co.uk> (raw)
In-Reply-To: <1390946726-1256496427-cardhu_decombobulator_blackberry.rim.net-276119471-@bda667.bisx.prod.on.blackberry>
Hi Bryan,
Mmm I wondered about that, but thought that DPMI support meant that the
executable had to be running in protected mode. The fly in the ointment of
course in that argument is whether a TSR(btrieve) could be run in. So am I
better off to rebuild the host machine to i386 arch (32bit) and run with
_cpu_emu=off, will that give me near native speed?
Thanks,
Andrew
On Sunday 25 October 2009, Bryan J Smith wrote:
> I'm fairly certain thay when the processor is in "Long Mode"
> (48-bit flat, 52-bit PAE) that Virtual86 is not supported.
> "Long Mode" is only compatible with 32-bit flat, 36-bit PAE
> addressing, and not 20-bit.
>
> ------Original Message------
> From: Andrew Bird (Sphere Systems)
> Sender: linux-msdos-owner@vger.kernel.org
> To: linux-msdos@vger.kernel.org
> Sent: Oct 25, 2009 12:20
> Subject: Crash on app startup with cpuemu=vm86(corrected)
>
> Hi guys,
> I wonder if anyone can help me? I have a bespoke app(DPMI), which uses the
> btrieve TSR, it is misbehaving on startup. The test hardware is x86_64
> Athlon X2 , Fedora 11(64 bit install).
>
> The app is working fine with _cpu_emu=vm86sim and as far back as dosemu
> 1.2.2.
>
> I'd like to get this running with _cpu_emu=vm86 and dosemu 1.4.0 for extra
> speed. Here's the relevant log at crash time, it was generated by SVN 1988
>
> Thanks
>
>
> Andrew
>
> EMU86: directly calling int 0x10 ax=0x20e at 0xf800:0x6330
> SetSeg REAL CS:f800
> SetSeg REAL SS:2390
> SetSeg REAL DS:2390
> SetSeg REAL ES:b800
> SetSeg REAL FS:0000
> SetSeg REAL GS:0000
> INTERP: enter=000fe330
> SetSeg REAL CS:f000
> INTERP: exit=000fc010 err=13
> EMU86: retval=VM86_UNKNOWN
> Sys timers d=0
> Do INT0x10: Using caller_function()
> 3d4 { 40e
> 3d4 { 820f
> SetSeg REAL CS:1091
> SetSeg REAL SS:2390
> SetSeg REAL DS:2390
> SetSeg REAL ES:b800
> SetSeg REAL FS:0000
> SetSeg REAL GS:0000
> INTERP: enter=000109a6
> SetSeg REAL CS:0d69
> ** JMP: ignored
> SetSeg REAL CS:901f
> SetSeg REAL CS:1be6
> ** JMP: ignored
> SetSeg REAL CS:958f
> SetSeg REAL CS:10f6
> SetSeg REAL CS:958f
> leavedos(47810|0xbac2) called - shutting down
>
> killed while in vm86(), trying to dump DOS-registers:
> Program=emu.c, Line=492
> EIP: 1091:00000096 ESP: 2390:0000e9a2 VFLAGS(b): 00000 00110010 01000110
> EAX: 0104020e EBX: 00000000 ECX: 00000050 EDX: 00000e22 VFLAGS(h): 00003246
> ESI: 0000ebe4 EDI: 00000904 EBP: 0000e9a8 DS: 2390 ES: b800 FS: 0000 GS:
> 0000 FLAGS: PF ZF IF RF VM VIF IOPL: 3
> STACK: 1c 00 00 00 96 00 91 10 46 32 -> 97 32 90 23 90 23 d4 ec 5c 08
> OPS : 03 90 8a f0 33 db b4 02 cd 10 -> 9d 07 1f 5d ca 0a 00 00 00 00
> 9d 1091:0096 popf
> closing debugger pipes
> --
> 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
>
>
> --
> Bryan J Smith - mailto:b.j.smith@ieee.org
> http://www.linkedin.com/in/bjsmith
> Sent via BlackBerry from T-Mobile
>
next prev parent reply other threads:[~2009-10-25 18:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-25 18:46 Crash on app startup with cpuemu=vm86(corrected) Bryan J Smith
2009-10-25 18:57 ` Andrew Bird (Sphere Systems) [this message]
2009-10-25 19:10 ` Bryan J Smith
2009-10-25 22:20 ` Bryan J. Smith
2009-10-25 23:33 ` Andrew Bird (Sphere Systems)
2009-10-25 23:36 ` Bryan J Smith
2009-10-25 23:38 ` Bryan J Smith
2009-10-25 23:40 ` Andrew Bird (Sphere Systems)
2009-10-25 23:43 ` Bryan J Smith
2009-10-26 1:05 ` Bart Oldeman
2009-10-26 8:53 ` Andrew Bird (Sphere Systems)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910251857.38285.ajb@spheresystems.co.uk \
--to=ajb@spheresystems.co.uk \
--cc=b.j.smith@ieee.org \
--cc=linux-msdos-owner@vger.kernel.org \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox