serial port woes

This is a discussion on serial port woes within the A Brief History of Cprogramming.com forums, part of the Community Boards category; my apologies as this is not a dos-specific programming question. however, it also is not a C, C++, C#, windoze, ...

  1. #1
    Unregistered
    Guest

    serial port woes

    my apologies as this is not a dos-specific programming question. however, it also is not a C, C++, C#, windoze, linux, or game specific programming question. so i really didnt know where to stick it.

    i am interfacing the serial port. however inportb (0x3fe); (serial port base address is 0x3f8) *always* returns 0xff. how could this be so? i mean how could it do that on two consecutive reads?

  2. #2
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711

  3. #3
    Unregistered
    Guest
    i've worked with those, and actually got all my serial port information from that website. i've come to the conclusion that my serial port is hosed or doesnt exist at that address; the program works fine on my other computer. but both win98 and bios calls do return the serial port at that address; oh well.

  4. #4
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    I love that website. It's got excellent info.

    Anyway, I'll look at your code if you want me to.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. serial port to poll on request
    By infineonintern in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 07:52 AM
  2. Can't Read From Serial Port
    By HalNineThousand in forum Linux Programming
    Replies: 14
    Last Post: 03-20-2008, 06:56 PM
  3. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 06:49 PM
  4. Serial port woes (visual C++ .NET 2003)
    By RancidWannaRiot in forum Windows Programming
    Replies: 1
    Last Post: 11-21-2005, 08:59 AM
  5. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM

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