Re: [hatari-devel] SCC-B support |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
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 existWell, 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 stillinitialized for other machine typesThat 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 So I guess we need something like following:--rs232-in <file> Enable MFP serial port, use <file> as input device (not Falcon) --rs232-out <file> Enable MFP serial port, use <file> as output device (not Falcon) --scc-a-in <file> Enable SCC channel A port, use <file> as input device (not ST/STE) --scc-a-out <file> Enable SCC channel A port, use <file> as output device (not ST/STE) --scc-b-in <file> Enable SCC channel B port, use <file> as input device (not ST/STE) --scc-b-out <file> Enable SCC channel B port, use <file> as output device (not ST/STE)
? (And something similar in SDL GUI.) - Eero
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |