From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: OS specific support in ADA
Date: 1996/07/01
Date: 1996-07-01T00:00:00+00:00 [thread overview]
Message-ID: <DtvB8C.4I@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 31D5A7CF.6547@world2u.com
Rich Maggio (maggior@world2u.com) wrote:
: For example, can you call a DOS interrupt directly from an ADA program?
Yes, through binding to the djgpp runtime library. See VGAPCK in EZ2LOAD for
examples.
: Also, is it possible to do ISR's in DOS using the GNAT compiler?
Theoretically you can, but given the nature of interrupt handling in a
virtual memory enviroment you cannot reliably do so in practice. Note that
this has nothing to do with GNAT, the same goes for C/C++. Reliable interrupt
handling in DJGPP can only be done in assembler, since that is the only way
to lock all memory (code, data, stack,...) used by the interrupt handler in
a safe way.
--
-----------------------------------------------------------------------
-- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl --
-- Banking Consultant -- Member Team-Ada --
-- Ordina Finance BV -- Located at Haarlem, The Netherlands --
next prev parent reply other threads:[~1996-07-01 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-29 0:00 OS specific support in ADA Rich Maggio
1996-06-29 0:00 ` Robert Dewar
1996-07-01 0:00 ` Jerry van Dijk [this message]
1996-07-03 0:00 ` Scott H. James
1996-07-04 0:00 ` Jerry van Dijk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox