commit | 2f3b39ad9a10adf4519b0576cb727fac517a6ab3 | [log] [download] |
---|---|---|
author | copy <copy@copy.sh> | Wed Jul 02 03:58:21 2014 +0200 |
committer | copy <copy@copy.sh> | Wed Jul 02 03:58:21 2014 +0200 |
tree | 75884d224aa694964f92a672d9ce67eaced86e58 | |
parent | 0a8bc1fa0e4734c5b38282166dfedb7c5a3d7413 [diff] |
source mapping is not really useful anyway, disable it for now
v86 emulates an x86-compatible CPU and hardware. Here's a list of emulated hardware:
In order to build the cpu.js
file, you need make
and cpp
(the C preprocessor). Run: make src/cpu.js
.
If you want a compressed and fast (ie, with debug code removed) version, you need Closure Compiler. Pull the submodule using
git submodule update --init --recursive closure-compiler
and run make v86_all.js
.
ROM and disk images are loaded via XHR, so if you want to try out index.html
locally, make sure to serve it from a local webserver.
For more details on how to customize the behaviour and interface, see docs/adapters.md.
Similiar projects have been done before, but I decided to work on this as a fun project and learn something about the x86 architecture. It has grown pretty advanced and I just got Linux and KolibriOS working recently and there might be some actual uses.
If you build something interesting, let me know. However, keep in mind that the project is not very stable at the moment.
Here's an overview of the operating systems supported in v86:
lowram
and choose PS2 mouse in xsetup. Takes circa 10 minutes to boot. Only works if ACPI is disabled.udev
and X
fail, but you get a terminal.You get some infos on the disk images here: https://github.com/copy/v86/tree/master/images
14KBXSoewGzbQY8VoznJ5MZXGxoia8RxC9
Simplified BSD License, see LICENSE, unless otherwise noted.
Shoot me an email to copy@copy.sh
. Please don't tell about bugs via mail, create a bug report on github instead.
Fabian Hemmer (http://copy.sh/, copy@copy.sh
)