From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id KAA19181 for caml-redistribution; Thu, 27 Jun 1996 10:00:44 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.6.10/8.6.6) with ESMTP id AAA12115 for ; Thu, 27 Jun 1996 00:10:20 +0200 Received: from muenster.westfalen.de (root@muenster.westfalen.de [193.174.5.2]) by concorde.inria.fr (8.7.1/8.7.1) with SMTP id AAA27531 for ; Thu, 27 Jun 1996 00:10:16 +0200 (MET DST) Received: by muenster.westfalen.de (/\oo/\ Smail3.1.29.1 #29.3) id ; Wed, 26 Jun 96 23:49 MET DST Received: by ms3.maus.westfalen.de via UUCP; Wed, 26 Jun 96 07:35:00 +0200 for caml-list@pauillac.inria.fr From: Georg_Bauer@ms3.maus.westfalen.de (Georg Bauer) To: caml-list@pauillac.inria.fr Subject: IO on serial port with Caml Light Message-ID: <199606260735.a9678@ms3.maus.de> References: <199606251540.RAA10197@cania.ens-lyon.fr> Date: Wed, 26 Jun 96 07:35:00 +0200 Organization: MAUS MS3 - Die dritte in Muenster X-Software: Erwinsgate gb0.9o (c) es@do2.maus.ruhr.de, gb@ms3.maus.westfalen.de MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis 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