From: Maxim S. Shatskih on
Looking at disassembly of READ_PORT_UCHAR does the same :-)

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"Alberto" <moreira(a)terarecon.com> wrote in message news:bfc1f718-d7fd-421a-8f09-d5f783561821(a)y10g2000prg.googlegroups.com...
Doing the machine code directly eliminates one level of
uncertainty. :-)

Alberto.


On Sep 3, 2:32 pm, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >__asm
> >{
> > mov dx,yourportaddress
> > in al,dx;
> > }
>
> Same as READ_PORT_UCHAR
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

From: Alberto on
I know. But this is a personal trait of mine, I do not like to
disassemble other people's code. I very seldom do it, except when I
have to plant a hook, and even then, I look at it as an amorphous
instruction sequence and I don't pay much attention to its semantics
beyond what I need to actually plant the hook. In fact, I do not like
to use any code if I do not have full control over its source!

Alberto.


On Sep 9, 4:17 am, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
>     Looking at disassembly of READ_PORT_UCHAR does the same :-)
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com
>
> "Alberto" <more...(a)terarecon.com> wrote in messagenews:bfc1f718-d7fd-421a-8f09-d5f783561821(a)y10g2000prg.googlegroups.com...
>
> Doing the machine code directly eliminates one level of
> uncertainty. :-)
>
> Alberto.
>
> On Sep 3, 2:32 pm, "Maxim S. Shatskih"
>
>
>
> <ma...(a)storagecraft.com.no.spam> wrote:
> > >__asm
> > >{
> > > mov dx,yourportaddress
> > > in al,dx;
> > > }
>
> > Same as READ_PORT_UCHAR
>
> > --
> > Maxim S. Shatskih
> > Windows DDK MVP
> > ma...(a)storagecraft.comhttp://www.storagecraft.com- Hide quoted text -
>
> - Show quoted text -