Help with LPT1 interrupt...

This is a discussion on Help with LPT1 interrupt... within the C Programming forums, part of the General Programming Boards category; Hello. I want to read data from the LPT1 port, but I dont want to read the data frequently with ...

  1. #1
    TNT
    TNT is offline
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    Help with LPT1 interrupt...

    Hello.

    I want to read data from the LPT1 port, but I dont want to read the data frequently with a loop, I want to read it only when there is a data transmission to the parallel port, by using its interrupt(in C).


    can someone help me?


    Thanx.

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Compiler? OS? Search?
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    TNT
    TNT is offline
    Registered User
    Join Date
    Jan 2005
    Posts
    2
    The program need to run on win98, the programing on dos with borland C/C++ compiler or Turbo C.

  4. #4
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer within a Struct
    By Bladactania in forum C Programming
    Replies: 11
    Last Post: 04-03-2009, 10:20 PM
  2. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 03:59 PM
  3. interrupt question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 02-08-2002, 08:25 PM
  4. interrupt handler functions in Visual C++ 6.0
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 01-07-2002, 06:06 PM
  5. Sound card interrupt problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-05-2001, 03:38 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21