Re: [hatari-devel] SCC-B support |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] SCC-B support
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Tue, 1 Jan 2019 09:40:37 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1546332040; bh=nZHMG7Pksye6fqrQf4cfWc+YdRhxUKSdZTvetGAsHBw=; h=Date:From:To:Subject:From; b=gQXNfoQQxggu37tfFIW7TMoj++2TJG2D3Pnn2dMwqGKUB9fUqX2gbVolCYduVFi0M FTlAHEvl6NPQCNeZYG9kj2B+aHa7ndVr5xhtb6LOLAS9xAHQwOUEdh8VmA2lZ+stdj 2NDXiy4HMtWyT9TzKN0nfaTlEKuGCi2jrjqckbHGpXY+LY3YMWGLmcbJzmrsZELRX9 vcqY/tRNZi65tfjVawjRGkZP9WM0WkQkpGVXDHsVTPkemQ8XWx/Pdde8qxuHvve2f+ o1J0eZp4KaYB1xkyoCPUr7rHdntPmoRtzha+JVo0Min9zkeyi8Ok91Xi9iB2Ov3EKG 5hAXRooo8ThWw==
Am Sun, 30 Dec 2018 20:43:10 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> On 12/29/18 8:50 AM, Thomas Huth wrote:
> > Am Fri, 28 Dec 2018 23:10:40 +0200
> > schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> >> I've tried the Hatari SCC-B support a bit when testing EmuTOS
> >> serial output support.
> >>
> >> Some comments:
> >> * SCC-B doesn't have separate files for input and output like
> >> normal MFP serial does (in case they're unidirectional pipes)
> >> * Unlike MFP serial, SCC serial doesn't create the output file,
> >> instead it fails if it doesn't already exist
> >
> > Well, yes, that code from Aranym was only meant to be used with
> > real /dev/ttyS* devices, not with normal files or pipes. I only
> > added some hack so far that it is possible to open normal files for
> > output, so it is usable with the "make test" regression tester,
> > too... But I agree with you, this should eventually become similar
> > to --rs232-out/in and --midi-out/in, too. I'll see what I can
> > do...
> > >> * Although SCC-B is TT / Falcon specific, it gets still
> >> initialized for other machine types
> >
> > That should be easy to fix... I pushed a patch now.
>
> Verified.
>
>
> If I've understood correctly:
> * ST / MegaST / STE: 1 MFP serial port
> * MegaSTE & TT: 1 MFP, 2x SCC serial ports
> * Falcon: 2 SCC serial ports
As far as I know, the Falcon has only one serial port. SCC-A is
hard-wired to the "LAN" connector here (while it can be switched to a
normal serial connector for the TT and Mega-STE). The code that I've
copied from Aranym does not fully support the SCC-A channel yet, so not
sure whether it makes sense to provide a "--scc-a" parameter already...
Let's focus on SCC-B for now which is way more important, since it is
the only serial port of the Falcon.
Thomas