Commit graph

3050 commits

Author SHA1 Message Date
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 4972c3ae33 Dead 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 43cc29b260 Add checked out seabios to gitignore 2020-12-31 19:14:29 -06:00
Fabian a5ae4b1146 Fix tests that were order-dependant 2020-12-31 19:14:29 -06:00
Fabian 492601cf01 Dead 2020-12-31 19:14:29 -06:00
Fabian dcb40f6221 Full test: Update image paths 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 292769d961 Full tests: Small improvements 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 7207fb2574 Update seabios (clean build), include bios configs and build script 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
Fabian 14fd138357 More precise stats for 32-bit addresses 2020-12-31 19:14:29 -06:00
Fabian 8f19c1d1dc Remove outdated comment 2020-12-31 19:14:29 -06:00
Fabian 3951e5f42b Use mIPS over kIPS \o/ 2020-12-31 19:14:29 -06:00
Fabian c0fd7051ee Robustness 2020-12-31 19:14:29 -06:00
Fabian 3be6e8aa03 Dead 2020-12-31 19:14:29 -06:00
Fabian 04d9a6102c Fix file being created in PWD when compiling kvm-unit-test 2020-12-31 19:14:29 -06:00
Fabian b5def60fb4 Clean up 2020-12-31 19:14:29 -06:00