sdisla wrote: 14 Aug 2024 18:28
BW,
ROM inserted:
CH1 AS
CH2 D1 D5
These are my interpretation of the readings for D5 and D1 while AS goes down.
AS D5 1111
AS D1 1110
Let me know if now the readings are ok to continue with the rest of the data lines.
Thank you,
Firstly, thank you for including the pictures of the probing, that does confirm you're on the correct pins.
I concur with your interpretation of the scope output for D5: 1111
However, to me the D1 pin reads: 1010.
These are supposed to be 1011 and 1000 respectively.
Even allowing for a different TOS version (perhaps you have 4.02), this would only change the D1 pin to 1100.
Now, I may be barking up the wrong tree, but to me that suggests that the CPU is getting the right data from the ROM. That could explain why the cartridge port is not being activated (and it should be activated only around 17 AS cycles into the boot process).
But the good news is we can see the D1 line is toggling up and down so it's unlikely to be tied high or low. You said you checked for shorts between data lines, so it's probably not that. We haven't see D5 toggle at all, but that could just be co-incidence.
Now it's possible the ROM has failed, but that seems unlikely unless it had a major overvoltage or something, so perhaps there is an addressing issue.
That would probably be the next big thing to check -- you can perform the same style of test -- sampling AS after reset and probing the address lines. This time I would probe around the ROM socket (you'll have to do this with the RAM out again, but that's fine for now).
If you go around measuring the first four accesses of each address pin from A1 to A19 you can build up the actual address that's being requested.
It
should be:
Code: Select all
A19-A1
0000 0000 0000 000
0000 0000 0000 001
0000 0000 0000 010
0000 0000 0000 011
You can also do the same for the data lines, as you've just done, but build up the full 16 bit pattern on each access. It does not look like it's going to be what we documented before, however:
Code: Select all
D15----D0
0110 0000 0010 1110
0000 0100 0000 0100
0000 0000 1110 0000
0000 0000 0011 0000
In the meantime, though, I would suggest you try something really simple to rule out an easy thing (bus conflict): simply leave the probes as you have them now and repeat the experiment for D1 and D5, but
with the ROM removed. Without the ROM those first four accesses
should all be HIGH as the databus defaults to high when there is nothing driving it (you can see the voltage ramp up in your pictures when AS is deactivated).
It seems you've found the first actual fault. Well done. You now need to track down where it's coming from.
Good luck.
BW