home *** CD-ROM | disk | FTP | other *** search
- // TESTKBD.C Program to write a byte directly to the
- // keyboard at port Hex 60.
- // Output functions are outp(<port>, <databyte>)
- // or outpw(<port>, <dataword>)
- // <port> can be any unsigned integer in the range 0-65,535
- // for outp, <databyte> can be any integer in the range 0-255
- // for outpw, <dataword> can be any value in the range 0-65,535
-
- #include <conio.h>
-
- int main()
- {
- outp(0x60, 0xE9);
- return 0;
- }
-