NetBSD 10.x kernel MATH_EMULATION
This is my battle-worn, falling-apart laptop rocking an #i486SX CPU from the early ’90s. It’s so ancient that it doesn’t even have an FPU (Actually, that’s not true, they just cut-out FPU from i486DX to make CPU cheaper)! Anyway, I’ve always dreamed of running a modern UNIX-like OS on it.
So, I spent some time resurrecting math emulation in the #NetBSD-10.x kernel, and guess what? I did it! But here’s the kicker—the very moment I finished compiling the kernel, ready to test my work, my laptop decided to stop recognizing the Enter key. Just like that. Now, I have no idea if my FPU emulation actually works or not!
So, #retrocomputing folks—if anyone out there has an i486SX machine and is willing to give this a spin, I’d really appreciate it!
UPD: 11.03.2025: Significant progress
UPD: 31.03.2025: Results delivered to the user
Today the simple, yet correct, calculation results were successfully delivered to the user!
UPD 2025.04.27:🚀 First Release is Here! 🚀
I’m excited to announce the first release of i486SX_soft_FPU — a software FPU emulator for the classic Intel 486SX CPU, running on NetBSD 10!
This project brings floating-point support back to life for 486SX machines, even though modern NetBSD versions no longer natively support processors without a hardware FPU.
If you’re into retrocomputing, operating system hacking, or just love old-school hardware, check it out!
👉 Project page: https://github.com/mezantrop/i486SX_soft_FPU
Contributions, feedback, and testing are all very welcome!
Let’s keep these vintage machines alive! 🔥🖥️
#retrocomputing #NetBSD #486SX #opensource
UPD 2025.05.03: 86Box
Just successfully tested #NetBSD-10.1 with #i486SX #FPU_emulation on #86Box
#486SX #86Box #FPUEmulation #FPUEmulation #i486SX #NetBSD #opensource #retroComuting #retrocomputing
Currently I just need to find out what went wrong and see how I can make OS/1337 go brrrrrr.
So if anyone has any ideas, please feel free to contact me:
https://mstdn.social/@kkarhan/111409592616485280
Also #boosts appreciated!
#OS1337 #Linux #boot #Kernel #Toybox #FLOSS #FOSS #Software #Development #bugfixing #bugs #init #Syslinux #Floppinux #Floppy #embedded #embeddedLinux #i486 #i486SX #VintageComputing #Terminal #SSH #Distro #LinuxDistro #BuildFromSource #HelpWanted
Attached: 1 image :boost_ok: :boost_requested: :boost_animated: OS/1337 development goes on... Tho I'm a bit stuck on the boot pipeline... Anyone any idea why? #Linux #OS1337 #embedded #syslinux #Floppinux #EmbeddedLinux #toybox #boot #i486 #ix86 #OpenSource #development #Software
Think of it like the #VT69 by @violenceworks but #BYOD (#BringYourOwnDevice) to support the oldest and slowest machines that can be supported (#i486-SX), just that it'll allow you to #SSH into anything*...
https://www.youtube.com/watch?v=wYfpptgb6W8
http://violence.works/
Yeah, I know, nothing fancy but IMHO way more useful than #Floppinux:
https://github.com/w84death/floppinux
BTW the #documentation on that is excellent:
https://archive.org/details/floppinux-manual/
*that supports password-based auth.