I/O port access broken (SEH broken)

2003-10-01 Thread Andreas Mohr
Hi all,

sounds like the recent architectural changes were a bit too much:
now I get

Unhandled exception: privileged instruction in 32-bit code (0x0040348b).
In 32-bit mode.
0x0040348b (FT255_T32.exe..text+0x248b in FT255_T32.exe): outb  %al,%dx
Wine-dbg>

with a parallel port flash tool I'm trying to use, whereas before it
used to work with both direct I/O port access and ppdev.

In other words: exception handling about I/O port access has been broken.

Andreas Mohr



Re: I/O port access broken (SEH broken)

2003-10-01 Thread Uwe Bonnes

> "Andreas" == Andreas Mohr <[EMAIL PROTECTED]> writes:

Andreas> Hi all, sounds like the recent architectural changes were a bit
Andreas> too much: now I get

Andreas> Unhandled exception: privileged instruction in 32-bit code
Andreas> (0x0040348b).  In 32-bit mode.  0x0040348b
Andreas> (FT255_T32.exe..text+0x248b in FT255_T32.exe): outb %al,%dx
Wine-dbg>

Andreas> with a parallel port flash tool I'm trying to use, whereas
Andreas> before it used to work with both direct I/O port access and
Andreas> ppdev.

Andreas> In other words: exception handling about I/O port access has
Andreas> been broken.

Another related problem:

I need inport/outport in some private VXD reimplementation too. The
reimplementation resided in my win32/device.c file. Do I need to do
LoadLibrary(winedos)
GetProc(xxx,"Inport")
in my code now?

Bye

-- 
Uwe Bonnes[EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
- Tel. 06151 162516  Fax. 06151 164321 --



Re: I/O port access broken (SEH broken)

2003-10-01 Thread Alexandre Julliard
Andreas Mohr <[EMAIL PROTECTED]> writes:

> Unhandled exception: privileged instruction in 32-bit code (0x0040348b).
> In 32-bit mode.
> 0x0040348b (FT255_T32.exe..text+0x248b in FT255_T32.exe): outb  %al,%dx
> Wine-dbg>
>
> with a parallel port flash tool I'm trying to use, whereas before it
> used to work with both direct I/O port access and ppdev.
>
> In other words: exception handling about I/O port access has been broken.

That's the way it's supposed to work under NT. You probably need to
run that app with Windows version set to NT.

-- 
Alexandre Julliard
[EMAIL PROTECTED]



Re: I/O port access broken (SEH broken)

2003-10-01 Thread Rein Klazes
On Wed, 01 Oct 2003 10:28:03 -0700, you wrote:

> Andreas Mohr <[EMAIL PROTECTED]> writes:
> 
> > Unhandled exception: privileged instruction in 32-bit code (0x0040348b).
> > In 32-bit mode.
> > 0x0040348b (FT255_T32.exe..text+0x248b in FT255_T32.exe): outb  %al,%dx
> > Wine-dbg>
> >
> > with a parallel port flash tool I'm trying to use, whereas before it
> > used to work with both direct I/O port access and ppdev.
> >
> > In other words: exception handling about I/O port access has been broken.
> 
> That's the way it's supposed to work under NT. You probably need to
> run that app with Windows version set to NT.

Logitech PageScan Color software must have the same problem then. It is
win-32 code that aceesses the parallell port, it does not run under NT,
there is no NT version of the software. It used to run with some
unrelated problems under wine.
I assume that there is a "deep" reason why win9* compatibility has been
dropped here?

Rein
-- 
Rein Klazes
[EMAIL PROTECTED]



Re: I/O port access broken (SEH broken)

2003-10-02 Thread Alexandre Julliard
Rein Klazes <[EMAIL PROTECTED]> writes:

> Logitech PageScan Color software must have the same problem then. It is
> win-32 code that aceesses the parallell port, it does not run under NT,
> there is no NT version of the software. It used to run with some
> unrelated problems under wine.
> I assume that there is a "deep" reason why win9* compatibility has been
> dropped here?

There are several reasons related to the dll separation and related
architecture changes. I expect it will be possible to put some of the
Win95 hacks back in once the final architecture is in place, but for
now my priority is on finishing the dll separation.

-- 
Alexandre Julliard
[EMAIL PROTECTED]