From mint-bounce@lists.fishpool.fi  Tue Oct 11 00:25:10 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] ioctl.h
From: Mark Duckworth <mduckworth@atari-source.com>
To: Evan Langlois <Evan@CoolRunningConcepts.com>
Cc: Mint List <mint@fishpool.com>
In-Reply-To: <1128977142.12010.23.camel@taro.coolrunningconcepts.com>
References: <001778d5.01c15c7e17a8@smtp.freeola.net>
	 <1128977142.12010.23.camel@taro.coolrunningconcepts.com>
Content-Type: text/plain
Date: Mon, 10 Oct 2005 18:18:29 -0400
Message-Id: <1128982709.11492.10.camel@mduckworth.phillypark.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 (2.2.3-2.1.fc4.nr) 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mduckworth@atari-source.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 

On Mon, 2005-10-10 at 15:45 -0500, Evan Langlois wrote:

> TIOCMGET retrieves the status of serial port signals, and TIOCMSET will
> set them, such as DTR and RTS.  MiNT has the first (but only a hack -
> may not work on anything but the first serial port) as part of
> Ssystem(), but not the second at all.
> 
> > Is there much I can do about this ?
> 
> I don't think so.  I don't believe mint supports these itself.  You'd
> likely have to replace the call with something Atari specific. The
> situation looks grim as far as getting instant access to the state of
> the serial control signals.  Just hacking the source to your app as a
> work-around and faking whatever its trying to do signal-wise may be
> easier.  Supporting this properly looks like it would require changing
> the drivers to actually query the hardware registers for the
> information, adding an OS calls to get it, adding a mintlib function to
> call the OS, etc.

You can just plugin HSModem calls into the source.  It'll require some
mild hacking though.

Thanks,
Mark


