Date: Fri, 24 May 1996 14:40:16 +0200 (IST) From: Eli Zaretskii To: Michael Edwin Hommel Cc: djgpp AT delorie DOT com Subject: Re: COM port access In-Reply-To: <4o2op8$ncg@trumpet.aix.calpoly.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 23 May 1996, Michael Edwin Hommel wrote: > avail. So finally I wrote basically a clone of this talk program, but in > DJGPP as opposed to the real-mode TASM used by the other guy. What it > comes down to is his works, mine doesn't. In fact, mine managed to crash > the computer so hard, it wiped out the CMOS values (don't tell the guys > who run the lab! I fixed it though- good thing there were 20 identical > computers in there). So it seems to me that the flaw in mine (after > retrying hundreds of different ways) is simply that it's in protected > mode. That's it. I am using standard inportb and outportb calls to do Be sure to read Chapter 18 of the DJGPP FAQ list (available as v2/faq200b.zip from the same place you get DJGPP). It explains some potential problems in writing interrupt handlers and other low-level programming with DJGPP.