comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: interrupt handling and COM port
Date: 1998/11/05
Date: 1998-11-05T00:00:00+00:00	[thread overview]
Message-ID: <F1yzBA.28@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 36405C45.81D74935@cs.kuleuven.ac.be

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




  reply	other threads:[~1998-11-05  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-04  0:00 interrupt handling and COM port Kris Hermans
1998-11-05  0:00 ` Jerry van Dijk [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-11-04  0:00 Kris Hermans
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox