I would like to have a application sending out bit sequence through port 0 of PCI 6533 card, and using port 2 recieve those bits, then do a pattern matching.
I set the output bit pattern changes at the 10th iteration of my control loop, however, I got the changed bit pattern at lots of iteration later.
I want to achieve the pattern matching in the oder of milliseconds(immediately knows the bit pattern has changed). But it seems my programs structure cannot do that. Please take a look at my program and give me some advice, thank a lot.
Best Regrads,
Stee LAU