It's mostly 74LSxxx ICs which I bought from UTSource and can be tested using XGPro. Easy peasy and every single chip tested has been legit.
The problem is that - despite this being the 6502 forum - I don't actually 6502*.
I ordered a couple of Rockwell 6502s from UTSource too and they looked as suspicious as a very suspicious thing looks; two different DIP packages with identical etchings. Long story short I've been trying to work out how to test them with minimal effort, like, not even putting them in a breadboard effort.
And as I've been testing all the other ICs I bought with the TL866 II I figured I could probably use it for the 6502 too. And it turns out I can. I've attached the R6502.lgc file to this post and it can be imported into XGPro Logic Tester.
What it does:
Bring GND to ground, bring VCC to 3.3V. 5V works also but (I assume to due to ringing) the 6502 does not always reset properly.
- Line 1..14: Hold the RESET pin low for 13 clock ticks
Test that PHI2 out matches PHI0 in
Test that PHI1 out matches PHI0 in inverted - Line 15: Bring RESET high and bring PHI0 low
- Line 16: Bring PHI0 high
Test SYNC is high
Test RWB is high - Line 17: Bring PHI0 low
- Line 18: Bring PHI0 high
Test SYNC is low
Test RWB is high - Line 19: Bring PHI0 low
- Line 20: Bring PHI0 high
Test SYNC is low
Test RWB is low (which I found very interesting as the W65C02 does not bring RWB low during reset.) - Line 21 to 25: Tick the clock twice to step through the remaining stack pushes.
- Line 26: Bring PHI0 high, put $00 on the data bus
Test the address bus contains $FFFC - Line 27: Bring PHI0 low, put $00 on the data bus
- Line 28: Bring PHI0 high, put $00 on the data bus
Test the address bus contains $FFFD - Line 29: Bring PHI0 low, put $00 on the data bus
- Line 30: Bring PHI0 high
Test the address bus contains $0000, put $EA (NOP) on the data bus - Line 31: Bring PHI0 low, put $EA on the data bus
- Line 32: Bring PHI0 high
Test the address bus contains $0001, put $EA on the data bus - Line 33: Bring PHI0 low, put $EA on the data bus
- Line 34: Bring PHI0 high
Test the address bus contains $0001, put $EA on the data bus - Line 35: Bring PHI0 low, put $EA on the data bus
- Line 36: Bring PHI0 high
Test the address bus contains $0002, put $EA on the data bus
In my case both my dodgy looking chips turned out to be real 6502s. Nice
And, just for pictures sake:The fully soldered but only partially populated Apple II rev0 board I'm making.
*W65C02, W65C816 etc... But I've never used a 6502 unless you want to count the 6510.