Giulio Zausa
f42e204ed3
Allow receiving wasm as a function via wasm_fn ( #629 )
...
Allow receiving wasm as a function via wasm_fn (for bundlers)
2022-03-10 21:39:49 +01:00
proxy-m
e7f574f4d8
fix v86_bin_fallback full path: getDirname (2) ( #624 )
...
Fix v86_bin_fallback when wasm_path is given
2022-02-17 14:15:58 +01:00
Fabian
53a7904834
Improve mute button
2021-12-16 16:24:33 -05:00
ShuoZheLi
46af8ccee1
added is_muted variable
2021-12-10 22:51:38 +01:00
Fabian
7814f96e1c
Dead debug code
2021-11-04 18:51:36 -05:00
Fabian
30fa3dbaf9
Clean up
2021-11-04 18:51:36 -05:00
Fabian
6def710a62
Clean up code, add missing handle_read, replace imgsplit with gnu split
2021-10-20 19:06:58 +02:00
pixelsuft
271c8a9c53
Add splitting without server side
2021-10-20 19:06:58 +02:00
Simon Kadisch
690354e69e
Provide access to CPU memory via V86Starter
2021-04-23 01:07:50 +02:00
Fabian
adb17b7ce4
Port cpuid to rust
2021-04-03 21:10:49 -05:00
Fabian
7e903f09dd
Port do_task_switch to rust
2021-03-30 15:03:19 -05:00
Fabian
4344954da3
Port load_tr to rust
2021-03-30 05:24:08 -05:00
Fabian
8ce9c4a988
Allow passing a network adapter directly ( #382 )
2021-01-10 18:15:50 -06:00
Fabian
497f618cab
Merge branch 'wasm' into master
2021-01-03 02:07:20 -06:00
Fabian
8107f26f10
xxx: Add fallback for safari
2021-01-01 21:51:17 -06:00
Fabian
1b4b12d371
Minor
2020-12-31 19:14:34 -06:00
Fabian
1d2be8a04f
Provide option to preserve mac address from state image (for Windows 98)
2020-12-31 19:14:34 -06:00
Fabian
0812b61d30
Simplify wasm module loading and instantiating code
2020-12-31 19:14:34 -06:00
Fabian
8440f5af11
Async access to image files using file parts instead of range header (allows compression)
2020-12-31 19:14:34 -06:00
Fabian
a238684de6
Store instruction counter in local, use it for loop limits
2020-12-31 19:14:33 -06:00
Fabian
fd3077cc1b
Make acpi setting work in release build
2020-12-31 19:14:33 -06:00
Fabian
d34817d45b
Port lsl/lar/verr/verw to rust
2020-12-31 19:14:33 -06:00
Fabian
7a0d213429
Proper xtermjs integration ( #172 )
2020-12-31 19:14:33 -06:00
Fabian
0988d030fa
Make apci+apic configurable at runtime ( #247 , #332 )
2020-12-31 19:14:32 -06:00
Fabian
c05ea1465f
Remove unused wasm imports
2020-12-31 19:14:32 -06:00
Fabian
906c934945
Remove Rust import panic_bounds_check bug workaround
2020-12-31 19:14:32 -06:00
Fabian
7826474fed
Don't create pending jit entries
2020-12-31 19:14:32 -06:00
Fabian
9ccef87b88
Port arpl to rust
2020-12-31 19:14:31 -06:00
Fabian
596ac268b8
Remove calls to dbg_trace from release builds
2020-12-31 19:14:31 -06:00
Fabian
3b5aff7d43
Port far_ret to Rust
2020-12-31 19:14:31 -06:00
Fabian
d735d5d34e
Port far_jump to Rust
2020-12-31 19:14:31 -06:00
Fabian
cd65ecca9e
Optimise safe_write* by using tlb info to skip dirty page check
2020-12-31 19:14:31 -06:00
Fabian
745abd3e2a
Add emulator.automatically
2020-12-31 19:14:30 -06:00
Fabian
5e48b2da83
Workaround for Rust compiler bug
2020-12-31 19:14:30 -06:00
Fabian
5bfd56571c
Delete more JS (port lss and enter)
2020-12-31 19:14:30 -06:00
Fabian
df46ffb598
Less JS, more happiness
2020-12-31 19:14:30 -06:00
Fabian
e1f8a563ad
Simplify (remove c_api)
2020-12-31 19:14:30 -06:00
Fabian
81a43f8a88
Don't call is_osize_32 from far_return and far_jump
2020-12-31 19:14:30 -06:00
Fabian
ea50e29e5f
Remove dead & improve
2020-12-31 19:14:29 -06:00
Fabian
d0fb1a78d9
Experimental xterm.js support ( #172 , #227 )
2020-12-31 19:14:29 -06:00
Fabian
d5c9b29942
Upgrade jshint
2020-12-31 19:14:29 -06:00
Fabian
48a9847d16
s/oxide//
2020-12-31 19:14:29 -06:00
Fabian
1665e9b358
Fix instruction counter wrap-around
2020-12-31 19:14:29 -06:00
github-jane-doe
15ff296628
Typos ( #371 )
...
Fix typos
2020-10-04 19:46:41 +02:00
Fabian
47e91de601
Remove has_rand_int, always require get_rand_int to be available
2020-08-30 19:37:15 -05:00
Fabian
0e16983dd3
Handle case when wasm table is full ( fixes #35 )
...
Also fix jit_empty_cache when callbacks are pending (fixes #53 )
This is also a preparation for setting WASM_TABLE_SIZE to a low value to
work around memory limitations in browsers.
2020-08-30 19:37:15 -05:00
Ernest Wong
c928964562
Minor: Tidy quotes and spacing
2020-08-30 19:37:15 -05:00
Ernest Wong
d6bfa143ed
Filestorage: Don't rely on errors to select type of storage
2020-08-30 19:37:15 -05:00
Ernest Wong
83b283ebbe
Filestorage: Replace the two server classes with a wrapper class
...
Simplifies both the filestorage.js code as well as the starter.js code
that uses these FileStorage classes.
Now, the ServerFileStorageWrapper decorates the other FileStorage
classes by loading from the server when the file is not available.
Moreover, the previous starter.js was incorrectly passing the `baseurl`
parameter (it was passing it when baseurl was not defined nor needed).
2020-08-30 19:37:15 -05:00
Ernest Wong
c2dcb440dd
Filestorage: Refactor fallback and load-from-server
...
Fallback logic is moved to the caller's responsibility.
Empty FileStorages and FileStorages that load from the server are
separated into different classes. This is to avoid faults where the
caller of the constructor forgets to pass in a `baseurl` parameter and
leads to some confusing bug.
2020-08-30 19:37:15 -05:00