Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Georg_Bauer@ms3.maus.westfalen.de (Georg Bauer)
To: caml-list@pauillac.inria.fr
Subject: IO on serial port with Caml Light
Date: Wed, 26 Jun 96 07:35:00 +0200	[thread overview]
Message-ID: <199606260735.a9678@ms3.maus.de> (raw)
In-Reply-To: <199606251540.RAA10197@cania.ens-lyon.fr>


Hi!

JCF>I would like to read and write on the serial port of a PC (under
DOS) 
JCF>with Caml Light. Is it possible ? (I can interface C code to
achieve
JCF>it, but there may be an easier solution).

Since the PC serial programming interface has nothing like handshaking
or controlling, you have to call C-code to get good results, I fear.
Actually the easiest way is to install a "fossil" driver - that
corrects most of the defizits in the PC serial architecture, and then
use some little user primitives to access the serial interface through
this driver (it uses the same int as the bios).

bye, Georg





      reply	other threads:[~1996-06-27  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-25 15:40 Jean-Christophe Filliatre
1996-06-26  5:35 ` Georg Bauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199606260735.a9678@ms3.maus.de \
    --to=georg_bauer@ms3.maus.westfalen.de \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox