Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

Scheduled Pinned Locked Moved Uncategorized
retrocomputingvintagecomputinmicrocodereverseengineer
82 Posts 22 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

    @thomasfuchs The same CNN process was used to extract the multi-level microcode for the 8087 - the process of decoding that is still on-going.

    That chip is insane and @kenshirriff is about our only hope for ever decoding how it works. It has microcode, but there is far less separation between discrete logic and the microcode engine than on conventional CPUs. It's like the roots have grown into all the plumbing, and requites laborious circuit-tracing to understand what the much of the microcode even does.

    You can see the extracted 8087 microcode here. No mistakes were ever found or reported:

    oh, i actually see someone's opened two issues. i must have missed the email lol

    https://8087.martypc.net/

    bitcrush_io@oldbytes.spaceB This user is from outside of this forum
    bitcrush_io@oldbytes.spaceB This user is from outside of this forum
    bitcrush_io@oldbytes.space
    wrote last edited by
    #32

    @gloriouscow
    All of this is so cool and I'm awed by the amount of effort put in. Thank you!
    @thomasfuchs @kenshirriff

    1 Reply Last reply
    0
    • R relay@relay.publicsquare.global shared this topic
    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

      One of my early experiments in OpenCV produced an unintentional piece of Microcode Art I'm still fond of.

      This was a result of attempting auto-segmentation using incrementing hue on the various segments. Needless to say, a lovely disaster.

      bitcrush_io@oldbytes.spaceB This user is from outside of this forum
      bitcrush_io@oldbytes.spaceB This user is from outside of this forum
      bitcrush_io@oldbytes.space
      wrote last edited by
      #33

      @gloriouscow
      Is there an uncompressed version of this file you'd be willing to share? It really is beautiful and I'm wondering how it would look printed out and framed.

      gloriouscow@oldbytes.spaceG 1 Reply Last reply
      0
      • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

        I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

        It was an group effort by a bunch of talented people to extract and correct the physical bits, but the major work of decoding them was done by reenigne - you may know him from such incredible PC demos as 8088 MPH and Area 5150, as well as being the person who decoded the 8088 microcode previously.

        Please, check out his writeup.

        https://www.reenigne.org/blog/80386-microcode-disassembled/

        #retrocomputing #vintagecomputing #microcode #reverseengineering

        gloriouscow@oldbytes.spaceG This user is from outside of this forum
        gloriouscow@oldbytes.spaceG This user is from outside of this forum
        gloriouscow@oldbytes.space
        wrote last edited by
        #34

        Here's a little bit of banana for scale to appreciate how tiny the features we're working with are.

        I have this acrylic keychain that has an actual 386 die in it.

        It's Today's Choice, you see. (The rear side has a 486 die, with "Tomorrows Vision" labelled above it, something that I will never get tired of reading. Oh my god, I'm so old.)

        Link Preview Image
        gloriouscow@oldbytes.spaceG whimsy@chitter.xyzW lunarloony@dosgame.clubL magnetic_tape@infosec.exchangeM 4 Replies Last reply
        0
        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

          Here's a little bit of banana for scale to appreciate how tiny the features we're working with are.

          I have this acrylic keychain that has an actual 386 die in it.

          It's Today's Choice, you see. (The rear side has a 486 die, with "Tomorrows Vision" labelled above it, something that I will never get tired of reading. Oh my god, I'm so old.)

          Link Preview Image
          gloriouscow@oldbytes.spaceG This user is from outside of this forum
          gloriouscow@oldbytes.spaceG This user is from outside of this forum
          gloriouscow@oldbytes.space
          wrote last edited by
          #35

          See the tiny little darker-color square on the lower left? That's the microcode array, all 94,720 bits of it.

          Link Preview Image
          1 Reply Last reply
          0
          • bitcrush_io@oldbytes.spaceB bitcrush_io@oldbytes.space

            @gloriouscow
            Is there an uncompressed version of this file you'd be willing to share? It really is beautiful and I'm wondering how it would look printed out and framed.

            gloriouscow@oldbytes.spaceG This user is from outside of this forum
            gloriouscow@oldbytes.spaceG This user is from outside of this forum
            gloriouscow@oldbytes.space
            wrote last edited by
            #36

            @bitcrush_io Sadly I don't. I was rapidly filling up my hard drive with hundreds of very large images being generated from the over 50 different python scripts I wrote over the course of bit extraction and the original full resolution version got accidentally deleted in a clean-up 😞

            I likely have the original script that made it, and I might be able to reproduce it if I can determine the original parameters that I used, but it will take some fiddling. I was running scripts on some post-processed versions of the input image as well so there's really no telling if I'll find the right combination. Bummer.

            bitcrush_io@oldbytes.spaceB 1 Reply Last reply
            0
            • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

              I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

              It was an group effort by a bunch of talented people to extract and correct the physical bits, but the major work of decoding them was done by reenigne - you may know him from such incredible PC demos as 8088 MPH and Area 5150, as well as being the person who decoded the 8088 microcode previously.

              Please, check out his writeup.

              https://www.reenigne.org/blog/80386-microcode-disassembled/

              #retrocomputing #vintagecomputing #microcode #reverseengineering

              linear@nya.socialL This user is from outside of this forum
              linear@nya.socialL This user is from outside of this forum
              linear@nya.social
              wrote last edited by
              #37
              @gloriouscow@oldbytes.space how long until the 486? that's the one i am most interested in 🙂

              (only half joking...)
              magnetic_tape@infosec.exchangeM 1 Reply Last reply
              0
              • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                @bitcrush_io Sadly I don't. I was rapidly filling up my hard drive with hundreds of very large images being generated from the over 50 different python scripts I wrote over the course of bit extraction and the original full resolution version got accidentally deleted in a clean-up 😞

                I likely have the original script that made it, and I might be able to reproduce it if I can determine the original parameters that I used, but it will take some fiddling. I was running scripts on some post-processed versions of the input image as well so there's really no telling if I'll find the right combination. Bummer.

                bitcrush_io@oldbytes.spaceB This user is from outside of this forum
                bitcrush_io@oldbytes.spaceB This user is from outside of this forum
                bitcrush_io@oldbytes.space
                wrote last edited by
                #38

                @gloriouscow
                Totally understandable, and certainly no need to do all that on my account. If you did find the script, I imagine there's all kinds of variations on this idea that would look fantastic without needing to recreate this image exactly.

                gloriouscow@oldbytes.spaceG 1 Reply Last reply
                0
                • bitcrush_io@oldbytes.spaceB bitcrush_io@oldbytes.space

                  @gloriouscow
                  Totally understandable, and certainly no need to do all that on my account. If you did find the script, I imagine there's all kinds of variations on this idea that would look fantastic without needing to recreate this image exactly.

                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                  gloriouscow@oldbytes.space
                  wrote last edited by
                  #39

                  @bitcrush_io That is true. I think a version without the black might look better.

                  I think the complete lack of intention behind it is something magical though.

                  gloriouscow@oldbytes.spaceG 1 Reply Last reply
                  0
                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                    I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

                    It was an group effort by a bunch of talented people to extract and correct the physical bits, but the major work of decoding them was done by reenigne - you may know him from such incredible PC demos as 8088 MPH and Area 5150, as well as being the person who decoded the 8088 microcode previously.

                    Please, check out his writeup.

                    https://www.reenigne.org/blog/80386-microcode-disassembled/

                    #retrocomputing #vintagecomputing #microcode #reverseengineering

                    rk@mastodon.well.comR This user is from outside of this forum
                    rk@mastodon.well.comR This user is from outside of this forum
                    rk@mastodon.well.com
                    wrote last edited by
                    #40

                    @gloriouscow

                    Goddamn incredible

                    1 Reply Last reply
                    0
                    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                      Here's a little bit of banana for scale to appreciate how tiny the features we're working with are.

                      I have this acrylic keychain that has an actual 386 die in it.

                      It's Today's Choice, you see. (The rear side has a 486 die, with "Tomorrows Vision" labelled above it, something that I will never get tired of reading. Oh my god, I'm so old.)

                      Link Preview Image
                      whimsy@chitter.xyzW This user is from outside of this forum
                      whimsy@chitter.xyzW This user is from outside of this forum
                      whimsy@chitter.xyz
                      wrote last edited by
                      #41

                      @gloriouscow I have to assume those dies must have failed QA because otherwise those must have been really expensive keychains.

                      gloriouscow@oldbytes.spaceG 1 Reply Last reply
                      0
                      • whimsy@chitter.xyzW whimsy@chitter.xyz

                        @gloriouscow I have to assume those dies must have failed QA because otherwise those must have been really expensive keychains.

                        gloriouscow@oldbytes.spaceG This user is from outside of this forum
                        gloriouscow@oldbytes.spaceG This user is from outside of this forum
                        gloriouscow@oldbytes.space
                        wrote last edited by
                        #42

                        @whimsy I would assume so.

                        1 Reply Last reply
                        0
                        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                          I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

                          It was an group effort by a bunch of talented people to extract and correct the physical bits, but the major work of decoding them was done by reenigne - you may know him from such incredible PC demos as 8088 MPH and Area 5150, as well as being the person who decoded the 8088 microcode previously.

                          Please, check out his writeup.

                          https://www.reenigne.org/blog/80386-microcode-disassembled/

                          #retrocomputing #vintagecomputing #microcode #reverseengineering

                          paulehoffman@infosec.exchangeP This user is from outside of this forum
                          paulehoffman@infosec.exchangeP This user is from outside of this forum
                          paulehoffman@infosec.exchange
                          wrote last edited by
                          #43

                          @gloriouscow I just wanna say as an Old Skool nerd, this is absolutely amazing. As John and Hank Green would say, this is definitely committing to the bit. Bravo!

                          1 Reply Last reply
                          0
                          • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                            @bitcrush_io That is true. I think a version without the black might look better.

                            I think the complete lack of intention behind it is something magical though.

                            gloriouscow@oldbytes.spaceG This user is from outside of this forum
                            gloriouscow@oldbytes.spaceG This user is from outside of this forum
                            gloriouscow@oldbytes.space
                            wrote last edited by
                            #44

                            @bitcrush_io so, good news! I've been able to recover this particular disaster workflow.

                            I'm not sure the exact parameters so an exact recreation may not be possible, but I was able to produce these. Which one do you like best? (the upper-left one is the original, for comparison).

                            Link Preview Image
                            1 Reply Last reply
                            0
                            • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                              Here's a little bit of banana for scale to appreciate how tiny the features we're working with are.

                              I have this acrylic keychain that has an actual 386 die in it.

                              It's Today's Choice, you see. (The rear side has a 486 die, with "Tomorrows Vision" labelled above it, something that I will never get tired of reading. Oh my god, I'm so old.)

                              Link Preview Image
                              lunarloony@dosgame.clubL This user is from outside of this forum
                              lunarloony@dosgame.clubL This user is from outside of this forum
                              lunarloony@dosgame.club
                              wrote last edited by
                              #45

                              @gloriouscow This weirdly reminds me of those plastic trinkets you used to get that contained """real""" moon dust

                              gloriouscow@oldbytes.spaceG 1 Reply Last reply
                              0
                              • lunarloony@dosgame.clubL lunarloony@dosgame.club

                                @gloriouscow This weirdly reminds me of those plastic trinkets you used to get that contained """real""" moon dust

                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.space
                                wrote last edited by
                                #46

                                @lunarloony there's actually a shit ton of moon dust out there, they brought back 842 pounds rock and soil over all the Apollo missions

                                I'm not sure I'd be confident about any random keychain, but its not infeasible. It's fun reading about how many moon rocks were stolen or lost, too.

                                https://www.beautifulpublicdata.com/nasa-lunar-sample-collection/

                                1 Reply Last reply
                                0
                                • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                  I'm incredibly pleased to announce that the microcode for the Intel 80386 has been decoded.

                                  It was an group effort by a bunch of talented people to extract and correct the physical bits, but the major work of decoding them was done by reenigne - you may know him from such incredible PC demos as 8088 MPH and Area 5150, as well as being the person who decoded the 8088 microcode previously.

                                  Please, check out his writeup.

                                  https://www.reenigne.org/blog/80386-microcode-disassembled/

                                  #retrocomputing #vintagecomputing #microcode #reverseengineering

                                  cgervasi@fosstodon.orgC This user is from outside of this forum
                                  cgervasi@fosstodon.orgC This user is from outside of this forum
                                  cgervasi@fosstodon.org
                                  wrote last edited by
                                  #47

                                  @gloriouscow I was so excited to get a machine with a 386 + math coprocessor when I was 16 y/o. I didn't yet know there was microcode fetching, decoding, and executing the instructions.

                                  1 Reply Last reply
                                  0
                                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                    It's fairly easy to visually decode them. But now just do that 94,000 times.

                                    colinstu@birdbutt.comC This user is from outside of this forum
                                    colinstu@birdbutt.comC This user is from outside of this forum
                                    colinstu@birdbutt.com
                                    wrote last edited by
                                    #48

                                    @gloriouscow a couple OSM nerds and less than a week.. sounds doable.

                                    1 Reply Last reply
                                    0
                                    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                      @datenwolf Oh hey, I get OCT done on my retinas yearly.

                                      Structure size - that's a very good question, maybe @infosecdj could answer more confidently.

                                      The original 286 was a 1.5µm process, but this is a later 80C286.

                                      infosecdj@infosec.exchangeI This user is from outside of this forum
                                      infosecdj@infosec.exchangeI This user is from outside of this forum
                                      infosecdj@infosec.exchange
                                      wrote last edited by
                                      #49

                                      @gloriouscow @datenwolf The pitch between vertical lines on that image is about 5.7 micron.

                                      datenwolf@chaos.socialD 1 Reply Last reply
                                      1
                                      0
                                      • R relay@relay.infosec.exchange shared this topic
                                      • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                        Here's a little bit of banana for scale to appreciate how tiny the features we're working with are.

                                        I have this acrylic keychain that has an actual 386 die in it.

                                        It's Today's Choice, you see. (The rear side has a 486 die, with "Tomorrows Vision" labelled above it, something that I will never get tired of reading. Oh my god, I'm so old.)

                                        Link Preview Image
                                        magnetic_tape@infosec.exchangeM This user is from outside of this forum
                                        magnetic_tape@infosec.exchangeM This user is from outside of this forum
                                        magnetic_tape@infosec.exchange
                                        wrote last edited by
                                        #50

                                        @gloriouscow
                                        Hot damn I love that thing, I own lapel pins of Intel and IBM dies but wasn't aware of that one. Totally jealous!

                                        1 Reply Last reply
                                        0
                                        • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                          @ask Further complicating matters is that once you've decapped a chip like this unless you have some sort of professional-grade clean-room filtration setup you've pretty much destroyed it because of all the microscopic schmutz floating in your average air that will get in and start bridging microscopic traces everywhere.

                                          azonenberg@ioc.exchangeA This user is from outside of this forum
                                          azonenberg@ioc.exchangeA This user is from outside of this forum
                                          azonenberg@ioc.exchange
                                          wrote last edited by
                                          #51

                                          @gloriouscow @ask Not true if there is a remotely decent passivation layer over the top insulating it.

                                          Of course, I have no idea if these older parts actually have exposed metal anywhere... but on anything like 350nm and newer there's gonna be a micron or two of nitride/oxide on top insulating the die surface and protecting it from physical damage. The top metal traces aren't directly exposed.

                                          gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                          1
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups