Page 1 of 1

read write without winio for operating in win7 directly

Posted: Wed Nov 02, 2016 6:36 pm
by Raymond
Hi,everyone. I want to use winio to read and write the hardware for win7,since like that i can
test my driver on real machine without reset the machine.

On the net,there is a soft called winio ,but it is some problem to use on win7 64bit,so is there any other way to
use _inp and _outp function on win7 64?

Ray

Re: read write without winio for operating in win7 directly

Posted: Thu Nov 03, 2016 4:53 am
by feryno
Only via driver. If winio is not digitally signed, press F8 just at the beginning of ms win boot and select Disable Driver Signature Enforcement, or sign it with your own test signature and boot into test signing mode. There is a Capcom driver (digitally signed) which allows execution of privileged instructions (like in/out) from ring3 app (I do not suggest it). There is atsiv driver capable to load unsigned drivers.

Re: read write without winio for operating in win7 directly

Posted: Thu Nov 03, 2016 5:38 am
by Ch4ozz
There exists tools such as DSEFix if you dont want to restart your PC all the time to switch the driver test sign mode.
Be aware that it has a possibility to crash you starting on Windows 8 because Patchguard doesnt like the global dse var to be on false :D
(When you are fast enough and dont have bad luck it wont bsod you in 99% of the cases)

Re: read write without winio for operating in win7 directly

Posted: Fri Nov 04, 2016 6:06 am
by Raymond
I finally found a way which is easy to access io,that is NTPort library.

see site http://www.zealsoftstudio.com/ntport/index.html and http://www.zealsoftstudio.com/ntport/download.html