🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1969

Interrupt serial io

#1969
From: Bill Langin[ftd]
Date: Wed, 22 Aug 1990 20:04
28 lines
1815 bytes
Hello.  I'm having a simple problem with some serial communications functions
that I'm trying to write.  First of all I'm running a 386 Northgate with 
Award Bios and writing in PowerC 2.0.0 (similar to MS C).  

I have my modem installed in port 0 and what I'm trying to do is send it AT
commands and receive responses via interrupts.  I have written the 
interrupt service routine in C using the keyword "interrupt".  

If it helps to know this I'm linking with the small memory model.

The problem I'm having is that I receive one interrupt only.  For example,
when writing ATZ to the serial port I expect a \r\nOK\r\n (I'm using verbose
responses) response which I assume generates 6 interrupts, one for each
character.  However, only one interrupt is generated.  The program does not
hang, but continues to execute normally.

Also, the second time I execute the program, no interrupts are generated.
I have to do a hard reboot and then execute the program to get the singular
interrupt.  (A soft reset and subsequent execution of the program does not
seem to generate an interrupt at the approriate time).

There is too much code to go into detail but I hope there's enough information
for someone to offer help. 

Thanks in advance.

-- Bill Langin  -> My opinions are mine only... Go figure. 
INTERNET: wtl@ulysses.att.com  UUCP {att,decvax,ucbvax}!ulysses!wtl
Technical Details
Message-ID: <13636@ulysses.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!sdd.hp.com!ucsd!ucbvax!ulysses!ulysses.att.com!wtl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!sdd.hp.com!ucsd!ucbvax!ulysses!ulysses.att.com!wtl
From: wtl@ulysses.att.com (Bill Langin[ftd])
Newsgroups: comp.os.msdos.programmer
Subject: Interrupt serial io
Keywords: interrupts,serial,communications
Message-ID: <13636@ulysses.att.com>
Date: 22 Aug 90 20:04:18 GMT
Sender: netnews@ulysses.att.com
Distribution: usa
Lines: 28