Live data from Hacker News

z386: An Open-Source 80386 Built Around Original Microcode

nand2mario.github.io

31–39 of 39 posts

Re: z386: An Open-Source 80386 Built Around Original Microcode

#31
post #7

Earlier quoted context omitted.

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.

You missed a fun part of that story! The person who programmed it was a kid in the district at the time. They continued to hire him to come back and maintain it any time they had issues, which apparently was fairly rare.

And back in the 90s, before anybody knew anything about risk or "bus factor", that might've made sense. But it's no surprise that they paid a pretty penny for an actual support contract after decommissioning that system.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#32

Sadly, without an accompanying FPGA-implementation of an FPU it's much less useful for productivity work/research, i.e. outside of 08/15 gaming and application fare. Same with Ao486, which only implements a 486SX.

I think there are two reasons we haven’t seen an FPGA FPU yet, especially for MiSTer.

First, FPUs are complex and FPGA support for floating point is limited. There's DSP blocks for integer additions and multiplications. But very little FP support.

Second, the CPU itself may not be fast enough for an FPU to matter much. Quake wants at least a 75 MHz Pentium, while ao486-MiSTer is closer to a 486-66. So we probably need both a faster CPU design and a faster FPGA. Maybe Altera's new Agilex 5 will be useful here.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#33

Sadly, without an accompanying FPGA-implementation of an FPU it's much less useful for productivity work/research, i.e. outside of 08/15 gaming and application fare. Same with Ao486, which only implements a 486SX.

I think there are two reasons we haven’t seen an FPGA FPU yet, especially for MiSTer. First, FPUs are complex and FPGA support for floating point is limited. There's DSP blocks for integer additions and multiplications. But very little FP support. Second, the CPU itself may not be fast enough for an FPU to matter much. Quake wants at least a 75 MHz Pentium, while ao486-MiSTer is closer to a 486-66. So we probably nee…

Aye. Well, hopefully something comes to pass as a lot of industry-specific applications demand the (emulated) physical presence of an FPU. Keeping that in mind, it's obviously high-level bitching (as we say in Germany); I, as a fan of IBM PCs and compatibles, am very fascinated by your and others' awesome work in this domain.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#34
post #14

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

How does it compare to something like VexRisc [0] with respect to its capabilities? I know having x86 support is a metric all by itself. [0] https://github.com/spinalhdl/vexriscv

A lot of RISCV implementations are going to be better and take a lot less resources in an FPGA due to the much more-easily-decoded ISA. What I was saying above was that I was surprised that they could get an x86 into that few LUTs as the x86 ISA is not well suited to efficient implementations.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#35

Earlier quoted context omitted.

I think there are two reasons we haven’t seen an FPGA FPU yet, especially for MiSTer. First, FPUs are complex and FPGA support for floating point is limited. There's DSP blocks for integer additions and multiplications. But very little FP support. Second, the CPU itself may not be fast enough for an FPU to matter much. Quake wants at least a 75 MHz Pentium, while ao486-MiSTer is closer to a 486-66. So we probably nee…

Aye. Well, hopefully something comes to pass as a lot of industry-specific applications demand the (emulated) physical presence of an FPU. Keeping that in mind, it's obviously high-level bitching (as we say in Germany); I, as a fan of IBM PCs and compatibles, am very fascinated by your and others' awesome work in this domain.

> a lot of industry-specific applications demand the (emulated) physical presence of an FPU

Can you name some? I cant come up with any real world uses of FPU implemented PC for industrial use. Even MISTER is pushing it considering availability of emulation.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#36
post #35

Earlier quoted context omitted.

Aye. Well, hopefully something comes to pass as a lot of industry-specific applications demand the (emulated) physical presence of an FPU. Keeping that in mind, it's obviously high-level bitching (as we say in Germany); I, as a fan of IBM PCs and compatibles, am very fascinated by your and others' awesome work in this domain.

> a lot of industry-specific applications demand the (emulated) physical presence of an FPU Can you name some? I cant come up with any real world uses of FPU implemented PC for industrial use. Even MISTER is pushing it considering availability of emulation.

What I've personally seen that needed an FPU: a water analysis package for a "field laboratory" (its centerpiece being a luggable PC), several in-house applications of an insurance company (which my mentor, a mathematician, coded), as well as a bespoke, modular sasec (safety and security) suite for facility management. I'm slowly building a reference list of DOS- and UNIX-based industry software, as I have an interest in that stuff. Can't help with any names. Yet.

So much for needed. Packages that run without, but are only fully useful with an FPU, were relatively common.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#37
post #35

Earlier quoted context omitted.

> a lot of industry-specific applications demand the (emulated) physical presence of an FPU Can you name some? I cant come up with any real world uses of FPU implemented PC for industrial use. Even MISTER is pushing it considering availability of emulation.

What I've personally seen that needed an FPU: a water analysis package for a "field laboratory" (its centerpiece being a luggable PC), several in-house applications of an insurance company (which my mentor, a mathematician, coded), as well as a bespoke, modular sasec (safety and security) suite for facility management. I'm slowly building a reference list of DOS- and UNIX-based industry software, as I have an interes…

Sorry, I meant FPGA implemented PC.

Re: z386: An Open-Source 80386 Built Around Original Microcode

#38
post #7

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 meta…

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.

RE "...A few years ago there was a story where the single Amiga that ran an entire US school district's HVAC....."

https://web.archive.org/web/20150616052358/http://www.geek.c...

From cira ..2018 ...

Re: z386: An Open-Source 80386 Built Around Original Microcode

#39
post #30

Earlier quoted context omitted.

RE "....a system costing like 1.5 million dollars, after 30 years of dutiful service....." I immediately wondered ... how long the new system would last or be used .... and how long it would be problem free ?

Ultimately that kind of question doesn't really matter. The only question that matters is "who will fix it when it breaks?" The Amiga system was a single machine running custom code written by one guy. If that guy dies or decides to quit maintaining it and it fails, hundreds of school kids are going to end up shivering or overheating for who knows how long. That's an unpleasant risk that may prove more costly than th…

Having worked as a software configuration manager for several years ...

Yes who ever allowed it to be installed ....

Should have - before it was deployed ...

Should have got independent review of the code and documentation and available support. How maintanable to code was ? Document the dev environment , tools linkers ete etc

.... as a start

Post reply on HN