Help needed on another Double Dragon board

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
Anyone have the time and patience to walk me through some diagnostics on a Double Dragon board that's stumped me for the pass few weeks?

I won't say owt until someone says yes.
smiley1.gif
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
just kidding.

here's the problem i'm having with it.

all the socketed chips are good as i did a swap with a working set.

the problem exists on the top board.

when i start the game, what i get is not consistent every time. sometimes i get mashed graphics and sometimes i get a blank screen, but always with some sounds playing. (See video)


so... after checking voltages, then it's onto check reset on the 63701 and it's not flipping from low to high. it's doing all sorts of funnies.

i trace this back to a LS273... did a quick piggyback but no change. not entirely sure how i can determine if this is the culprit or the LS244 even further up?

any ideas? thanks.
 

Purity

The Oracle
vacBacker
Feedback
17 (100%)
Credits
2,999CR
I'm only just trying to learn this stuff myself, but my understanding is that the 273 carries the input data to the output on a rising clock pulse, so check the clk is working, then probe the input side and confirm carried data on the output side i.e. 7D should carry data to 7Q on a rising clock pulse

I'm sure if I am wrong, and I've misunderstood, then someone will let me know :)
Purity2014-01-08 22:50:16
 
  • Like
Reactions: trm

chubsta

Active member
Feedback
4 (100%)
Credits
547CR
Purity said:
I'm only just trying to learn this stuff myself, but my understanding is that the 273 carries the input gate to the output gate on a rising clock pulse, so check the clk is working, then probe the input side and confirm carried data on the output side i.e. 7D should carry data to 7Q on a rising clock pulse

Sometimes I think you guys just string a load of random words together...
smiley36.gif
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
Ben speaks the truth. Do you have the DD schems? I can upload if not.

DD is a weird one with the interboard cables. You can have them 95% pulled out and you'll still get sound so I'd consider them after you've traced and verified your dodgy /RESET.
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
Purity said:
I'm only just trying to learn this stuff myself, but my understanding is that the 273 carries the input data to the output on a rising clock pulse, so check the clk is working, then probe the input side and confirm carried data on the output side i.e. 7D should carry data to 7Q on a rising clock pulse

thanks for the reply.

i think it's ok.

it's damn hard to read these things cos the probe would say one thing and the scope will say something else.

pin 11 of the LS273 would say always Hi with Lo flashing, whereas on the scope all i can see is Hi.

checking pin17 input, it's got this weird pattern going on but the output is pretty clean. i compared this with the worker and they look pretty similar to me.

checked ribbon cables by swapping them over and the same results.

so hard to learn.
smiley5.gif
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
sorry, there's a thing which i think i've failed to mention.

on a working board, once the game is powered up, it does a self check before the game starts.

on this faulty board, it doesn't do any of that. the moment i power up, the screen is messed up and sounds play.
 

Equites

Chief Sheesher®
vacBacker
Feedback
35 (100%)
Credits
3,332CR
I'm looking at a couple of Double Dragon PCBs at the moment, one I've just repaired with sprite issues. The other has no sprites at all.

These use the 6809 CPU, have you checked either pin 39 or 38 for clock? Also what is the Reset pin doing? I think its pin 37.
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
IC49, the 6809 actually looks very healthy.

pin37 RESET goes from lo to hi on power up.
pin38 CLOCK has both hi + lo on constantly.

cross referencing with the worker and they read the same.
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
vib_ribbon said:
it's damn hard to read these things cos the probe would say one thing and the scope will say something else.

pin 11 of the LS273 would say always Hi with Lo flashing, whereas on the scope all i can see is Hi.

Always use a logic probe for checking activity, only use a scope for things like RAM where you suspect it's partially working but maybe crapping out bad signals and you need to see the waveform. It's way too easy to miss a quick pulse on a scope; I've done this loads.

If you ever find you really need to use a scope to check logic, turn the time base really slow and whack up the intensity. You'll be able to see from the glow around the scope beam dot whether you're getting any pulses - the glow will be oval if it's pulsing, round if it's static.

Have you got the schems?

