Commit graph

221 commits

Author SHA1 Message Date
copy dd8639b8b5 Extra externs file for builds without adapters 2014-07-22 22:54:40 +02:00
copy 6af7d5488a Refactoring 2014-07-19 21:32:59 +02:00
copy 2f3b39ad9a source mapping is not really useful anyway, disable it for now 2014-07-02 03:58:21 +02:00
copy deeff85f8b Merge branch 'master' of https://github.com/copy/v86
Conflicts:
	src/cpu.macro.js
	src/floppy.js
	src/instructions.macro.js
	src/modrm.macro.js
	src/node/main.js
2014-06-15 22:54:12 +02:00
copy 7a731ca061 Change CPU from closure to prototypical notation.
This change was necessary for several reasons:

- Code is much clearer and more modular
- The CPU object is now serializeable and therefore can be safed and
  restored
- A dynamic translator from instructions to (optimized) JavaScript is
  planned. It would use `new Function` to create functions at runtime.
  Functions created this way don't have access to any scope (except for
  the global scope) and therefore were not have been able to modify
  registers, etc. This is now possible through the cpu object
- Possibly, but not necessarily a speedgain can be achieved.
  See http://mrale.ph/blog/2012/09/23/grokking-v8-closures-for-fun.html

Additionally, some code was moved around.
2014-06-15 22:25:17 +02:00
copy 6a4b1d9a1d split those long lines up 2014-06-10 02:57:22 +02:00
copy bb489cd342 libv86.js 2014-05-14 00:20:42 +02:00
Fabian 6f974f6889 make run in background 2014-05-08 22:42:05 +02:00
Fabian 03cce1f20b Test environment 2014-05-06 06:38:44 +02:00
Fabian e0fa1bd3fa make run 2014-04-14 16:26:01 +02:00
copy 0ca7e260e3 ifndef 2014-02-11 21:45:58 +01:00
copy 9f9053c4b4 Correct make pack 2014-02-11 21:43:21 +01:00
copy 49dcce89bf Detect cpp and use it by default if it exists 2014-02-07 20:28:24 +01:00
He Liu c0aa72ac9a mcpp submodule 2014-02-04 11:45:55 -08:00
copy 6906ae1966 Closure Compiler submodule 2014-01-25 20:23:10 +01:00
copy 4604ec2581 Add serial to loader and makefile 2014-01-08 03:21:42 +01:00
copy 30eec75901 Compiled version for nodejs 2014-01-05 03:06:16 +01:00
copy 0897c2f234 hpet 2013-12-06 01:36:29 +01:00
copy a5fb00d67e New: IDE emulation. Lots of cleanups in the ATA controller 2013-11-26 21:58:12 +01:00
copy 7ce225d300 nothing 2013-11-07 23:03:53 +01:00
copy 8180d49f24 first public release 2013-11-06 01:12:55 +01:00