* Ada+rs232
@ 2000-05-23 0:00 elta
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
2000-05-23 0:00 ` Ada+rs232 tmoran
0 siblings, 2 replies; 11+ messages in thread
From: elta @ 2000-05-23 0:00 UTC (permalink / raw)
Is there an implementation for dealing with rs232 serial port ?
and where can I find it ?
Thanks in advance for Your time and considerations.
best regards,
Walter Cedric
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 ` Ada+rs232 tmoran
@ 2000-05-23 0:00 ` elta
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
0 siblings, 1 reply; 11+ messages in thread
From: elta @ 2000-05-23 0:00 UTC (permalink / raw)
Sorry for the lack of precision
I am using Object Ada on a pc104 (486 sx 16 Mhz) with the free
TNT dos extender from Pharlap.
Regards
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Ada+rs232
2000-05-23 0:00 Ada+rs232 elta
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
@ 2000-05-23 0:00 ` tmoran
2000-05-23 0:00 ` Ada+rs232 elta
1 sibling, 1 reply; 11+ messages in thread
From: tmoran @ 2000-05-23 0:00 UTC (permalink / raw)
>Is there an implementation for dealing with rs232 serial port ?
Under what OS? On what hardware? Using OS calls? Using BIOS
calls? Using direct port IO? Using interrupts?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
@ 2000-05-23 0:00 ` elta
2000-05-24 0:00 ` Ada+rs232 Gautier
0 siblings, 1 reply; 11+ messages in thread
From: elta @ 2000-05-23 0:00 UTC (permalink / raw)
yes alright,
I am using a DOS-platteform version 3.2, it has no matter how I
would like to access com port, hardware directly or through OS
services. (the more easy is it, the best it would be)
The only parameter : it should work before next wednesday for a
robotic contest.
I am using two device(not critical) sonar ranging system and
servo control wich are using serial binding.
I must be able to read and write data on com port.
Regards,
Walter cedric
Engineer Student - France
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 Ada+rs232 elta
@ 2000-05-23 0:00 ` David C. Hoos, Sr.
2000-05-24 0:00 ` Ada+rs232 Ted Dennison
2000-05-23 0:00 ` Ada+rs232 tmoran
1 sibling, 1 reply; 11+ messages in thread
From: David C. Hoos, Sr. @ 2000-05-23 0:00 UTC (permalink / raw)
elta <c.walterNOc.SPAM@essaim.univ-mulhouse.fr.invalid> wrote in message
news:12ff8d42.976d82ff@usw-ex0102-014.remarq.com...
> Is there an implementation for dealing with rs232 serial port ?
> and where can I find it ?
This is a matter that is highly dependent on the platform, both
hardware and Operating System.
Some questions to be answered are:
1. Are you looking to manipulate the hardware directly, e.g.,
by reading and writing values from and to registers?
Some OSs will not allow user-level code to do these
operations.
2. Are you looking to access the RS-232 port through
Operating System services -- e.g., by treating the
device as a file to which one can write, and from which one
can read?
With more details of what you're trying to accomplish, an
appropriate solution can be suggested.
I have done serial port IO on a number of platforms and OSs,
all in Ada95.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 ` Ada+rs232 elta
@ 2000-05-23 0:00 ` David C. Hoos, Sr.
2000-05-23 0:00 ` Ada+rs232 elta
0 siblings, 1 reply; 11+ messages in thread
From: David C. Hoos, Sr. @ 2000-05-23 0:00 UTC (permalink / raw)
elta <c.walterNOc.SPAM@essaim.univ-mulhouse.fr.invalid> wrote in message
news:0401f4c4.2365dad9@usw-ex0101-008.remarq.com...
> Sorry for the lack of precision
>
> I am using Object Ada on a pc104 (486 sx 16 Mhz) with the free
> TNT dos extender from Pharlap.
You still didn't specify the OS. Since you're using a DOS extender,
and the various flavors of Windows have their own built-in DOS
extenders, should we assume the OS is DOS?
You also did not specify whether you want to access the hardware
directly, or through OS services.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-24 0:00 ` Ada+rs232 Gautier
@ 2000-05-24 0:00 ` elta
0 siblings, 0 replies; 11+ messages in thread
From: elta @ 2000-05-24 0:00 UTC (permalink / raw)
Good Job !
Thanks a lot ! That's exactly what I search...
Regards,
Walter Cedric
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 ` Ada+rs232 elta
@ 2000-05-24 0:00 ` Gautier
2000-05-24 0:00 ` Ada+rs232 elta
0 siblings, 1 reply; 11+ messages in thread
From: Gautier @ 2000-05-24 0:00 UTC (permalink / raw)
Hi - just came across it:
<<
DOS I/O port access
A package specification for accessing the I/O ports under DOS with implementations
for either GNAT 3.07/3.10 for DOS or ObjectAda with the TNT DOS Extender.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
http://stad.dsl.nl/~jvandyk/other_os.html#PORTS
HTH
______________________________________________________
Gautier -- http://members.xoom.com/gdemont/gsoft.htm
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
@ 2000-05-24 0:00 ` Ted Dennison
2000-05-24 0:00 ` Ada+rs232 elta
0 siblings, 1 reply; 11+ messages in thread
From: Ted Dennison @ 2000-05-24 0:00 UTC (permalink / raw)
In article <8geefc$25u$1@hobbes2.crc.com>,
"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote:
>
> elta <c.walterNOc.SPAM@essaim.univ-mulhouse.fr.invalid> wrote in
message
> news:12ff8d42.976d82ff@usw-ex0102-014.remarq.com...
> > Is there an implementation for dealing with rs232 serial port ?
> > and where can I find it ?
> This is a matter that is highly dependent on the platform, both
> hardware and Operating System.
If the answer is Windows NT, then please go to http://www.deja.com and
search through past posings in this newsgroup. This question has come up
before for NT at least twice.
--
T.E.D.
http://www.telepath.com/~dennison/Ted/TED.html
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-24 0:00 ` Ada+rs232 Ted Dennison
@ 2000-05-24 0:00 ` elta
2000-05-24 0:00 ` Ada+rs232 Gautier
0 siblings, 1 reply; 11+ messages in thread
From: elta @ 2000-05-24 0:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 507 bytes --]
The previous mail from Gauthier is good, but the implementation
found can only write a byte on serial port.
Is there any other ready to use solution using a real serial
transfer (baud rate, parity ....) under dos in ada using tnt dos
extender from pharlap on PC (with or without call to OS) ???????
regards,
Walter C�dric
Engineer student - France
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Ada+rs232
2000-05-24 0:00 ` Ada+rs232 elta
@ 2000-05-24 0:00 ` Gautier
0 siblings, 0 replies; 11+ messages in thread
From: Gautier @ 2000-05-24 0:00 UTC (permalink / raw)
elta wrote:
> The previous mail from Gauthier is good, but the implementation
> found can only write a byte on serial port.
> Is there any other ready to use solution using a real serial
> transfer (baud rate, parity ....) under dos in ada using tnt dos
> extender from pharlap on PC (with or without call to OS) ???????
Again a quick web surfing... Maybe the serial I/O is among the Win32
subset of TNT ? http://www.pds-site.com/Pharlap/faqtntrd.htm
In that case the Win32 code for serial port here could be useful
http://www.usafa.af.mil/dfcs/bios/mcc_html/ada_stuff.html
BTW the famous Ralf Brown DOS Interrupt List has a chapter about Serial I/O
http://www.ctyme.com/intr/cat-038.htm
Just "brainstorming"...
_____________________________________________
Gautier -- http://members.xoom.com/gdemont/
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-05-24 0:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-23 0:00 Ada+rs232 elta
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
2000-05-24 0:00 ` Ada+rs232 Ted Dennison
2000-05-24 0:00 ` Ada+rs232 elta
2000-05-24 0:00 ` Ada+rs232 Gautier
2000-05-23 0:00 ` Ada+rs232 tmoran
2000-05-23 0:00 ` Ada+rs232 elta
2000-05-23 0:00 ` Ada+rs232 David C. Hoos, Sr.
2000-05-23 0:00 ` Ada+rs232 elta
2000-05-24 0:00 ` Ada+rs232 Gautier
2000-05-24 0:00 ` Ada+rs232 elta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox