What's new

Tailsnic Retroworks

Professional
Joined
Jan 8, 2019
Messages
426
Reaction score
219
Location
Spain
Hi. I want to ask if anyone has the 8 encrypted GAL16V8 files of the game Mutant Fighter from DATA EAST. I have tried to convert the PAL16 dumps from the PLD wiki, but I haven't done that before and I'm lost.

My original board uses GAL16V8, so I suppose someone has repaired one with GAL16V8 files (I have GAL16V8B in stock). Any help would be very appreciated, really.
 
There’s nothing to convert, you program the .jed file to your GAL and you’re done!
The files are adapted to PAL16L8, they are not the same as I have been told.

EDIT: also, if you use JEDUTIL with the instruction for viewing the compatible memory types with the files, GAL16V8 isn't on the list
 
Last edited:
Ah I didn't see that! usually they're targetted for gal16v8 already.

Well I haven't tried it but you could give this a shot: paltogal.exe from lattice if you have a 32 bit computer somewhere
https://www.latticesemi.com/en/Support/AnswerDatabase/7/1/710
Instructions: https://www.princeton.edu/~mae412/HANDOUTS/EMP21 doc/GAL16V8.htm

Or jedutil to spit out the equations, and something like wincupl to rebuild from there, but that's more involved:
Code:
jedutil -view MutantFighter_TR-1.jed PAL16L8
 

Attachments

  • paltogal.zip
    31.4 KB · Views: 86
I have a parts donor original Mutant Fighter board and I’d happily give you the PALs if you cover shipping.
 
I have a parts donor original Mutant Fighter board and I’d happily give you the PALs if you cover shipping.
Many thanks. I'll take it in mind if I don't find a way for creating the GAL16V8 files.

@ekorz Caius told me PALTOGAL isn't assured to work in the conversion, and I don't know how to port the equations to Wincupl. That's my problem, xD. I haven't done anything about encryption pics before, I am a newbie
 
yeah..... I can't say this is my strong suit either but here's a try (and maybe the kick-start you need to figure it out).
Grab winCUPL: https://www.microchip.com/en-us/products/fpgas-and-plds/spld-cplds/pld-design-resources
output equations with the command I put in above
When loading wincupl go to Options>Compiler>Library and select the included Atmel.dl
use the attached PLD file as a template (it is my attempt at converting the 1st PLD and you can run it to generate a GAL, and use it to see how it was built from the equations)
follow the general instructions in the attached lecture05.pdf - it's not exact but it's close
It should take that PLD and build you a JED for the gal16v8 target
in theory :)
(The gals are thankfully erasable!!)

files: https://mega.nz/file/J1RiXLAL#q4nr-P6jtl3qRBmL5VwlUEfK2SKeKHpq-KZikOmMjwI

what I am not sure about...
Mame says 'o12.oe = vcc' i.e. output enable = Vcc and I really didn't know what to do with that information, so I omitted it and the file built successfully anyway.
The linebreaks in the mame outputted equations used "+" and I converted those to just single lines with "&" but that might have been a mistake.

Hopefully you can fiddle with that from here!

Maybe @ShootTheCore (or anyone following?) can try burning this attached result/JED in place of his TR-1 to check my work if his parts/donor still boots
 

Attachments

  • MF_TR-1.zip
    429 bytes · Views: 65
Last edited:
Sorry, but I won’t be able to test the files - my parts donor has already had some customs removed and it isn’t functional.
 
there are several versions of "PAL2GAL" just so you know.
and last time i tested them, they only worked in dos.
although thats fine because you can get a freedos livedisk on a usb stick :)
 
Many thanks to all for your help. I'm trying to figure out the GALs conversion yet. I'll tell you when I know something about
 
Back
Top