Results 1 to 4 of 4

Thread: Help pls !

  1. #1
    Senior Member
    Join Date
    Jul 2003

    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.
    [gloworange]www.peaksoft.info [/gloworange]

  2. #2
    Join Date
    Aug 2002
    This http://www.hut.fi/Misc/Electronics/c...el_output.html might by usefull.

    Inputs at the bottom.

  3. #3
    Junior Member
    Join Date
    Oct 2003
    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.

  4. #4
    Join Date
    Feb 2002
    Try http://www.beyondlogic.org/ this site it provides a lot of data about programming ports and the theory behind it.
    [shadow]OpenGL rules the game[/shadow]http://www.AntiOnline.com/sig.php?imageid=499

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.