Commit graph

2307 commits

Author SHA1 Message Date
Fabian e1f8a563ad Simplify (remove c_api) 2020-12-31 19:14:30 -06:00
Fabian 23988f50f6 Restore xlat in jit mode 2020-12-31 19:14:30 -06:00
Fabian 1ea2209499 Restore #gp when accessing null segment, only non-jit (fixes Windows 95 and 98) 2020-12-31 19:14:30 -06:00
Fabian 26728d11a9 Fix debug printing of registers 2020-12-31 19:14:30 -06:00
Fabian cd3c103fa1 Dead 2020-12-31 19:14:30 -06:00
Fabian a96de034ce Fix DSL 2020-12-31 19:14:30 -06:00
Fabian 8f5553e091 Avoid compiling page that already has code being compiled (fixes: Assertion failed: !ctx.wasm_table_index_free_list.is_empty()) 2020-12-31 19:14:30 -06:00
Fabian 1b7435c05e Assert certain functions not being called when in jit 2020-12-31 19:14:30 -06:00
Fabian f3c56e7684 Simplify 2020-12-31 19:14:30 -06:00
Fabian 8bef61183e Better name 2020-12-31 19:14:30 -06:00
Fabian 5bbc11a51d Dead 2020-12-31 19:14:30 -06:00
Fabian 3a473aad79 Remove prefix handling from jit and exceptions 2020-12-31 19:14:30 -06:00
Fabian 62010e64e8 Make string instructions partially custom 2020-12-31 19:14:30 -06:00
Fabian 75dbbbc55a Update rustfmt 2020-12-31 19:14:30 -06:00
Fabian ca2409b024 Pass asize_32 and get_seg_prefix to string instructions 2020-12-31 19:14:30 -06:00
Fabian a73988a817 Make loop, loopz, loopnz and jcxz custom generated 2020-12-31 19:14:30 -06:00
Fabian ea0cd01207 Comment so that I don't delete this again 2020-12-31 19:14:30 -06:00
Fabian 2c5fc9ee40 Make dbg_trace pub 2020-12-31 19:14:30 -06:00
Fabian 232d3763d9 Make maskmov* custom 2020-12-31 19:14:30 -06:00
Fabian 6eed301779 Don't use is_osize_32 in instructions 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 15a27746f6 Split fldenv, frstor, fsave and fstenv into 16 and 32 bit variants 2020-12-31 19:14:30 -06:00
Fabian ccd6244cfd Split D9 and DD instructions by operand size 2020-12-31 19:14:30 -06:00
Fabian 09a7ec8e14 Fix assertions related to address size 2020-12-31 19:14:30 -06:00
Fabian 8c8f42902b Move state out of instructions_0f.rs 2020-12-31 19:14:29 -06:00
Fabian 17d98256d6 c2rust cleanup: Remove temporary variable expanded from C macro
/let _-€kb___0
wwwd%/____0
vepdd
2020-12-31 19:14:29 -06:00
Fabian 1c185b971e c2rust cleanup: More booleans 2020-12-31 19:14:29 -06:00
Fabian 653f56726b c2rust cleanup: Remove cast in comparison with constant 2020-12-31 19:14:29 -06:00
Fabian 80a69939a1 c2rust cleanup: Use bool 2020-12-31 19:14:29 -06:00
Fabian 034ecd5390 c2rust cleanup: Remove unnecessary type annotations on let bindings 2020-12-31 19:14:29 -06:00
Fabian 764879bad1 s/reg32s/reg32 2020-12-31 19:14:29 -06:00
Fabian 5821ffae16 Remove safe_{read,write} optimisation in non-jit mode 2020-12-31 19:14:29 -06:00
Fabian b7f9662655 Add FORCE_DISABLE_JIT configure flag 2020-12-31 19:14:29 -06:00
Fabian ea50e29e5f Remove dead & improve 2020-12-31 19:14:29 -06:00
Fabian f156824ebc Haiku works 2020-12-31 19:14:29 -06:00
Fabian 47034fe588 Fix: Set CS to 16-bit mode correctly 2020-12-31 19:14:29 -06:00
Fabian 492601cf01 Dead 2020-12-31 19:14:29 -06:00
Fabian ae3a652333 jit_add_seg_offset: Assert that segment is not null 2020-12-31 19:14:29 -06:00
Fabian 4cd6d74284 Test freebsd login 2020-12-31 19:14:29 -06:00
Fabian 0b80ec5f82 Remove dead 2020-12-31 19:14:29 -06:00
Fabian 011ccce9bb Remove protected mode check (exceptions can also happen in real mode) 2020-12-31 19:14:29 -06:00
Fabian 6986519fbb Use get_seg_ss/get_seg_cs from JS 2020-12-31 19:14:29 -06:00
Fabian 390bd6d3d5 set_cr0: Be less noisy 2020-12-31 19:14:29 -06:00
Fabian 9b1ca71919 test 2020-12-31 19:14:29 -06:00
Fabian dfea644e94 Turn this into warning for now 2020-12-31 19:14:29 -06:00
Fabian ab46037014 Update vga ID to fit new bios 2020-12-31 19:14:29 -06:00
Fabian 387ad9822f Stupid fix 2020-12-31 19:14:29 -06:00
Fabian 626aa39e16 Move mouse only when over screen 2020-12-31 19:14:29 -06:00
Fabian 0b6d2400d7 Commit some testing OSes 2020-12-31 19:14:29 -06:00
Fabian d0fb1a78d9 Experimental xterm.js support (#172, #227) 2020-12-31 19:14:29 -06:00