I'd start by proving that the 6809 is working solidly, not getting watchdog resets and that the major blocks of the gfx hardware are working. Looking at the video you seem to have decent H & V sync, and then random crap.

What happens if you leave the game running at that scrambled screen for a minute or so? Does it carry on in that pattern? Does it reset?
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
there appears to be 4 or 5 variations of what happens when i turn the game on. i will try some of the things suggested such as leaving it on for longer and see what happens and report back. thanks!
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
Aha. What are the variations? If they're all along the lines of "horrid noises sound, screen scrolls different rubbish" then that indicates one thing, but if you get drastically different results then let us know as it might give some useful info.

I'm just firing up DD in mame debug to see how the 6809 checks the custom chip is working.

And I promise I'll only ask once more, but are you working with the schems or do you need them? This will be waaaaaay easier with the schems :)
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
trm said:
Aha. What are the variations? If they're all along the lines of "horrid noises sound, screen scrolls different rubbish" then that indicates one thing, but if you get drastically different results then let us know as it might give some useful info.

tends to be either

1/ blank screen and final boss music playing ok.
2/ the video you see above with random sound effects and abobo music (i think).

a few others.

anyway, i'll take a proper look and make some notes.
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
OK. In all likelihood the program CPU is controlling the sound CPU by sending an interrupt and maybe writing a few bytes of data to shared RAM, so:

Program CPU detects a player punch has been triggered, needs the Punch sound played,

Program CPU writes to RAM accessible to both CPUs with data that means "Play sound Punch"

Program CPU sends interrupt to Sound CPU saying "pay attention to our shared RAM!"

Sound CPU reads shared memory, finds "Play sound Punch" command, triggers Punch sound.

Program CPU meanwhile carries on running game code, rendering gfx etc

Which is supercool but if the Sound CPU is running random code, or the Program CPU is randomly triggering interrupts to the Sound CPU, or the Sound CPU is spuriously triggering its own interrupts then obviously you'll get sounds when you're not expecting them.

Which seems about right for what's happening here.

I'd ignore the weird SFX for the moment and focus on why you're not getting the POST and then the attract mode, and I'd expect the main Program CPU to be responsible there.

Have you verified the ROMs? Has this board ever worked or did you acquire it broken?
 

vib_ribbon

Active member
Feedback
5 (100%)
Credits
488CR
it was bought as faulty.

i have a working double dragon to compare results with.

all socketed roms and ICs have been tested good as i transplanted all of them over to the working example.

the fault definitely lies with the top board. ribbon cables have been checked also.
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
trm said:
OK. In all likelihood the program CPU is controlling the sound CPU by sending an interrupt and maybe writing a few bytes of data to shared RAM, so:

Program CPU detects a player punch has been triggered, needs the Punch sound played,

Program CPU writes to RAM accessible to both CPUs with data that means "Play sound Punch"

Program CPU sends interrupt to Sound CPU saying "pay attention to our shared RAM!"

Sound CPU reads shared memory, finds "Play sound Punch" command, triggers Punch sound.

Program CPU meanwhile carries on running game code, rendering gfx etc

Which is supercool but if the Sound CPU is running random code, or the Program CPU is randomly triggering interrupts to the Sound CPU, or the Sound CPU is spuriously triggering its own interrupts then obviously you'll get sounds when you're not expecting them.

Which seems about right for what's happening here.?

I'd ignore the weird SFX for the moment and focus on why you're not getting the POST and then the attract mode, and I'd expect the main Program CPU to be responsible there.

Have you verified the ROMs? Has this board ever worked or did you acquire it broken?

Excellent way of describing it. I may steal that at some point as I'm crap at explaining things.
smiley4.gif
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
Help yourself dude. I made it up as I was typing it
smiley4.gif
but I'm pleased it explained asynch master/slave so you understood what I was trying to say.

Now, if somebody who doesn't understand the intricacies of uProcessors gets it as well then I'll believe I've done good :)
 

trm

Who loves you, and who do you love?
Feedback
2 (100%)
Credits
2,877CR
I have to say, when I try to explain stuff like this you are waaaay outside of my intended audience.

And that's not to denigrate anybody on either side of the curve.

I'm just going to STFU now and go back to cooking awesome stirfry.
 
Top