3/31/2025 at 8:47:21 PM
I'm surprised the microcode ROM and format hasn't been dumped already. Is anyone working on this?EDIT: The later Atom processors were dumped, are there any similarities?
[1] https://x.com/_markel___/status/1262697756805795841
[2] https://github.com/chip-red-pill/glm-ucode
EDIT 2: Some Pentium Pro disassembly work: https://pbx.sh/pentiumii-part2/
by mmastrac
3/31/2025 at 9:11:01 PM
There are some people working on the 386 microcode. Dumping the Pentium microcode ROM from the die photos would be straightforward (but tedious). The hard part is to figure out what all the bits mean.by kens
3/31/2025 at 9:19:25 PM
Any ideas if the mask ROM is scrambled? Apparently the P6 doesn't have a direct mask ROM : microcode relationship.by mmastrac
3/31/2025 at 9:24:22 PM
The Pentium's ROM appears to be slightly scrambled (see footnote 6 in my article). ROMs are often a bit permuted for electrical reasons. For example, instead of columns ordered ABABABAB..., they will be ordered ABBAABBA... and then the A and B select lines can be shared by two columns. But the columns in the Pentium appear to be permuted in an irregular way. I'm not sure if this was for obfuscation or if automated layout software decided this was better.by kens
3/31/2025 at 9:40:56 PM
I'm curious if the register you see near the microcode ROM is potentially hooked up to MSRs -- it could potentially be a read or write buffer.https://www.cs.cmu.edu/~ralf/papers/highmsr.html
> To the left of the MAR is a 32-bit register that is apparently unrelated to the microcode ROM, although I haven't determined its function.
by mmastrac
3/31/2025 at 9:59:47 PM
That register could be a Model-Specific Register; I haven't looked at it closely enough to see what it does. The Pentium is very complicated with 3.1 million transistors, so my reverse-engineering of it is essentially bits and pieces here and there.by kens
4/1/2025 at 7:07:05 AM
> are there any similarities?Don't know about the format, but if you look thru old ITJ articles[^1], it seems like the "direct access" interface for reading out different memories exists on older Pentium parts too. Presumably, if it were possible to dump over JTAG, it would be at least a little bit similar to what Peter/Mark have already looked at on newer parts.
[^1: https://www.intel.com/content/dam/www/public/us/en/documents...
by eigenform