|
Help transforming Mame PLD format into JEDEC
#170623 - 11/07/08 06:07 PM
|
|
|
Hi everyone-
I'm working on repairing a CPS1 board with a bad pal. I have the mame dump of the pal I wish to recreate, a GAL16v8 for the target and the means to program it.
I grabbed Charles McDonald's Pal software from his blog, and followed the guide on his site completely. I analyzed the mame binary to created a PLD file, created a new file in WinCupl and pasted the contents of my analyzed binary into WinCupl.
I'm able to compile the device as a virtual device in order to get the minimalized set. I took the minimalized set and used it in place of the complete set (and adjusted the syntax). When I change the device from virtual to GAL16v8 and compile, I get 8 errors, one for each pin. The error says there are too many outputs per pin. I tried both of the recommended compiling modes with no luck.
Here is the guide I'm refering to, compliments of Charles McDonald: http://cgfm2.emuviews.com/pal/index.html
Anyone know where I'm going wrong? I was reading on Charles's PAL feedback post just now. Do I need to manually reduce all of the instructions in order to fit on my chip?
Please help!
|
|
|
|
Re: Help transforming Mame PLD format into JEDEC
[Re: billd420]
#170631 - 11/07/08 07:27 PM
|
|
|
OK- So after doing more digging, I found out there is already the JEDUtil within mame! http://maws.mameworld.info/maws/mamesrc/src/tools/jedutil.c
Now, when I convert the CPS1 dump I'm working with, I should end up with a PAL JEDEC, correct? I've seen a program out there that converts PAL to GAL JEDEC... do I need to run this program before I burn the chip?
Thanks!
|
|
|