27 Dec 2019

Sega PAL dumps

While working on a Sega Y board I found out one of the PAL chip was actually faulty (IC134 on the bottom board, PAL16R4 device, ref. 315-5325). I managed to recreate the faulty part externally but I wanted to make it neater. So I started my quest to find a dump for this PAL and the only result I got was retroclinic.

I promptly contacted Mark Haysman but he wouldn't share the jed file however he would sell a replacement chip to me (which is the same, from the chip I can reverse equations). This is when I realised so few of those dumps were available and the few I could find were either non working or untested. So here starts my quest to dump and reverse as many of them as I could.

You'll find below link to the jed files, feel free to share or host but please give credit.
Everything you'll find here has been tested on real hardware unless noted.

[EDIT]
Reorganised for clarity.

[EDIT 2]
I received a lot of questions regarding the brute-force method for registered PALs.
YES they can be brute-forced. I've designed my own dumper then coded a piece of software allowing me to assign pins as inputs, outputs or bidirectional, mapping OE and CK pins, etc. Lastly it reduces equations and deducts state machine logic based on common pre-defined patterns (e.g. shifter).

Hang-On hardware:

IC5 OBJ board (the one under the sound board), ref. 315-5121, 82S153 device read and converted to GAL16V8:

IC100 video board (the one under the CPU board), ref. 315-5106 (PAL16R6), brute forced and reversed in a GAL16V8:
drive.google.com/file/d/1obo9vTJy2fMnboJeVEieX7cqMLlu45is

IC125 video board (the one under the CPU board), ref. 315-5122 (PAL16R6), brute forced and reversed in a GAL16V8:

OutRun hardware:

IC26 top board, ref. 315-5223A, CK2605 device read and converted to GA22V10 (wouldn't fit in a GAL16V8 since pin 11 can't be configured as an output, fits in a GAL18V10 see below). Simply tie pins 10 & 12 (ground) and leave pins 11/12/13/14 sticking out of the socket (pin 1 aligned to pin 1).

IC26 top board, ref. 315-5223A (CK2605) reversed in a GAL18V10:

IC62 top board, ref. 315-5225 (PAL16R4), brute forced and reversed in a GAL16V8:

IC79 top board, ref. 315-5226 (PAL16R4), brute forced and reversed in a GAL16V8:

IC108 top board, ref. 315-5224, CK2605 device read and converted to GAL16V8:

System 16B:

@G8 on the motherboard, ref. 315-5213 (PAL16R6), brute-forced and reversed in a GAL16V8 (also used on Y board hardware, IC20 on bottom board):

Sega X board hardware:

IC18, ref. 315-5280 (CK2605) reversed in a GAL16V8:

IC84, ref. 315-5278, PAL16L8 device recreated from the schematics for a GAL16V8 since it was completely missing from my board:

IC109, ref. 315-5290, PAL16L8 device brute-forced and converted to GAL16V8:

IC117, ref. 315-5291, PAL16L8 device brute-forced and converted to GAL16V8:

IC127, ref. 315-5304 (PAL16R6, all games except After Burner), reversed in a GAL16V8:

IC127, ref. 315-5279 (PAL16R6, only After Burner), reversed in a GAL16V8 (not tested):

Sega Y board hardware:

IC20 top board, ref. 315-5314, PAL16L8 device brute-forced and converted to GAL16V8:

IC49 top board, ref. 315-5316 (PAL16L8) reversed in a GAL16V8:

IC76 top board, ref. 315-5315, PAL16L8 device brute-forced and converted to GAL16V8:

IC96 top board, ref. 315-5318, PAL16L8 device brute-forced and converted to GAL16V8:

IC98 top board, ref. 315-5317, PAL16R4 device brute-forced and converted to GAL16V8:

IC103 top board, ref. 315-5280, CK2605 device read and converted in a GAL16V8:

IC104 top board, ref. 315-5328 (CK2678), won't fit in a GAL16V8 (pins 9 & 11 are outputs, fits in a GAL18V10 see below). Bridge pins 10 & 12 of the GAL22V10 and leave pins 11/11/13/14 sticking out of the socket. Also bridge pins 9 & 14.

IC104 top board, ref. 315-5328 (CK2678) reversed in a GAL18V10:

IC20 bottom board, ref. 315-5213 (PAL16R6), brute-forced and reversed in a GAL16V8 (also used @G8 on System 16B motherboards):
IC43 bottom board, ref. 315-5319, PAL16L8 device brute-forced and converted to GA22V10 (wouldn't fit in a GAL16V8 because of missing feedback, fits in a GAL18V10 see below). Simply tie pins 10 & 12 (ground) and leave pins 11/12/13/14 sticking out of the socket (pin 1 aligned to pin 1).

IC43 bottom board, ref. 315-5319 (PAL16L8) reversed in a GAL18V10:

IC134 bottom board, ref. 315-5325 (PAL16R4) reversed in a GAL16V8 (many thanks to member trol for sending me a replacement chip):

1 comment:

  1. Excellent work!Now people selling these programmed GALs can go to hell :)

    ReplyDelete