ROTJ PCB repair

Nes4life

Active member
vacBacker
Feedback
12 (100%)
Credits
1,135CR
[font="Arial, Helvetica, sans-serif"]Am mid-repair on a ROTJ PCB for @ianski and thought I’d write it up and ask for some advice. So far Smarty has been a champ by lending me a ROTJ to JAMMA connector for it (some nice 12v to 10.3v trickery included) and got me a schematics PDF which was elusive online. [/font]

Reported issues:

  • sparklies on screen
  • transparent 'hollow logs' that the speeders go through
  • not saving high scores
  • coin to credit values changing on each boot

[font="Arial, Helvetica, sans-serif"]The sparklies were down to high voltage due to a dodgy edge connector creating resistance. I bypassed the 5v and GND lines with some ‘Guddler-approved’ jump leads (with an adapter I made to hook them to the Jamma switcher rather than an AR). My recommendation would be to do the same in the cab, sense mod the ARII and select a lower voltage manually but there may be an issue with that (see next paragraph on NVRAM). I suppose the right thing to do would be to repair the edge connector properly but that’s not something I’m up for.[/font]

[font="Arial, Helvetica, sans-serif"]So next are those high score and settings issues - that’d be the pair of x2212 NVRAMs then. High scores [/font]are stored in NVRAM (non-volatile RAM) and, in their wisdom, Atari replaced the [font="Arial, Helvetica, sans-serif"]DIPS with soft-settings also stored to that NVRAM. [/font]

[font="Arial, Helvetica, sans-serif"]These x2212 are really interesting as they’re different to modern non-volatile RAMs and they’re also hooked up in an interesting way. Really they’re 2 components combined, a RAM part and an NVRAM part. Rather than persisting everything that is written to them, most of the time they just act like a normal RAM and don’t persist anything. There’s a ‘store’ pin on these and when it receives a low signal it then copies everything over to the persistent store. There’s also a ‘recall’ pin and when it receives a low signal it copies the persistent data back over to the RAM part. So here’s the interesting thing, these NVRAMs only have a life span of 100000 ‘store and recalls’ in them so, understandably, they don’t do a persist or recall action every time a setting or score changes but instead Atari did something pretty cool (but dodgy to diagnose issue on); the NVRAMs are instructed to store their current data at the point the PCB is turned off! So how did they achieve this? Well, there's some logic that detects when a particular section of the PCB goes 'low power' and that sends the 'store' signal to the NVRAMs whilst the PCB is dying. So there seems to be some sort of race where the PCB is basically losing all voltage and the NVRAMs are committing their data to the persistent store part. Then when the PCB next gets powered up the CPU sends the 'recall' command to the NVRAM to load the saved settings. It's ingenious really but the problem is how do you diagnose this sort of issue whist the power is going? The answer is that a logic probe is no longer any help (if powered from the PCB) but an oscilloscope should probably be ok (powered externally and using GND as a reference).[/font]

[font="Arial, Helvetica, sans-serif"]So back to fixing the highscore and settings issue here. Is it a NVRAM issue or are the pair of RAMs simply not receiving the store and recall signals properly (with the power issues and all)? If I had a couple of replacements I could tell you straight away but for now I'll go check manually with the oscilloscope.[/font]

Anyone got any x2212 they can lend me whilst I check this over - maybe even sell me? They're about £10 each on eBay and no guarantees they'll arrive working.

I'll also be looking at the transparent log issue as i need to verify what should be showing. Can anyone give me a screenshot of the log in gameplay and, more importantly, a screenshot of the colour test screen (I thought mine looked like it was missing dark brown!) I'll probably look at the Pixie daughter board but if anyone else has a better plan then let me know!

Nes4life2017-11-02 14:23:50
 

Nes4life

Active member
vacBacker
Feedback
12 (100%)
Credits
1,135CR
So making some more progress. I’ve determined it is probably the NVRAMs not persisting properly as they’re receiving all the right signals. I’ve ordered a couple of replacements from http://www.bestofpinball.com/catalog/product_info.php/products_id/14007.

Whilst waiting for the NVRAMs to arrive I turned my focus to the transparent logs issue. Initially I thought a colour was missing but actually it’s a sprite (the color test sheet looks identical to that from MAME). I think the logs are made up of a background part and a sprite part that hides the speeder as it goes through. So in this case the sprite part is simply not showing. From what I’ve been told the unique Pixie daughter board is in control of these sort of sprites. The pixie is a relatively simple design composed of 2 PROMs, a RAM and some TTL. Looking at the schematics I decided it was was probably simple enough to just start grounding data lines until i saw something that looked like it affected the logs. A few minutes later I found that grounding pin 13 on the LS125 at 1B brought back the logs! Ok, so I know that was a low-skill tactic but it paid off. So now I needed to figure out what was going on. A closer look at the schematics reveals that pins 1, 4, 10 and 13 are all connected together and, more importantly are connected to the clock of 3 LS183, the output of a LS02 at 5B pin 4 and, crucially, the Write-Enable of the 2149 RAM at 2A. I checked the signal of that trace and it looked pretty healthy so concluded that all I was doing was disabling the 3 LS163 and setting the 2149 RAM to Write mode (essentially stopping it from populating the data lines). I desoldered the RAM, as I really should have checked this straightaway anyway, and the game played and the logs returned! I’m sure the RAM achieves something for the Pixie so I’ve ordered a replacement from eBay for £6.

Will update when the parts arrive.Nes4life2017-11-06 09:17:07
 

smarty

Ready Player One
vacBacker
Feedback
12 (100%)
Credits
1,305CR
Yes, it’s always good to see people sharing repair logs, looks like you’re closing in of fixing this one.

Great job Phill.
 

philmurr

Active member
vacBacker
Feedback
48 (100%)
Credits
2,385CR
Great write-up and repair Phill
smiley32.gif
 
Top