An open API service indexing awesome lists of open source software.

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

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