On Thu, 31 Aug 2023 at 22:36, Tadeusz Pycio <
ta...@wp.pl> wrote:
>
> Initial attempts to use the XR88C681 as a replacement for the CTC and SIO have shown promise on existing modules in IM1 interrupt mode. I've been thinking about how to use the GPIO lines and I think adding an RTC would be a good idea. I originally wanted to use them as an SPI interface to the SD card modules, but the performance of this solution is poor.
It will certainly drive an SPI RTC. I've been using it for disks with
the SIO and it's not fast but it's floppy disk speed which is fine.
There is a fast 4bit data transfer mode on SD cards but no hobby board
in the US uses it because of patent issues. Outside the USA it
shouldn't be a problem.
With a couple of diodes you can bitbang PS/2 (which isn't great for a
real OS but fine for CP/M), and add a couple of resistors as well and
you can do I2C. It's a bit slow for a Wiznet ethernet link. It's also
possible to use them for joystick, cassette tape and sound. Lots of
options.
Alan