flat assembler
Message board for the users of flat assembler.

Index > Windows > ..

Author
Thread Post new topic Reply to topic
pool



Joined: 08 Jan 2007
Posts: 97
Location: Philippines
pool
..


Last edited by pool on 17 Mar 2013, 11:44; edited 1 time in total
Post 08 Apr 2008, 06:44
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
if you mean direct port I/O, then no, you don't do this in windows.
Post 08 Apr 2008, 08:23
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
There are a few drivers and bit of code around this board for directly accessing I/O. My favourite is UserPort which I have posted here before, search for it on here, or you can also google for it.

Of course, these things are all use at your own risk, since Windows and direct port I/O are not really the most compatible things to play with.

Edit: I found my original post:

http://board.flatassembler.net/topic.php?p=17732#17732
Post 08 Apr 2008, 08:37
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2903
Location: [RSP+8*5]
bitRAKE
vid wrote:
if you mean direct port I/O, then no, you don't do this in windows.
Of course, you mean it isn't done from Usermode (ring3).

Lots of info and source code for various versions of Windows:
http://www.lvr.com/parport.htm

_________________
¯\(°_o)/¯ unlicense.org
Post 08 Apr 2008, 09:32
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
bitRAKE wrote:
Of course, you mean it isn't done from Usermode (ring3).
That is why I liked UserPort, it has two main features features: 1) allows direct access from ring3 without OS overhead and 2) can be set on a process-by-process basis and/or global allow/restrict by individual port numbers. It has an okay UI also.
Post 08 Apr 2008, 11:45
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
what's the point of doing port I/O from ring3 ?
Post 08 Apr 2008, 12:28
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
vid wrote:
what's the point of doing port I/O from ring3 ?
I use it with my JTAG programmer (on the parallel port), without the OS overhead it is 10+ times faster.
Post 08 Apr 2008, 13:08
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.