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.
 
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
 
Back
Top