Reverse Engineering Atari 'SLAGS' IC's

Hurray Banana

Moderator
Staff member
vacBacker
Feedback
8 (100%)
Credits
2,766CR
Agree with James. Colin this is a superb effort. Wish I had the skills and time to work on projects like this, there are a few projects like this needed.

Top effort
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Not a lot to report, but have modified the quartus project file with the new pcb pinout mappings (3 cpld pins have changed / swapped over on the new v2b black pcbs to make it more useful for dropping other designs into)

Hopefully I'll get a new module built up and tested with the code burned into the cpld tomorrow if I have the time.

I also need to send some parts and samples over to Chris Jones to have a play with, as I sent him over a vindicators pcb to test the slags proto parts and it turned out there was a bad custom chip on there, so I have sourced a new custom (2 on a xybots board) and need to get that over to him too.... Hopefully this will get vindicators running and allow testing to progress.

Chris was a great help sorting out the vhdl code for the cpld once I had worked out the full circuit inside the chip and I had to modify the code slightly in a few places to get it working and functional so far.... We had stripes in the graphics initially and then there was a problem with the flip mode. That was very close to working first time if you ask me, so amazing effort. I'm also pleased that my hardware designs have worked too (so far !!) as might have hit a brick wall early on otherwise... chicken and egg....

There is still a small glitch on the Gauntlet pcb, but I put that down to a hardware design issue and the glitch occurs off screen while the hardware sets up for the next line of graphics....

The timing of the gauntlet pcb signals vary during the reset/setup for the next line and it decides to change the graphics eproms address 'just at about the same time' that the slags chip has been told to load the next lot of data in from the same eproms, so it gets some random data due to the eproms address lines changing/settling and the eproms outputs are doing the same trying to work out what data to send out so also changing/settling... That's about the best I can do to explain..... This is not really good design as you get a race condition but like I say, its off screen, it resets and then the next lot of data gets set up , triggered and loaded before the display line starts again so normal operation resumes.

The data gets loaded in to the slags in a 16 bit parallel fashion and is clocked out serially, and this is also repeated out of phase (halfway through iirc) for a further 16 bits... so all in all 32 bits are clocked in and out per slags cycle... and some of the series of bits clocked out are flipped around depending on other flags and stuff.... this repeats over and over again... By Flipping the Bits around, this saves having twice as much graphics data in theory but not all graphics will get flipped.....

The original chip runs a little slower and seems to miss the data changing, but only by a few nano seconds.... The HP Logic analyzer made it fairly easy to see when I had an original chip and the clone running side by side using my test fixture board that I made up. I'm not sure if there is a work around (and only got a few cells left and not enough to double buffer the data on a different clock edge) but I don't think its required anyway. I have spent many frustrating countless hours looking at this glitch so far !! - Again its chicken and egg..... Is the Origonal Slags Chip right (or wrong) ? or is the Repro wrong (or right) ?

I will build 4 modules and then test them on my Roadblasters board (need to build a test jamma adaptor), while Chris should be able to get Vindicators running and test at his end too.

Basically, this all means that the replacement design of chips/modules will have been tested on at least 2 unique boards, plus a system I variant (The Roadblasters 'cocktail' cockpit board set all in one) so we can be safe knowing that the design will work as Atari intended with the backup that its based on the original circuit design too, so no second guessing.

One this is all sorted, I'll build a final design batch and they will be up for grabs.


Cheers, Col

ColinD2016-01-15 21:57:13
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Built the new version and its working...... Porchy is also looking at Konami 501 using the same board but with the 'usual' power pins config that I designed in to make it more universal.

slagsv2b.JPG


ColinD2016-01-16 19:55:29
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
Ive got the Konami 501 chip reversed now and seems to be fully working. I have however only tested this on one of the bootleg boards.
The programming files I make will be available on my site soon.

Huge thanks to Colin for sending me some of these boards, its been great fun doing this.
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
Got the Pacman syncbus controller and VRAM addresser customs reversed and working into this replacement device now. Both can be downloaded on my site
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
If they are 28 pin and compatible with the power config then most likely yes.
Reversing them may be the bigger issue here though although certainly doable.
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Think Oll means will the "Vram" and" Sync" replace the origonal Namco Customs ? - Looks like an origonal board on Porchys site so don't see why not.
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
ColinD said:
Think Oll means will the "Vram" and" Sync" replace the origonal Namco Customs ?  -  Looks like an origonal board on Porchys site so don't see why not.

Ah, sorry.
I didnt realise these things were shared across different hardware.
Assuming they are interchangeable normally i dont see any reason why they wouldnt work
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Right.... a little update......

My Slags chips now seem to be working better on the Roadblasters 'cocktail/cockpit' board but I've had to disable some of the flip logic.... I've got rid of the garbage on the right of the road and the sprites that show (on my faulty board) are the right colours now.... (trees on the right were wrong colours and the big circular explosion colour was wrong on the right hand side - sprites on the titles are correct colours now too some were wrong)

I've not tried the modified code on Gauntlet yet, but my gut feeling says I *might* have broken something.... main thing is that I'm along the right track sussing out what's wrong now !!!

It also seems there were a couple of lines in the diagram mislabelled / swapped.... but I've not been through it fully yet !!

Deffo on to something though.... :)

The great thing about the cpld module is that Porchy has been able to get 3 different customs implemented so far.... so at least the design is paying off now :)

ColinD2016-02-29 21:29:33
 
Top