-
Help pls !
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.
-
-
I think the best thing to do is use hyperterminal, all the txt data captured in hyperterm are already formated to text file, if it doesnt conform to the format it gets dumped. perhaps it's one of the reason why you can't get it to work.
-
Try http://www.beyondlogic.org/ this site it provides a lot of data about programming ports and the theory behind it.