I have a problem with a ISA board. I use low level I/O functions for loop scanning a input port.
I have something like that:
do{
x=inp(adress);
...
}while(flag);
In this way I have a good scanning rate (1-10 usec),
but I haven't any control of my program.
If I insert in loop a function like GetUserEvent() or
ProcessUserEvent() to catch a keystroke for terminating
the loop, the scanning rate becomes very low (30-50 msec).
Is there a way to control a loop like this and have in the same
time a good scanning rate?