#define extern static #include #undef extern #include #include #include "eckbox.h" #define thresh 42 // threshold of val of black/white using namespace std; int main(int argc, char** argv) { ioperm(0x378,1,1); // gives permission to use port 0x378 long long int t1, t2; int p1,p2,href,vref,pix; p1=inb(0x378); t1=rdtsc(); p2=inb(0x378); while(p2-p1