Robert de Bath dddc44a59e Import Dev86src-0.16.18.tar.gz 13 years ago
..
Kernel_patch dc528617dc Import Dev86src-0.15.6.tar.gz 10 years ago
Makefile beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago
README beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago
Security beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago
binfmt_elks.c 6d269edda0 Import Dev86src-0.15.5.tar.gz 10 years ago
elks.c dddc44a59e Import Dev86src-0.16.18.tar.gz 10 years ago
elks.h beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago
elks_signal.c c218c617b5 Import Dev86src-0.0.8.tar.gz 10 years ago
elks_sys.c beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago
minix.c 9d97bc3cb3 Import Dev86src-0.12.4.tar.gz 10 years ago
mkefile beba34dc22 Import Dev86src-0.16.15.tar.gz 10 years ago

README


Elksemu is an emulator for the environment that elks will provide on a
real ELKS machine. The emulator only runs on linux-i386 or similar.

If you're using a 2.0.36, 2.1.43, 2.2.0 or later kernel then the
binfmt_misc driver is in the stock kernel and all you need to do is
add the following line into the relevent /etc/rc* file.

echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' \
> /proc/sys/fs/binfmt_misc/register

Note, however, if binfmt_misc is compiled as a module it will not auto
load so you will have to do this manually.

If your kernel version is 1.2.13 then apply the patch in the Kernel_patch
file.

If you're using one of the other 2.0.X series then the binfmt_elks.c module
should be able to compile and install. BUT do note you need the modules
and probably modversions options and you _may_ have to alter the compile
command to match those seen when you compile modules that come with the
kernel.

Rob.