comp.lang.ada
 help / color / mirror / Atom feed
From: "John R. Strohm" <strohm@airmail.net>
Subject: Re: Serial port programming.
Date: Thu, 23 Jan 2003 18:25:11 -0600
Date: 2003-01-23T18:25:11-06:00	[thread overview]
Message-ID: <606966E1E07495B3.45967669A8229479.C308C960B6F49662@lp.airnews.net> (raw)
In-Reply-To: 3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com

There are two parts to your problem.

1) Physically accessing the port.
  1a) Writing to the chip
  1b) Reading from the chip
  1c) Connecting up an interrupt handler

2) What you do with it once you can access it.

Part 1 will vary from toolset to toolset, but the Object Ada vendor should
have example code.

Part 2 has been the subject of literally HUNDREDS of books over the last 20
years.  The books generally address the details in C or 80x86 assembly
language.  Conversion of most of this to Ada will be straightforward, once
you have Part 1 in place.

"Goochie" <nigel_gooch@lineone.net> wrote in message
news:3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com...
> Hi,
>
> I'm totally new to programming in Ada and I need some help with writing
code
> so I can access the serial port. Initiallt I have to try and do this using
> Object Ada on an Intel based PC.
>
> Can anyone give me any pointer to example code or documentation?
>
> Thanks
>
> Goochie
>
>





  reply	other threads:[~2003-01-24  0:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 22:47 Serial port programming Goochie
2003-01-24  0:25 ` John R. Strohm [this message]
2003-01-24  3:38 ` Steve
2003-01-28 19:54   ` Goochie
2003-01-24 15:18 ` Jerry Petrey
2003-01-26 18:16 ` William J. Thomsa
2003-01-28 18:04 ` Goochie
  -- strict thread matches above, loose matches on Subject: below --
2001-05-30 16:13 serial " EtienneB
2001-05-30 17:17 ` David C. Hoos, Sr.
2001-05-30 17:40   ` EtienneB
2001-05-30 20:12     ` Ted Dennison
2001-05-31  3:15       ` Randy Brukardt
2001-05-30 20:24     ` Stephen Leake
2001-06-01  2:36       ` DuckE
replies disabled

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