|
* TinkerDifferent *
Retro Computing Community |
| Home | Forums | What's New | Search | Settings |
| DuPAL - A dedicated toolset for reverse engineering PAL/HAL SPLD's |
|
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 ToolsCollection 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
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
Thanks. |
|
Kai Robinson TinkerDifferent Board President 2023 Worthing, UK -------- Joined: Sep 2, 2021 Posts: 1,322 Likes: 1,313 |
Aug 8, 2025 - #6
Liked by usefi5961 |
|
usefi5961 New Tinkerer -------- Joined: Aug 7, 2025 Posts: 3 Likes: 0 |
Aug 9, 2025 - #7
|
| Page 1 of 1 |
| Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings |
| XenForo Retro Proxy by TinkerDifferent.com |