HI men, I need help with reading parallel port. I tried
byte result;
asm {
MOV dx,0x379
IN al, dx
MOV result,al
}
but i wont work. I want to wait for something ot the port and when it comes to catch it and store it in variable. I know that it can be make with inportb(), but I haven't with Borland C++ Builder 6.0 and can't find it ... Help ! The code could be in c/c++ or asm for windows.