Rolling Thunder - Can't move properly

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
I've been looking at a Rolling Thunder board for Prof Peach as a favour and it was dead on arrival, i've got it going again, fixed the graphics and sound fault but i've got a problem with player movement that's baffling me.

At first I couldn't get the character to walk during game, press left resulted in up+left and pressing right crouched the player. Jump would work fine.

I tracked this back to a 257 @ 3J which had its 2Y (pin 7) pretty much stuck low. Both up and down go through the 2A/2B part of the chip.

I replaced the chip and I can now walk left and right and fire. These are handled by the CUS60 chip.

I now can't jump, crouch or go up.

I rigged up the scope so that channel 2 is my trigger and put this on pin 15 - which is /PORTA and my channel 1 on pin 7 and set the scope to falling edge trigger, both at 2v/DIV.



If I push up or down on the stick, that pin 7 never changes.

If I put the channel 1 probe on pin 9 which is the jump button it doesn't change either.

If I put the bad chip back in the socket, pin 9 will change when I push jump.

I've tried a different 257 in the new socket and no luck, logic tester says the 257 i'm using is fine etc.

Unless i'm reading the data sheet badly I reckon that with:

Pin 1 (SELECT) at LO

Pin 15 (OUTPUT) at LO

Pin 5 (2A) at LO

Pin 6 (2b) doesn't matter

Pin 7 should go LO

Not sure what can be wrong here, rest of game works perfectly.

I've swapped the CUS60 and CUS30 around this circuit from a different Namco board - no change.

Verified the ROM RT3-4 @ 6B (MCU ROM) no problem.

RAMs all fine.

373 and 244 seem fine in the same circuit.

I've not spotted something....
smiley5.gif
 

caius

Active member
Feedback
7 (100%)
Credits
588CR
Hi, keep in mind that you have to replace the 74HC257 with same part.If you use a 74LS257, it won't work due different input level, I had this issue once.Let me know if you solve.
caius2015-11-03 13:44:00
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
After a bit of head scratching, a break and a cup of tea I bread-boarded up an LS257 to prove I wasn't going completely insane about how it works.



Wired up 2A to be pulled HI and put a switch to drag it to ground like a joystick does.



And then had it trigger off the low edge generated by my scope's test point on the output pin of the 257.



Worked exactly as i'd planned - so then at about 3am I re-read the schematics and noticed that 3J/3K have to be HC257 and 3L/3M are LS257.

I've ordered some HC257's - schoolboy error a bit, wasn't expecting that one.
 

abaxas

Active member
Credits
124CR
No no no... you've been trapped by the schoolboy error.

CMOS logic is the same as TTL, DTL, etc. They all work at a logic level the same, or they'd be a different part number.

What is different is the electrical characteristics of each part.

It is vital to think of 74/etc logic as a hybrid of both the digital and analog domains. You cannot easily solve logic in the analog domain so we use the digital 'version'.

Also noting that the electrical characteristics may not be the same from each manuacturer.
 

caius

Active member
Feedback
7 (100%)
Credits
588CR
Thresholds are different for LOW and HIGH logical state.

CMOS0V - VCC/2VCC/2 - VCC
TTL0V - 0.8V2V - VCC

caius2015-11-05 14:42:26
 

caius

Active member
Feedback
7 (100%)
Credits
588CR
Indeed!It's what I'm trying to say, that electrically logical states are voltage thresholds.Anyway, explain me why a 74LS257 didn't work instead of a 74HC257.
caius2015-11-05 15:38:30
 
Top