#include void main( void ){ int i; long j; while (!kbhit()){//write bytes to the parallel port until the user hits any key on the keyboard outp(0x378, i++);//0x278 is lpt2 for(j=0; j<100000; j++);//count up to some large number to slow the thing down. }//while }//main