Why would the 68000 just stop?

For hardware talk only (please avoid ROM dumper stuff)
Post Reply
prophet36
Very interested
Posts: 234
Joined: Sat Dec 13, 2008 6:58 pm
Location: London, UK
Contact:

Why would the 68000 just stop?

Post by prophet36 » Mon Jan 04, 2016 11:02 pm

We've hit a weird problem with one of Montserrat's consoles over on the UMDK forum:

viewtopic.php?f=20&t=2239&start=195#p28406

This is a EURO PAL-i 1601-05 VA6 with a switchless mod by matt at dforce3000, failing to start Sonic 1. The SGDK-based UMDK menu program works fine, and the UMDK basic signal test passes, so it's not a dirty cart-slot problem. The same UMDK cart works on Montserrat's three(!) other consoles, one of which has the same switchless mod. Several other people have tested UMDK carts from the same manufacturing run, and none of them have shown similar problems. On this one particular console, it seems like the 68000 just stops fetching instructions, as if its clock has just stopped or the bus arbiter is permanently suppressing the 68000. There are some traces from UMDK's built-in logic analyzer in the post above, and there's an (older) analysis of a UMDK instruction trace in this post:

viewtopic.php?f=20&t=2239&start=180#p28339

Suggestions welcome!

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Re: Why would the 68000 just stop?

Post by TmEE co.(TM) » Tue Jan 05, 2016 2:43 am

Is !DTACK stuck high or such ?
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

prophet36
Very interested
Posts: 234
Joined: Sat Dec 13, 2008 6:58 pm
Location: London, UK
Contact:

Re: Why would the 68000 just stop?

Post by prophet36 » Tue Jan 05, 2016 8:12 pm

TmEE co.(TM) wrote:Is !DTACK stuck high or such ?
It's not my console that's doing it so I can't check, but I asked Montserrat to look at various 68000 signals like /DTACK, /BG, /BGACK, /BR, /BERR and CLK. That said, I'm pretty sure the 68000 ignores the state of /DTACK unless /OE, /LDSW or /UDSW are asserted, and you can see from the logic analyzer traces that they all end up deasserted. My guess is that this is just a very old console which is in need of replacement PSU capacitors, and it's misbehaving as a result: the logic analyzer trace shows the tri-stated address bus picking up a lot of noise from somewhere.

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Re: Why would the 68000 just stop?

Post by r57shell » Sat Jan 09, 2016 7:03 pm

It would be nice if there was also log of what data was actually read, to confirm that all stuff read normaly.
Image

prophet36
Very interested
Posts: 234
Joined: Sat Dec 13, 2008 6:58 pm
Location: London, UK
Contact:

Re: Why would the 68000 just stop?

Post by prophet36 » Sat Jan 09, 2016 7:28 pm

r57shell wrote:It would be nice if there was also log of what data was actually read, to confirm that all stuff read normaly.
With the UMDK's logic analyzer in trace mode, the fetch-sequence looked like this.

Post Reply