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 18:33:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1546364012; bh=EroUYOVTFJN0+1OTHHFhM8vB0wOt2xiEguZE83tQqSA=; h=Date:From:To:Subject:From; b=ccgstyegpLBfqBuGrSif8/IFW817kCXxzhrEY3BLhcb8gpFjrsHGjqWPIFFE0zfv7 Y8wsQPgEt4PItQPRz06n/IFcLooNtvcGxtlWcv/C32s19MijjnaFNvHpSMZV/3ScuG HXvO69xo6mapIEzmB7K0W6lJNSgcMcDDx0OuhQSaiK2mT+PUBPf4IEmy3auhTn98PR fw7DOHaJHxpj29WbCltHBQwHjoajQZNTc4ZVOHwRhrTb2euQTEybUAe2/pCYgsQJ4l xr7Fh9mR9G5Hh9TGpyeTMeK4mgVfWbOP5HZSK7tvZ2uijlYCH5MQOCTBm1DrrWbvQw 5GdkZzSqtWm2w==
Am Sat, 29 Dec 2018 07:50:52 +0100
schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> Am Fri, 28 Dec 2018 23:10:40 +0200
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>
> > Hi Thomas,
> >
> > 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...
While trying to implement separate options for SCC input and output, I
had to discover that SCC input is not working at all yet (at least it
does not work in the terminal program "Rufus"). Not sure what is
missing here yet, maybe the emulation of interrupts? Anyway, I don't
have time to work on the SCC in the upcoming weeks, so I limited the
emulation to output only now (with the "--scc-b-out" parameter). If
anybody feels like implementing input or channel A support, feel free
to do so - I won't touch this code in the upcoming month anymore, I
think.
Thomas