z386: An Open-Source 80386 Built Around Original Microcode

(nand2mario.github.io)

78 points | by wicket 5 hours ago ago

16 comments

  • cbdevidal 3 hours ago ago

    Of course they tested Doom :-D

    They might also run Linux kernel 3.7, that supported i386. Gray386linux is still maintained, and runs a patched 3.7 kernel.

    https://github.com/marmolak/gray386linux

    • nand2mario 3 hours ago ago

      Doom (DOS extender games) is an easier protected mode application as it does not use complex page tables. Linux is much more complex.

      • cbdevidal 3 hours ago ago

        I have faith in you!!

    • KellyCriterion 3 hours ago ago

      haha, this was my first thought when I read the headline, because this "classic test" always comes up here :-))

  • KellyCriterion 3 hours ago ago

    Question: Are there today any 386 instances running somewhere in the basement to do some productive stuff, maybe processing only some controller data once a day?

    I remember the link some month ago where that one small shop ran completely on an old Amiga (?IIRC, not sure, was linked here)

    Around 98/99 I was involved in a small IT-management company serving SME around the region, we had a client producing distinct metal objects with a big press; this got feeded once a day with a 5.25 floppy from another machine with production data - and it was still in use while we had already ethernet/USB/3.5 floppies etc. :-D

    • userbinator 2 hours ago ago

      There's likely plenty of them still in use in industrial/embedded applications.

    • geon an hour ago ago

      I think there are industrial pcs with a 486-compatible soc.

      A ton of industrial equipment are still using win 3.1.

      • bzzzt 36 minutes ago ago

        Consequence of the 'if it works, why mess with it?' mindset. It will become a problem when those boards give out and spares are gone.

    • bitwize 3 hours ago ago

      A few years ago there was a story where the single Amiga that ran an entire US school district's HVAC was replaced with a system costing like 1.5 million dollars, after 30 years of dutiful service.

      I can't think of examples offhand but you bet your ass there are donut shops and auto body repair services running 386s to do POS, inventory, and the like. Some of them may be driving terminals off Xenix.

      • xp84 2 hours ago ago

        Funny thing about this is that the character-based systems of that era, whether PC-type or host+terminal type, were most of the time so much faster and more responsive than the laggy, over-animated, touchscreen trash they always replace them with in order to get big screens and prettier graphics.

        • zozbot234 an hour ago ago

          The Amiga was not character-based, it ran an accelerated framebuffer (with support for scanning out multiple resolutions and color depths on a single screen).

  • UncleOxidant 2 hours ago ago

    Kind of surprised this only takes 18K LUTs. That's a fairly small FPGA these days.

  • mmastrac 4 hours ago ago

    Did the microcode disassembly find any useful backdoors to read microcode without decapping?

    • nand2mario 4 hours ago ago

      Not really. The 386 does not have an interface to read the ROM direclty. Instead, it uses the Built-In Self-Test (BIST) to verify the ROM's contents. It's basically a checksum-like mechanism that verify the integrity of the CROM.

    • NooneAtAll3 an hour ago ago

      there are several iterations of 386 and only one was disassembled

      so there's still a chance