* TinkerDifferent *
Retro Computing Community
Home | Forums | What's New | Search | Settings
DuPAL - A dedicated toolset for reverse engineering PAL/HAL SPLD's

Forums > The Lab > Hardware

Kai Robinson
TinkerDifferent Board President 2023
Worthing, UK
--------
Joined: Sep 2, 2021
Posts: 1,322
Likes: 1,313
Jan 21, 2022 - #1
If like me you're into the reverse engineering of stuff like the SPLD PAL/HAL chips used on early 68k macs, you might be interested in this - DuPAL

DuPAL - PAL Reversing Tools

Collection of tools I use to reverse engineer PAL devices. These tools are meant to satisfy my needs. I'm sharing them here in case someone finds them useful. - DuPAL - PAL Reversing Tools
[Image: github.com] github.com

It's not just software, it's also an open source hardware project you can build yourself. Once assembled, you put a PAL chip into the board, run the software, and essentially it should 'reverse' the chip functions for you.

It's been possible to reverse PAL's previously, but generally only devices which are purely combinatorial in nature, not registered ones - DuPAL does all of these:

Combinatorial
  • PAL10L8
  • PAL16L8
  • PAL20L8
Registered
  • PAL16R4
  • PAL16R6
  • PAL16R8
  • PAL20R4
  • PAL20R6
  • PAL20R8
Attachments:
github.com [View]
github.com [View]

Liked by demikandStephen

demik
Tinkerer
--------
Joined: Oct 11, 2021
Posts: 46
Likes: 43
Jan 24, 2022 - #2
I build one of theses a while ago. It's not magical on complex PALs, like combinatorial ones with multiple feedbacks. But they do help.
Registered ones are better reversed using the DuPAL_Peeper tool than brute forcing with the DuPAL_Analyzer

Good stuff !

Liked by Kai Robinson

Bolle
Tinkerer
--------
Joined: Nov 1, 2021
Posts: 55
Likes: 95
Jan 24, 2022 - #3
Just as the readme on github says, this is by far not a tool to "dump" PALs at all.
It's more or a just a tool to assist manually rewriting equations to match existing PALs. (no need to say - it's great at that though)
So figuring out PALs using DuPAL still takes a lot of time, effort and knowledge about the circuit it's sitting in (#3 not necessarily needed but it helps A LOT if you at least roughly know what's going on)

Most of the time it's just like demik already said, it's the combinatorial PALs that are hard, not the registered ones. On a combinatorial PAL with feedbacks everything happens asynchronously... depending on how things are set up there will be states that happen so fast (at the speed of the propagation delay of the device) that you can't see them while probing the device. In some cases (more often than you think) this turns out to be important, for example when you're working with timing sensitive components... DRAM control is what comes to mind and where I have seen exactly this happening in multiple different devices.
A registered PAL has strictly defined states that you can easily clock through and take notes of the changes and write equations or build truth tables accordingly. This is actually much easier.

Kai Robinson
TinkerDifferent Board President 2023
Worthing, UK
--------
Joined: Sep 2, 2021
Posts: 1,322
Likes: 1,313
Jan 24, 2022 - #4
Amended the title to better reflect the toolset :)

usefi5961
New Tinkerer
--------
Joined: Aug 7, 2025
Posts: 3
Likes: 0
Aug 8, 2025 - #5
>> Kai Robinson said:
Amended the title to better reflect the toolset Click to expand...
Thank you very much for sharing information,I like to build this project to reading decrypted pal16l8 can you please send me files needed for this project and I need more information step by step to making.and have tools for deasembling .jedec files?where can I download?
Thanks.

Kai Robinson
TinkerDifferent Board President 2023
Worthing, UK
--------
Joined: Sep 2, 2021
Posts: 1,322
Likes: 1,313
Aug 8, 2025 - #6
>> usefi5961 said:
Thank you very much for sharing information,I like to build this project to reading decrypted pal16l8 can you please send me files needed for this project and I need more information step by step to making.and have tools for deasembling .jedec files?where can I download? Thanks. Click to expand...
Hi - I merely posted the link, i've not used the tools - check the link itself in the initial post, which will send you to GitHub and explain more than this thread.

Liked by usefi5961

usefi5961
New Tinkerer
--------
Joined: Aug 7, 2025
Posts: 3
Likes: 0
Aug 9, 2025 - #7
>> Kai Robinson said:
Hi - I merely posted the link, i've not used the tools - check the link itself in the initial post, which will send you to GitHub and explain more than this thread. Click to expand...
Thank you very much,but I don't find source file for mcu and I don't software to open kicad files.does in market pcb ?

Page 1 of 1

Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings
XenForo Retro Proxy by TinkerDifferent.com