Serial & Interrupts

This is a discussion on Serial & Interrupts within the C++ Programming forums, part of the General Programming Boards category; Hi Everyone, I have a question... Some of you may have seen my other post on the DOS board, but ...

  1. #1
    Registered User jon_nc17's Avatar
    Join Date
    May 2002
    Posts
    15

    Question Serial & Interrupts

    Hi Everyone,

    I have a question... Some of you may have seen my other post on the DOS board, but this one is more general. I am trying to make a program that works on a DOS touch screen computer. The touch screen is allegedly connected to COM3, using interrupt 15. I think I have read that normally COM3 uses interrupt 3 or 4, so is there anything special that I have to do to specifically use interrupt 15? Also, if it's not to much trouble, can anyone find an example? Anyway, thanks for your help!

    Jon Scott

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    www.beyondlogic.org

    There is some fascinating info about programming ports at: www.beyondlogic.org I dunno if it will answer your question.

    [EDIT]
    Corrected above URL. Man, that was embarrasing!
    [/EDIT]
    Last edited by DougDbug; 01-12-2003 at 12:05 AM.

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Red face Oops!

    Thanks Sebastiani.
    Sorry jon_nc17.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 02:27 AM
  2. Linux serial port interrupts
    By danga1993 in forum Linux Programming
    Replies: 1
    Last Post: 04-28-2007, 11:15 AM
  3. Please help with serial communication problem - Long
    By spdylude in forum Windows Programming
    Replies: 3
    Last Post: 04-06-2005, 09:41 AM
  4. 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
  5. Carrying out Serial I/O btw 2 comps using interrupts
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 06-06-2002, 11:28 AM

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