GARTHWILSON wrote:
I scanned the previous pages of the topic and I didn't catch anything saying you intend to use the UART with an '816.
If I didn't not say anything, that was an oversight. R1, which uses an '816 is intended to sit on an ISA card. The UART is the window into the computer's world.
GARTHWILSON wrote:
IIRC, the 26C9x cannot handle being accessed in consecutive cycles, which would mean you can't use R/M/W instructions on a 6502 accessing the UART, right? You could still do LDA, ORA/AND, STA though, which is still faster than bit-banging the SPI MAX3100, although I definitely like that 14-pin Maxim UART.
R/M/W isn't a dealbreaker. If I ever need to do an atomic access to a peripheral, I can live with using a mutex to denote a critical section. Or maybe I'll reverse my stance on SPI and use that. I'll take a look at the 26C9x timing diagram and see if it fits my needs. Additionally, the 26C9x also has GPIO, which is cool.
Since LDA/STA will only take one machine cycle to write data, the 26C9x would need to be able to respond to writes in a machine cycle as well. As another example, old MCS-85 chips require 4 clock cycles for a bus cycle, so without a frequency multiplier, one has no hope of interfacing, say an Intel DMA Controller to 65xx chips. This is my main concern- if writes/read require multiple clock cycles, then the chip can't be interfaced easily to the 65xx bus. Or am I misunderstanding something?
That said, alternative UARTs are still technically on topic, so maybe an example circuit/POC with an alternate UART might be a good addition to this topic.