https://github.com/mezantrop/i486sx_soft_fpu
Bring back FPU emulation for i486SX CPU on NetBSD
https://github.com/mezantrop/i486sx_soft_fpu
fpu-emulator i386 i486 netbsd
Last synced: 7 months ago
JSON representation
Bring back FPU emulation for i486SX CPU on NetBSD
- Host: GitHub
- URL: https://github.com/mezantrop/i486sx_soft_fpu
- Owner: mezantrop
- License: bsd-2-clause
- Created: 2025-01-17T21:02:58.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-22T22:00:00.000Z (7 months ago)
- Last Synced: 2025-03-22T23:17:54.892Z (7 months ago)
- Topics: fpu-emulator, i386, i486, netbsd
- Language: C
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bring back FPU emulation for i486SX CPU on NetBSD
Essentially, this patchest tries to bring back `options MATH_EMULATE` in the kernel configuration file by reverting
the [dfe83e0](https://github.com/NetBSD/src/commit/dfe83e08ca9688dd195a43113e7bc7c58fcdd14a) commit and adoprting it
to the current stage of NetBSD code.
## Disclaimer
**Warning! This is a work-in-progress project: nothing runs properly!**
## Installation
* Read [Chapter 32. Obtaining the sources](https://www.netbsd.org/docs/guide/en/chap-fetch.html)
* Read [Chapter 34. Compiling the kernel](https://www.netbsd.org/docs/guide/en/chap-kernel.html)
* Add the repository contents under `/src/sys/arch` on NetBSD 10.x machine, then run:
``` sh
$ cd /usr/src/sys/arch/i386/conf/
$ vi GENERIC_TINY_486SX # or GENERIC_PS2TINY_486SX or create your own kernel configuration with "options MATH_EMULATE"
$ config GENERIC_TINY_486SX
$ cd ../compile/GENERIC_TINY_486SX
$ make depend
$ make
# If everythig good, install the new kernel under root:
# mv /netbsd /netbsd.old
# mv netbsd /
```
## Prebuilt drive image
It will appear eventually under [Releases](https://github.com/mezantrop/i486SX_soft_FPU/releases)
## Contacts
If you have an idea, a question, or have found a problem, do not hesitate to open an issue or mail me
directly: [Mikhail Zakharov](zmey20000@yahoo.com). My changes to the original Linus Torvalds and NetBSD code are
licensed under BSD-2-Clause license