From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b8de27edbb0829d X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: interrupt handling and COM port Date: 1998/11/05 Message-ID: #1/1 X-Deja-AN: 408832609 References: <36405C45.81D74935@cs.kuleuven.ac.be> Organization: * JerryWare *, Leiden, Holland Newsgroups: comp.lang.ada Date: 1998-11-05T00:00:00+00:00 List-Id: Kris Hermans (kris.hermans@cs.kuleuven.ac.be) wrote: : I`m trying to write 2 programs that communicate through a serial line on : COM2 (2 PC`s with MS_DOS, I use GNAT310). : I believe I can set up the ports correctly, but my problem is to attach : an interrupt handler correctly. GNAT for DOS does not support interrupt handling due to the real/protected mode complexities. However, interrupt handling can be done using the underlying DJGPP library. See my homepage (http://stad.dsl.nl/~jvandyk) for an example program and interrupt package. Jerry. -- -- Jerry van Dijk | email: jdijk@acm.org -- Leiden, Holland | member Team-Ada -- Ada & Win32: http://stad.dsl.nl/~jvandyk