BigEd wrote:
The reason it's a technical challenge is that the Pi needs to respond to bus cycles within a few hundred nanoseconds. The usual operating systems aren't sufficiently fast and deterministic - and, as it turns out, the usual ARM machinery of the Pi when running carefully tuned code is only fast enough for a 1MHz bus, not for a 2MHz bus. For that, the more-deterministic GPU was needed.
Python is far too slow for this, I'm sure.
Ah I see, that makes sense. So, could the Pi at least have a constant input, to read what's going on? Kind of like a 'display' in a way, though even then because of the speed it might be garbled or something. This is good to think about.
BigEd wrote:
For a conventional 5V 6502 project there's also the question of level-shifting - the Pi runs at 3.3V.
With a suitable interface chip - a CPLD, perhaps, or an actual FIFO - it is possible. See the
CPC-CPlink project for a (Z80-flavoured) example.
I've been thinking about that 3.3V. So am I wrong in thinking that the W65C02 will accept TTL level inputs? I'm fairly sure I have seen that all over the place, that it's TTL compatible, etc. So then the 3.3V shouldn't be a problem when I'm sending from the Pi to the 6502. But the other way around? Hm.
If it requires more IC's to get going, then I'm not for it. Just thinking of easy alternatives, not necessarily software wise, but hardware wise.
Thank you BigEd, great points here. I might abandon that idea as fast as I had it!
Chad