Kernel Mode Driver Tut for MASM32 programmers
The subject is self-explanatory. Only a couple of words.
1. If you understand russian you better read all five articles in original language here wasm.ru.
2. Don't laugh when you will read it ;) ,since my english is far from perfection.
And i would be very happy if someone once will correct it. Thanks and mail me first, please.
3. The tuts are in RTF format. Consider it as pre-release. When i'll finish with translation i'll publish all in HTM and CHM.
The subject is self-explanatory. Only a couple of words.
1. If you understand russian you better read all five articles in original language here wasm.ru.
2. Don't laugh when you will read it ;) ,since my english is far from perfection.
And i would be very happy if someone once will correct it. Thanks and mail me first, please.
3. The tuts are in RTF format. Consider it as pre-release. When i'll finish with translation i'll publish all in HTM and CHM.
Keep gettin this error...
HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.
HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.
:confused: No problem with access for me. Anyway, now don't have time to fix it. Take it from attach.
And KmdKit itself can be found here: Kernel Mode Driver Development Kit for MASM32 programmers
And KmdKit itself can be found here: Kernel Mode Driver Development Kit for MASM32 programmers
Oops... Forgot to attach.
I found out your webpage works if you right-click... save target as
I think the tuts and the package is super!!
great work four-f!!!!
great work four-f!!!!
the home work, but the tut link not :(
btw, i'll take time to read it, but now i'm busy for some reason :grin:
btw, i'll take time to read it, but now i'm busy for some reason :grin:
For all who tries to do only left click: Please, be more attentive.
All info on page is zipped! -> right click -> "Save Object As..."
All info on page is zipped! -> right click -> "Save Object As..."
thanks Four-F for the tuts :grin:
about link, i think that's wierd, even lots of link are zip and i dont have to use right click/save target as :confused: , why dont place it on freewebs instead, i think brinkster had problem maybe :tongue:
about link, i think that's wierd, even lots of link are zip and i dont have to use right click/save target as :confused: , why dont place it on freewebs instead, i think brinkster had problem maybe :tongue:
I've just uploaded last fifth article of "Kernel Mode Driver Tut for MASM32 programmers".
You can download all the stuff from this link: http://www.freewebs.com/four-f/index.htm
But, please remember, this free hosting has annoying limitation:
To download you have to do right click -> "Save Target As..." Sorry.
If you understand russian you'd better to read it in original language (a bit more detailed).
Can be found on wasm.ru. "???????? ?????? ???? Windows..."
You can download all the stuff from this link: http://www.freewebs.com/four-f/index.htm
But, please remember, this free hosting has annoying limitation:
To download you have to do right click -> "Save Target As..." Sorry.
If you understand russian you'd better to read it in original language (a bit more detailed).
Can be found on wasm.ru. "???????? ?????? ???? Windows..."
I just downloaded all five and will study them. I was looking into another methode of direct I/O using call gates. Are you familiar with this technique?
I have this book, but haven't read it ;-) And i took a look at callgate souce code.
Can't see anything ununderstandable. But answering your question, I never did exactly the same. But in DateTime example is demonstrated another officially undocumented but well known way to let the user direct I/O port access.
I/O access under NT is frequently discussed theme. You can find many different methods to do such thing.
I have touched this theme in tut only because it's rather simple for beginners in the world of kernel.
Can't see anything ununderstandable. But answering your question, I never did exactly the same. But in DateTime example is demonstrated another officially undocumented but well known way to let the user direct I/O port access.
I/O access under NT is frequently discussed theme. You can find many different methods to do such thing.
I have touched this theme in tut only because it's rather simple for beginners in the world of kernel.
I looked through documentation and files of that call gate method and they still have a kernel mode driver .SYS file and a DLL. So I need to study your tutorial which by the way is excellent and very well done. Thanks again!:grin:
Thought you might like to analyze it for yourself. Interesting package but I could not get the .ASM file to assemble and the EXE file worked sometimes with Control Regs displayed at a quick blink.
OK. I'll take a look on it in a few days.
But original (from the book) exe/dll/sys works fine for me by the way.
If someone will have trouble doing right clicks on my lame page :-), all stuff can be also found here:
www.masmforum.com/website under "Tutorials"
Many thanks to hutch--.
But original (from the book) exe/dll/sys works fine for me by the way.
If someone will have trouble doing right clicks on my lame page :-), all stuff can be also found here:
www.masmforum.com/website under "Tutorials"
Many thanks to hutch--.
Four-F thanks for everything you did and shared with others :alright:
I love you man :grin:
I love you man :grin:
Where do we get this file from? I checked the board and the Inet. I found the macro file but can't find this one. Thanks
opps!
you really a "share man"
very good work!
thanks a lot!
you really a "share man"
very good work!
thanks a lot!
Thanks all for kind words.
ntstatus.inc ? Where do we get this file from?
It's a part of KmdKit \include\w2k\ntstatus.incmrgone:
...but I could not get the .ASM file to assemble...
You probably have compiled your RING0.ASM with tasm.
...but I could not get the .ASM file to assemble...
It produces OMF object file format that msvc doesn't understand.
You need COFF object file (i've attached it). Simply recompile your with masm as usual:
\masm32\bin\ml /nologo /c /coff ring0.asm
and all goes fine if it's the only problem you have.
mrgone:
...and the EXE file worked sometimes with Control Regs displayed at a quick blink...
The original files (from the book) worked fine under w2k+sp2, but i've just tried to run it under xp and it doesn't work at all.
...and the EXE file worked sometimes with Control Regs displayed at a quick blink...
Don't have time now to debug it.