Writing to hardware port

  • Thread starter Thread starter Offir Bakshitz
  • Start date Start date
O

Offir Bakshitz

Hello.

My application needs to read/write from hardware ports. This application
should operate a specifal made hardware card and will be run in Windows XP
Embedded.
Under Windows CE / DOS I used assembler:

mov dx, word ptr[addr]
in al, dx
mov [bRet],al

Under Windows XP, these are privilledged instruction.
How do I perform the task of reading/writing to a hardware port under
Windows XP?


Thanks,
Offir.
 
There is a componentised version of DriverLynx DLPortIO on www.xpefiles.com.
Google for the original package that will tell you how to use it.

HTH

Simon
 
Ok, where can I find information about writing drivers for windows XP
Embedded?

________
Offir
 
Win XP and XPe are the same.

Windows DDK from MS.
But you will need great deal of time to learn writing drivers.

Also I think that WinIO is given in source as well.

Slobodan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top