[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] ioctl.h



On Mon, 10 Oct 2005 18:18:29 -0400, Mark Duckworth <mduckworth@atari-source.com> wrote:
>
> 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.
>
Commenting those calls allows the program to compile but I think
I need to replace them with something.

I can't find any docs on these HSModem calls. Are they in the Mint
docs ?

Regards,

Peter