Commit graph

25 commits

Author SHA1 Message Date
Fabian 7a0d213429 Proper xtermjs integration (#172) 2020-12-31 19:14:33 -06:00
Fabian 659729aed1 Disable xterm.js logging 2020-12-31 19:14:31 -06:00
Fabian d0fb1a78d9 Experimental xterm.js support (#172, #227) 2020-12-31 19:14:29 -06:00
Fabian 861aea3157 Add recording serial adapter 2020-12-31 19:14:29 -06:00
Fabian 01061dc4b6 The final Rust porting
This commit contains the final changes requires for porting all C code
to Rust and from emscripten to llvm:

- tools/wasm-patch-indirect-function-table.js: A script that rewrites
  the wasm generated by llvm to remove the table limit
- tools/rust-lld-wrapper: A wrapper around rust-lld that removes
  arguments forced by rustc that break compilation for us
- src/rust/cpu2/Makefile: A monstrosity to postprocess c2rust's output
- gen/generate_interpreter.js: Ported to produce Rust instead of C
- src/rust/*: A few functions and macros to connect the old Rust code
  and the new Rust code
- src/*.js: Removes the loading of the old emscripten wasm module and
  adapts imports and exports from emscripten to llvm
2020-08-30 19:29:53 -05:00
Awal Garg 8222d2e6e0 Squash
restore memcpy comment
delete all the things!
fix jshint issues
restore memcpy comment
remove duplicate fxsave assignment
Count cache drops
Use already available physical address instead of calling read_imm8
Remove useless assertion
Just move around to reduce later diff
Run jit paging test with assertions enabled
Run jit-paging test on CI
Extend jit-paging test
Fix deleting invalidated code across memory pages
Add jit-paging test to gitlab ci
Remove jit_in_progress
Clean up old comments, use bool for jit_jump
Fix state image not begin garbage collected
Add ENABLE_PROFILER_TIMES to configure slow profiling times
Move to jit_generate and jit_run_interpreted to separate function
Add missing struct field
Fix: Don't write jit cache entry until no more faults can happen
Download image for jit paging test
Add missing initialiser
Mark jit_{generate,run_interpreted} as static
Specify full path to profiler.h
Clean up duplicate/missing declaration after rebase
mmap error handling, line length and fix some warnings
remove further unused code
move js imports to single header file
2020-07-21 20:10:13 -05:00
copy e71761523b Allow unfocusing serial (correct file this time) 2016-11-21 20:10:03 +01:00
copy 1120f2b95c More efficient serial console rendering 2016-11-21 20:09:03 +01:00
copy 0883ec83b5 Handle tab in serial terminal 2016-08-01 22:27:15 +02:00
copy d7dac7c9b4 Prepare for Closure Compiler's new type inference 2015-12-30 23:30:54 +01:00
copy d26801457b Trailing whitespace 2015-09-16 03:25:09 +02:00
copy 8de5a71473 Improve serial terminal performance for large outputs 2015-04-12 20:11:23 +02:00
copy bef8fa3a68 Some annotations 2015-04-12 16:07:52 +02:00
copy a6f3a72b56 Clean up 2015-01-24 04:45:45 +01:00
copy af9848c68a Fix serial terminal in Gecko 2015-01-24 04:43:49 +01:00
copy fe92597718 Cleaning up old things 2015-01-11 23:43:31 +01:00
copy 4fad44504d Send 'serial0-output-line' messages if necessary 2015-01-09 04:03:38 +01:00
copy 774c4d88bb remove obsolete register() mechanism 2014-12-29 16:42:59 +01:00
copy 139cb41488 move bus handling around a bit, preparing for web workers 2014-12-27 00:18:35 +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 65361f72bc export send_char 2014-12-23 01:53:19 +01:00
copy 143b3b108b clean up unused code in uart 2014-12-20 20:45:07 +01:00
copy 0a8bc1fa0e Use textarea.value over textContent 2014-07-02 03:56:47 +02:00
copy 48c0a71e25 Fix lag for big serial outputs 2014-01-11 00:44:05 +01:00
copy 26e834d3f0 Serial adapter for the browser 2014-01-08 03:15:15 +01:00