I just wanted to share my little project and a small step stone to my ultimate goal of a 65816 based SBC.
It started as this
Attachment:
IMG_1636.JPG [ 282.44 KiB | Viewed 1439 times ]
A 65C02 at 1Mhz, a 65C51 for serial, a 65C22, two 32k RAMs, and a 128k Flash ROM on bread boards and an unmanageable mess of wires.
It became this
Attachment:
IMG_1643.JPG [ 295.17 KiB | Viewed 1439 times ]
Attachment:
IMG_1644.JPG [ 327.45 KiB | Viewed 1439 times ]
It is basically what I built on the breadboards with a second 65C22 dedicated to bit banging SPI. The design still accommodates the 65C51 which I used to boot strap my SPI code, but now that I have SPI working, I am using a MAX3100 SPI UART instead. I also have a SPI RTC connected, and I am currently working on connecting a PS/2 keyboard with an ATMega328 or 1284 handling the PS/2 protocol and communicating with the SBC through SPI.
And the best thing is I have it running rock solid at 8Mhz! My software SPI implementation seems to have no problem keeping up with a 115200 baud rate on the MAX3100.
Many thanks to Garth Wilson for making his SPI code available which is the basis for my SPI implementation. I added support for SPI mode 0-3 and full duplex communication. If anyone is interested, I will make my SPI implementation available on GitHub or something.
Thanks to everyone who has given me pointers and advice.