home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!hsdndev!binoc.bih.harvard.edu!rind
- From: rind@binoc.bih.harvard.edu (David Rind)
- Newsgroups: comp.lang.pascal
- Subject: Re: interrupts and neat things of these sorts
- Message-ID: <2309@hsdndev.UUCP>
- Date: 21 Dec 92 18:50:38 GMT
- References: <1992Dec17.225939.939453@sue.cc.uregina.ca> <u910826.724907973@bruny>
- Sender: usenet@hsdndev.UUCP
- Organization: Beth Israel Hospital, Harvard Medical School, Boston Mass., USA
- Lines: 24
-
- In article <u910826.724907973@bruny> u910826@bruny.cc.utas.edu.au
- (Louis siuoL) writes:
- >beuker@hercules.cs.uregina.ca (Craig Beuker) writes:
- >> (I want to implement an interrupt that will monitor the comm port for
- >> characters, if one is encountered, add it to w QUE(circular) for later
- >> processing.) Thanx for your help.
-
- [Description of how to hook an interrupt deleted.]
-
- This is not a simple problem. The deleted posting describes how
- to hook an interrupt (in this case the specifc interrupt would depend
- on which com port is being used) but beyond that, it is necessary
- to enable interrupts on the PIC, and initialize the serial port
- line control registers.
-
- There are numerous packages you can FTP that will show you how to
- do some of this. For a code fragment example of setting up such
- an interrupt driven buffer, you can look in Timo Salmi's FAQUOTE
- file in the TSFAQ##.ZIP. At least for version 30, there was
- an example under section 14.
-
- --
- David Rind
- rind@binoc.bih.harvard.edu
-