i m interested in learning concepts in programs, which control the machines\peripherals attached to a pc. can anyone give me a simple code with a clean explanation.
Can any one help me by providing a c\c++ code for accessing ports?
Some interesting sites which can guide you are:
http://www.learn-c.com/
http://electrosofts.com/parallel/index.h...
http://www.doc.ic.ac.uk/~ih/doc/par/doc/...
Moreover, read advanced C books.
There's a software also, which will make your learning interesting:
http://www.zealsoftstudio.com/ntport/
Reply:In the older C libraries for Intel processors, there are functions named outp and inp that sent a byte to, and received a byte from a given port respectively. In the new processors the in and out instructions are privileged so the operating systems won't let you call them with jumping through the security hoops.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment