Commit graph

221 commits

Author SHA1 Message Date
copy 5c0e87b3e9 Add --source_map_include_content to closure compiler build (#177) 2017-12-13 13:26:20 -05:00
copy b9c421fd2f Fix libv86 build in newer closure compilers, fixes #167 2017-09-08 19:05:53 +02:00
Amaan Cheval 82fc184c79 Remove unsupported Closure Compiler flags 2017-09-08 12:26:38 +02:00
copy 0fd2835d40 Add kvm-unit-test to makefile 2017-06-22 12:26:02 -05:00
copy e764ca213a Update test scripts 2017-06-20 16:24:40 -05:00
Amaan Cheval 6a61876540 Add nasmtests target to primary Makefile in root 2017-06-16 10:47:19 -04:00
copy 1cbdc5497c Move config.js to front 2017-05-30 15:28:59 -05:00
copy 43747c4b32 Add dummy screen 2017-05-09 19:31:18 -05:00
copy 3595456ee2 Disable advanced optimisations for libv86. Fixes tests 2017-04-29 13:22:17 -05:00
copy 370698fa1d Makefile: Refactor using addprefix 2017-04-29 13:22:17 -05:00
copy 96f61bb4d5 More complete APIC and IOAPIC implementation (#86) 2017-04-29 13:22:17 -05:00
copy 0f2f096f50 Add elf parser 2017-04-29 13:22:17 -05:00
copy 5c084c9240 make clean: Remove source maps 2017-03-23 13:18:19 -05:00
copy c72d8de8cb Add missing config.js file 2017-03-15 20:12:59 -05:00
copy b6056f8589 Make closure compiler happy 2017-03-04 16:37:16 -05:00
copy 41b1884f64 Use @export 2016-07-26 22:14:34 +02:00
copy c8949b01d0 Update makefile: Ignore rm errors, rename test target to tests 2016-07-18 01:18:52 +02:00
copy 2383a17afb Fix closure compiler download 2016-07-18 00:42:12 +02:00
copy c21f20221c Makefile: Safer clean 2016-02-07 16:52:03 +01:00
copy b281748ca3 Make build/libv86.js a dependency of test case 2016-02-05 19:56:25 +01:00
copy 5eb38cec8c Makefile test target 2016-02-05 14:41:15 +01:00
copy 88b9cd73d8 Version information in build, fixes #56 2016-01-22 23:54:02 +01:00
copy 15845b6d80 Remove unused IN_XXX variables 2016-01-03 18:33:58 +01:00
copy 170e7887d3 Create source map 2016-01-03 18:32:45 +01:00
copy 280e54e7b7 Fix small mistage in Makefile 2015-12-31 00:36:27 +01:00
copy 3b067d5fac Improve Makefile 2015-12-30 23:08:05 +01:00
copy 9743618eb2 Fetch closure compiler automatically 2015-12-30 23:05:12 +01:00
Fabian d42800fe2b Fix build process. Fixes #68 2015-10-18 15:17:18 +02:00
copy 85be27910a Remove mcpp submodule. Thanks to @h8liu for creating it 2015-09-14 01:50:30 +02:00
copy 9185dd25e4 Remove C macros and compile step. Fixes #10 2015-09-14 01:45:51 +02:00
copy e2ecca2a04 Make warnings errors (Closure Compiler) 2015-09-12 18:17:22 +02:00
Janus d839a6cef6 clean up the Makefile 2015-04-27 23:23:06 +02:00
copy d13e6983b5 Makefile 2015-04-12 21:58:17 +02:00
copy 089531b8cc Worker bus, #20 2015-04-12 20:21:38 +02:00
copy 98ef32081c Disable readable compilation on libv86.js 2015-03-06 02:16:45 +01:00
copy 3ac30a1277 Merge branch 'master' of https://github.com/copy/v86 2015-01-09 16:26:33 +01:00
copy 1032ef3ef2 New publicly usable interface called V86Starter, refactor browser/main.js using it 2015-01-09 04:49:44 +01:00
copy 0863b668b7 Move code to log.js 2015-01-09 00:10:40 +01:00
Laurent Laborde c833d3b092 MacOSX hack to use mcpp even if cpp is detecetd
the default llvm cpp doesn't work as expect on macosx, so we use mcpp on macosx even if cpp is detected.
2015-01-07 10:42:05 +01:00
copy cdad4bd9fb remove nodejs port, it's slightly broken and not used anywhere 2015-01-06 00:01:33 +01:00
copy f3b3ad0422 fix libv86 target 2014-12-29 17:42:39 +01:00
copy 13511362d7 refactor communication between emulated devices and browser implementation using Bus. Web worker comming soon ;) 2014-12-25 02:32:18 +01:00
copy 910a80a65a split up code into more files 2014-12-21 20:28:13 +01:00
copy b3515dc332 clean up makefile 2014-12-02 19:22:29 +01:00
copy ed2f5e9391 Rename file 2014-12-02 19:21:28 +01:00
copy 4a63b1f70c initial version of virtio and 9p filesystem support; props to the jor1k project for donating some code 2014-12-02 19:01:13 +01:00
copy 287cb4605b move all build files into a single dir 2014-10-11 12:20:57 +02:00
copy 2fe66de4fa Initial version of network support 2014-10-11 02:15:37 +02:00
Fabian 7184e3e602 make run more useful 2014-09-28 16:37:14 -07:00
Fabian 24e9d94b61 cpu saving state frame 2014-09-24 19:25:59 -07:00
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