You need to ensure you can count 512 steps (256 charge cycles, 256 discharge cycles), so I think it will take an additional FF. As well, if you want to eliminate jitter, you need to make the CLK configurable so it can sync to the incoming clock.eslapion wrote: I thought it would be possible using a pair of cascaded 74LS161 or 74LS163 counters and a bit of surrouding electronics such as resistors, capacitors and transistor.
I actually implemented the protocol for PSXJoy, and it works very well (no jitter), but it only works on the 64/128 right now. If I had some time, I could see if the protocol could be tweaked for the VIC-20, but it's not a high priority at present.I thought you might have experimented with that. ...off topic really...
Jim