Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Kernel Mode Driver for NT (https://forum.exetools.com/showthread.php?t=3986)

SPeY 04-21-2004 00:00

Kernel Mode Driver for NT
 
I would like to make a small kernel mode driver (KMD),
for give me direct Port I/O access under NT based OS.
But I don't have Windows NT DDK, and I never want to pay for it. :)
So I prefer MASM32 with KmdKit, but it seems to be
my knowledge is not enough for this task, atm. :cool:
If anybody has some experience with KMD,
then plz help me. Thx in advance! ;)

peti 04-21-2004 00:26

SPeY: check giveio.c source.

SPeY 04-21-2004 00:28

thanx peti, but can you explain me what you think?

peti 04-21-2004 00:30

Google this: GiveIO by Dale Roberts

Barmaley 04-21-2004 05:45

There is no need to pay for DDK, one is free. I advise to use DriverStudio by Compuware/NuMega.

xobor 04-21-2004 14:53

for only accessing ports you can use TVicHW32 or TVicPort from

wxw.entechtaiwan.com

regards

TQN 04-21-2004 15:26

You can use the WinIO library (www.internals.com). WinIo library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP, provides fast I/O port access, good memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP. The source code is available.

ColdCoder 04-21-2004 16:23

NT4 DDK
hxxp://lad.dsc.ufcg.edu.br/download/nt4ddk.zip

98 DDK
hxxp://download.microsoft.com/download/win98SE/Install/Gold/W98/EN-US/98DDK.EXE
hxxp://www.tu-chemnitz.de/informatik/RA/educ/mop/98DDK.EXE

2K DDK
fxp://ftp.atfile.com/files/WindowsDDK/Win2k/2kddknly.exe
fxp://ftp2.atfile.com/download/WindowsDDK/Win2k/2kddknly.exe


DIRECTIO/GIVEIO
hxxp://lad.dsc.ufcg.edu.br/download/DIRECTIO.ZIP

98/NT/2K DDK was free at one time ;)

aliali 04-21-2004 19:04

Hi,

You can use PortTalk v2.0. It's free also.
Check hxxp://www.beyondlogic.org

AliAli

SPeY 04-21-2004 21:56

Thanx for all reply!
Especially to ColdCoder for the cool links. Big Thanx!

I try to reply to all of you in one session...

I don't have DriverStudio,
but as I know these tools like NuMega's one
needs DDK for complete development too.
(I was tried Jungo WinDriver suite.)

I need only direct Port I/O,
but I need to build _my own_ Kernel Mode Driver,
thats why I need Windows DDK.

EnTech doesnt release their sources for free,
so this components are useless for me.

GiveIO, WinIO and PortTalk are has very usefull sources,
but all need DDK to build the binaries.

Conclusion... atm, I'm working on my own "PortIO.sys"
based on GiveIO and coded in MASM32 using KmdKit,
Windows DDK's and the above sources
must be enough to finish my job. ;)

Thx again.

p.s.: If I success then I post the source here, maybe somebody will like it.

_kin_ 04-21-2004 23:05

You can try MinGW (hxxp://mingw.sourceforge.net/).

w32api-2.5.tar.gz package have some intersting stuff for NT driver programming (see include\ddk and lib\ntoskrnl.lib)

martind 04-22-2004 01:21

DDK
 
Which DDK do you want?
Which I/O ports do you want to access?

I have written a Kernel Mode driver for parallel port access:
http://www.pcjunkie.cwc.net

dainis 04-22-2004 15:34

h**p://www.wasm.ru/article.php?article=drvw2k01
h**p://www.wasm.ru/srclist.php?list=6

They are in russian so for people that don't understand it, I suggest to use babelfish.

For Win9X driver.
h**p://www.vijaymukhi.com/vmis/vmchap8.htm


All times are GMT +8. The time now is 10:49.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX