home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_03_02
/
3n02072a
< prev
next >
Wrap
Text File
|
1991-12-19
|
468b
|
16 lines
// 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;
}