www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/01/19:01:08

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: reading/writing to COM ports
Date: Tue, 01 Sep 1998 19:34:32 -0300
Organization: NBTel Internet
Lines: 22
Message-ID: <35EC7678.28F25D26@unb.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980830183518 DOT 20257w-100000 AT is> <35E9747E DOT B7AEDED7 AT unb DOT ca> <35ea87f9 DOT 9823945 AT news DOT pcn DOT net>
NNTP-Posting-Host: fctnts13c33.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

NGO DINH Nhan wrote:
> >       I'm quite sure that won't work, because I have a 'WinModem'.  I've never been
> >able to get it to work from DOS.  It doesn't use a standard address (like
> >0x110 or something).
> I think you should look at the Ralf Brown Interrupt List if you want
> to go directly to read ports and get IRQ calls.
> And it means that you can modify the default COM1 port IO addres by
> putting in 0040h:0000h the right value. The same thing is for COM2,
> COM3 and COM4, that can be modified by putting the right value in the
> address 0040h:0002h for COM2, and just add 2 to the offset for the
> other 2 ports (DJGPP in flat mode need to have 400h, 402h, 404h,
> 406h).
	That wouldn't make any difference.  Win95 won't let any DOS program touch my
modem.  I've tried to use DOS games that use modem-multi-player modes.  And
they even let me pick the address of my modem, but they claimed there was no
modem there.  I got the address of the modem from the control panel.
-- 
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019