Reverse Engineering Atari 'SLAGS' IC's

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
obcd said:
It would complicate construction, but in worst case you could use a sandwich of 2 pcb's. The bottom one could have the power regulator on it The top one would be the board you have now with some decoupling capacitors added. Just my 5 cents..

There is plenty of room on the right top side of the pcb, doing a sandwich would only complicate things more as you suggest , although a 4 layer board would be nice it costs more... Looks like we will manage ok so far.... want to make it as cheap as possible with easy to get parts in the uk..... although I'll get the pcb's made in china for $1 each if that plus postage :)

ColinD2014-09-24 21:16:52
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
A little progress..... Need to double check the design, but looking tasty so far :)

Not bad for a weeks work..... I can now get on with the Outrun / Cannonboard testing shortly now as got the bit between my teeth again.....

ColinD2014-11-10 19:50:57
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
I modded the board layout a bit more are have ordered 10 from china !! ( £9 all in !!)

Chris sent me the vhdl code, I loaded it up into the Xilinx software, added the footprint of the pinouts and it seems to have compiled ok and fits into the chip (but had 2 warnings, hopefully nothing major).

Will order a few cpld's and caps, resistors and stuff and will be able to try this out in a few weeks. Will have to see if I can make an adaptor up for the roadblasters board. I think I may have an old Xilinx Jtag programmer in the garage, will have to look !!

ColinD2014-11-10 19:59:11
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
I had a look at the rest of the circuit (on the Main Board) that the SLAGS chips drive.... Each output is going into a pair of 74ls244's and some of them a 74s20 also.

Looking at the specs of the chips, the minimum voltage input required is 2v to register a high input and all together the 3 inputs add up to less than 1mA of current (the 74S20 being the most hungry at 40uA) , so the XC9572XL *should* be able to drive these fine using the 3.3V output (min 2.4V ) and I think I saw it will drive 6mA ?

This is the first time I've attempted to do anything like this (cpld's and surface mount), so very pleased that people have helped and advised, especially Chris (saving me a lot of time having to learn vhdl). Thanks to you all.

Its also quite possible that this module can be used for other 24 pin IC's and I've accounted for this by connecting the power pins (4 and 18) to spare inputs and having a couple of small solder pads (if you look above they are outlined) to hook the power up... For other chips that use different pinouts, its just a case of a couple of jumper wires from the 5v and 0v to the regulator section (or the right hand side of the power jumper pads). If say the 0v came in on pin 14 it would be easy to link that up.... ( I should have added a pad there too, lol, will do if I have another few made up )

I have some Konami boards that have replaced many customs with little TTL logic based plug in's so there is no reason they can't be reversed either.

Thanks again for everyone's help and advice.

Cheers, Col
 

Alpha1

Do the Shake and 'VAC
Staff member
vacBacker
Feedback
95 (99%)
Credits
5,658CR
Absolutely cracking work guys
smiley32.gif
smiley20.gif
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Thanks :)

I beefed up the design to allow for different Power Supply Configs and added a lot more copper for the power planes....Yep a bit anal but hopefully won't make it more difficult to solder up.... I'll make sure the first batch work first before ordering any more... and Yes... Can't wait myself either :)

Cheers, Col

SLAGSv2.PNG
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
The original V1 pcb's have arrived from Singapore, so I can get cracking with testing and such now.

Not 100% happy with this first design but need to start somewhere, so Lets see how they go. I will then try a V2 pcb which supports other devices allowing some experimentation.

Will probably use turned pins for the connection to the pcb (maybe via a socket fitted underneath acting as a pin saver in the future - adds about £5 to £10 to the cost) but for now using some cheap and sturdy header strips....

slagsv1.jpg


slagsv1b.jpg


ColinD2014-10-23 18:46:26
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
I've done a V2 Design now, which is even better..... (uses different CPLD with options for other brands using a more standard pinout than the v1 and 5v / 3.3v operation if we run into issues) ... Have sent off to be manufactured at a cost of just under £9 for 10 delivered ! - The Parts cost a LOT more than the pcb itself....

It should be able to be used for other custom chips too, given the right vhdl designs. Note the links for different power supply options.... SLAGS uses non standard power inputs.....

For other custom designs, Pins 13 and 14 are input only, but there's a work around for that if I hit any issues by reusing a couple of the programming pins or just a jumper wire from the led output to pin 13 , pin 14 is usually ground anyway !! - maybe even a v3 design if so to make a super chip !!

Even comes with a free programming adapter tool which you chop off, so no need to solder a header on....

Hope to test v1 shortly.....

v2_seed.PNG


ColinD2014-11-10 19:58:36
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Right..... managed to blow the first module up.... dont ask !!!! (It had fat pins on anyway and was nasty !!)

Built another, programmed it up and tested on a Gauntlet board I found kicking around (so not fully exercising the couple of extra pins yet !!)

Boooo...... Kind of works but only 1 pixel vertical stripes every 8 pixels.... BUT what WAS displayed kind of looked right to me...

I had a gut feeling that there was a problem with the shift registers, so had a look at Chris's VHDL code and carefully compared to the datasheet. There seemed to be a problem with the shift left and shift right control levels being the wrong way around....

So I took a chance and modded the code so that.....




if S0='1' and S1='0' became if S0='0' and S1='1' (for the Shift Left as described in the data sheet for the 74ls299)


and





if S0='0' and S1='1' became if S0='1' and S1='0' (for the Shift Right)

Re-compiled and reprogrammed.... The Bugger seems to be working perfectly so far :) (Not fully tested yet)

I could NOT have done this so quick without Chris's help (otherwise would have spent ages attempting to learn VHDL), so Hats off to him that the code very nearly worked first time (without any testing) and that it was a very simple error to deal with in the end.

Need to test the module on some more demanding boards now (like RoadBlasters) and decide if we need to use 5v parts or whether its fine with the 3.3v ones I'm using at the moment....

Cheers, Col

ColinD2014-11-09 00:27:55
 

cmjones01

Newbie
Credits
194CR
Great work! That's a fantastic result. I'm surprised and delighted that it worked (almost) first time. Sitting at my PC coding in VHDL is one thing, but getting all the hardware together, PCBs made, and debugging is the hard and time-consuming bit. Kudos to you, Colin!

Chris
 

ColinD

Active member
Feedback
6 (86%)
Credits
1,367CR
Built V2 and it works too :) - Blew the first chip up when first programming as got the red and black wires mixed up !! - Swapped the chip (and the wires) and it then programmed first time and runs.

I have both the v1 and v2's fitted side by side on the Gaultlet board and giving them a soak test now...

slags_v2_works.jpg


ColinD2014-11-15 15:33:25
 
Top