First post after my 'introduction', so please be nice.
Encouraged by two successful builds of Andrew Jacobs' "3-chip 6502" boards (6502 and 65C02), I decided to check out another project of his, "em-retro" – see links below. This squeezes 8 different 8-bit CPU emulations onto a PIC24 chip. The Z80 & 6809 emulations are said to be incomplete, but let's not quibble, this is pretty impressive.
I've burned and verified Andrew's Github code onto the PIC24, but I'm having no joy in getting any real connectivity with it. As recommended, I am using a USB-to-TTL converter board to connect to the PIC24, with Putty terminal emulation on my PC.
I've confirmed that the USB-TTL converter works OK (tested with Andrew Jacobs' own "3-chip 6502" mentioned above). I've also ensured that it's switched to 3.3 volts. The PIC24 has its own power provision, via a 3.3v regulator. The only links between the converter and the PIC24 are Gnd, RX (to TX), and TX (to RX).
When I connect, I get no response from my PC key presses, but I *do* get something displayed on my Putty window – a single '?' character, which, interestingly, appears to repeat every 2 minutes or so. Well, it's something! At least it's not dead. (I've tried reversing the RX & TX lines, but that gives nothing at all.)
What about Putty settings? The code does make a couple of references to 57600, so I'm using that baud rate. As for the rest, I've got 8, N, 1, Xon/Xoff. That's what I've used when successfully connecting to other SBCs, including those "3-chip 6502"s.
I've searched the code for any possible references to a "?" character, or 3F in hex, to see if one is output under any specific conditions, but no joy as yet. I dare say I'm missing something obvious.
Can anyone shed any light on this at all? Has anyone out there perhaps built this project? TIA.
Em-retro (earlier & later versions):
viewtopic.php?f=8&t=1936 Andrew Jacobs GitHub project page:
https://github.com/andrew-jacobs/em-retro