Commit Graph

  • 3680a3092e [DYNAREC] Made FillBlock candidate for threading ptitSeb 2020-05-13 16:47:52 +02:00
  • b11a269867 [DYNAREC] Fixed TRACE build ptitSeb 2020-05-13 14:52:26 +02:00
  • cccbf75878 Simplified some function, removing the x86emu_t* argument ptitSeb 2020-05-13 13:17:03 +02:00
  • 5ce309e64b [DYNAREC] 66 0F D6 MOVQ can be unaligned... (should help #115) ptitSeb 2020-05-12 22:08:11 +02:00
  • 4b48a43413 Removed a small warning in new pthread_cond handling ptitSeb 2020-05-12 16:08:35 +02:00
  • a05df24c8b Changed, again, how phtread_conditions are handled ptitSeb 2020-05-12 16:06:59 +02:00
  • 4f599b521a Improved a bit the handling of thread conditions ptitSeb 2020-05-12 11:13:02 +02:00
  • 44cf2fc4fb [DYNAREC] Removed some warning ptitSeb 2020-05-12 11:12:30 +02:00
  • 0ca9f70796 [DYNAREC] Add father/son notion in dynablock, to allow branging in the middle of a dynablock (and avoid generating a new one) ptitSeb 2020-05-11 19:54:54 +02:00
  • 83cb2dbc4d [DYNAREC] Added mecanism to allow liner with volite code blocks ptitSeb 2020-05-11 08:54:39 +02:00
  • b09937ad3d [DYAREC] Added a few more NOP variant ptitSeb 2020-05-10 16:21:08 +02:00
  • c88d5d462c Use another method to handle errors in wrapped libjpeg ptitSeb 2020-05-10 13:12:18 +02:00
  • 78c971cb87 Added a few more SDL2 wrapped functions ptitSeb 2020-05-09 10:39:59 +02:00
  • 1bafddcfe2 Rewrapped some non-64 libc functions, to avoid mixing with 64 bits on some plateforms (fixes Saves of IcewindDale on Pi4) ptitSeb 2020-05-08 22:20:53 +02:00
  • 047b2071f5 [BOX86LIB] Added some libs to the linking of libbox86.so ptitSeb 2020-05-07 20:15:25 +02:00
  • 8aca039ca6 Added some old and rarely used opcode (helps ZeldaClassic) ptitSeb 2020-05-07 11:47:44 +02:00
  • db8c6b0c9e Fixed build with cmake less than 3.13.5 (fix for #112) ptitSeb 2020-05-06 20:49:16 +02:00
  • dbc6aa83f3 Merge pull request #111 from rajdakin/cmake-fix ptitSeb 2020-05-06 20:03:06 +02:00
  • 08472aa68b [CMake] Fix configuration on older CMake rajdakin 2020-05-06 19:59:57 +02:00
  • 3010068660 Try a fix on Python finding with old cmake (should fix #110) ptitSeb 2020-05-06 19:28:14 +02:00
  • 5e2faff01d [DYNAREC] Small changes ptitSeb 2020-05-06 19:12:49 +02:00
  • 598338809f Take LD_PRELOAD into account if BOX86_LD_PRELOAD is not present ptitSeb 2020-05-06 19:12:11 +02:00
  • 4778760622 [DYNAREC] Improved handling of JIT'd code by marking potentialy changed block as dirty instead of purging the whole block ptitSeb 2020-05-06 16:41:59 +02:00
  • 3a23cc42f6 Small cosmetic changes ptitSeb 2020-05-06 14:16:56 +02:00
  • e23283e794 [BOX86LIB] Improved the Build as a lib version, and introduced build as dynamic lib ptitSeb 2020-05-06 14:09:56 +02:00
  • 4d730a31c4 Merge pull request #109 from icecream95/posix_spawn ptitSeb 2020-05-06 07:37:02 +02:00
  • 216b6407f3 Merge pull request #108 from rajdakin/reprinter ptitSeb 2020-05-05 20:38:11 +02:00
  • e95988f402 [DYNAREC] Forgot to increase the version number rajdakin 2020-05-05 19:31:30 +02:00
  • 1ce3731d7d [DYNAREC] Refactored the printer generator (8) rajdakin 2020-05-05 19:27:13 +02:00
  • 7420d3c8de [DYNAREC] Refactored the printer generator (7) rajdakin 2020-05-05 19:27:06 +02:00
  • f1edcc06d3 [DYNAREC] Refactored the printer generator (6) rajdakin 2020-05-05 18:14:56 +02:00
  • ce5c3db346 [DYNAREC] Refactored the printer generator (5) rajdakin 2020-05-05 17:41:46 +02:00
  • cc0b7b3719 [DYNAREC] Refactored the printer generator (4) + major bug fix rajdakin 2020-05-05 17:36:39 +02:00
  • 7854fa2e18 [DYNAREC] Removed WIP spacing rajdakin 2020-05-05 17:25:38 +02:00
  • 1b7bc825d5 [DYNAREC] Refactored the printer generator (3) rajdakin 2020-05-05 16:34:06 +02:00
  • e65f58acb2 [DYNAREC] Refactored the printer generator (2) rajdakin 2020-05-05 15:18:22 +02:00
  • 18fe17dc2d [DYNAREC] Refactored the printer generator (1) rajdakin 2020-05-05 15:12:43 +02:00
  • 8098461e0f [DYNAREC] Changed a little how the printer generator works rajdakin 2020-05-05 13:58:43 +02:00
  • bf8e9f9242 [DYNAREC] Added an ARM instructions printer generator rajdakin 2020-05-05 13:26:48 +02:00
  • 4838067440 [WRAPPERS] Rewrote the wrappers generator a bit rajdakin 2020-05-05 13:25:03 +02:00
  • 53a080e32e [CMake] Cleanup the CMakeLists.txt file a bit rajdakin 2020-05-05 13:24:07 +02:00
  • 3ac41770b8 [CMake] Force the use of Python3 rajdakin 2020-05-05 13:21:39 +02:00
  • 6fe51fd7f4 [DYNAREC] Finaly found why Unreal crashes when CPUID detection was enabled: linfmod use some SMC, that's bad. So found some workaround ptitSeb 2020-05-05 17:16:46 +02:00
  • a6cbe15b5e [DYNAREC] Some small optim on 32bits float access ptitSeb 2020-05-05 17:15:33 +02:00
  • 3313eba45c [DYNAREC] When using BOX86_DYNAREC_DUMP, use some mutexes to avoid mixing block in dump ptitSeb 2020-05-05 17:14:04 +02:00
  • b01150f707 Wrap some posix_spawn functions Icecream95 2020-05-05 14:13:52 +12:00
  • 4502948f89 Changed a bit the thread creation / cancellation, and associted mutex ptitSeb 2020-05-04 22:47:37 +02:00
  • 8cb2ffbd2e Added some crude (maybe incorrect?) workaround for function with 0 size in elf header (fixed some libfmod function, somehow) ptitSeb 2020-05-04 15:45:34 +02:00
  • be80cb03d6 Changed how Trace ona Function works, so it can works on defered (dlopen'd) library ptitSeb 2020-05-04 15:44:43 +02:00
  • 13d6e96cdc Set trace begin/end as global ptitSeb 2020-05-04 14:04:18 +02:00
  • 9f280b1f9c Set CPU Family to 6 (instead of 1) in CPUID ptitSeb 2020-05-03 18:53:43 +02:00
  • 786dfa6700 [DYNAREC] Small optimization on x87 Stack sync ptitSeb 2020-05-03 18:52:36 +02:00
  • e260aee2e6 [DYNAREC] Use NOP instead of B to ext instruction ptitSeb 2020-05-03 18:51:59 +02:00
  • 504c27c934 [DYNAREC], Nope, that Unreal bug is still not fixed, not enable CPUID detection yet ptitSeb 2020-05-03 18:51:25 +02:00
  • c4ba481561 In trace, function name with 0 sized are like infinite size ptitSeb 2020-05-03 18:48:43 +02:00
  • 841770aed1 [DYNAREC] Small dump improvment ptitSeb 2020-05-03 18:48:01 +02:00
  • 1a4643f3a2 [DYNAREC] Small improvment on x87 cache access ptitSeb 2020-05-03 12:56:17 +02:00
  • e89702d99d [DYNAREC] Fixed printer for rotated immadiate ptitSeb 2020-05-03 12:55:46 +02:00
  • 250e3820df [DYNAREC] Small fixe to the printer to get more printed opcodes in dumps ptitSeb 2020-05-03 11:14:36 +02:00
  • 8b2a509a32 [DYNAREC] A bit more color in dump ptitSeb 2020-05-02 19:48:31 +02:00
  • 6db92c56b9 [DYNAREC] Some trace improvments ptitSeb 2020-05-02 19:17:44 +02:00
  • e4914a2139 Rollback CPUID detection code until I found why Unreal crashes with it ptitSeb 2020-05-01 21:42:18 +02:00
  • 704c4b36ab Added support for CPUID detection in PUSHF/POPF ptitSeb 2020-05-01 09:32:47 +02:00
  • b9d61108bf Added a few wrapped function (should help X3) ptitSeb 2020-05-01 09:01:56 +02:00
  • e92d2f737b Small thread improvment ptitSeb 2020-04-30 21:10:10 +02:00
  • 6ec36072c4 A bit more wrapped libz functions ptitSeb 2020-04-30 15:06:00 +02:00
  • ab18d4d23a [DYNAREC] Fix build for non-trace enabled build (fix #105) ptitSeb 2020-04-30 14:01:28 +02:00
  • 1e6893a9d9 [DYNAREC] Added a few more opcodes (Int3 and FXSAVE/FXRSTOR) ptitSeb 2020-04-30 11:08:30 +02:00
  • 01bcc957e8 Added PSUBB opcode (should help 'The Journey Down Chapter One') ptitSeb 2020-04-29 14:44:39 +02:00
  • 3c989cfa04 Removed that yield in cond_broadcast, useless, and probably harming the performances ptitSeb 2020-04-28 18:55:18 +02:00
  • bde29ef155 Fixed some libz wrapped functions (fixed AM2R) ptitSeb 2020-04-28 18:41:23 +02:00
  • cee4cd26e0 [DYNAREC] Don't use x1, x2 or x3 scratch before use READFLAGS, also fixed the the bordercase fix call/ret optim (all this fixed zsnes and starfox) ptitSeb 2020-04-28 17:42:33 +02:00
  • f774b88211 [DYNAREC] Fixed PUSHAD/POPAD opcode, also small fix on border case for Call/Ret optimisation ptitSeb 2020-04-28 17:04:28 +02:00
  • 251f9b7338 Update README.md ptitSeb 2020-04-27 10:24:17 +02:00
  • dd5fc10a95 [DYNAREC] Optimised CALL/RET by using a local stack in x6emu_t struct (large improvment in some game, but doesn't help ShovelKnight) ptitSeb 2020-04-26 22:39:40 +02:00
  • 5e84efc542 Remove test on x87 stack status ptitSeb 2020-04-26 15:15:25 +02:00
  • b29fd4abbd [DYNAREC] Added missing change from previous commit ptitSeb 2020-04-26 15:15:03 +02:00
  • 1c6f2254f3 [DYNAREC] Store current block in table linker, to help find next block ptitSeb 2020-04-25 15:14:23 +02:00
  • 73685273f4 Added wrapped libdrm (almost empty) ptitSeb 2020-04-24 19:26:59 +02:00
  • 76d070777f Added a few wrapped functions to xcb, fontconfig and freetype ptitSeb 2020-04-24 17:23:21 +02:00
  • 42d18f7302 Added libstdc++.so.5 (along with the .6) in x86libs (usefull in some older games) ptitSeb 2020-04-24 16:15:18 +02:00
  • 963a7a527a On system where getrandom syscall is not supported, read /dev/urandom and not /dev/random ptitSeb 2020-04-24 12:01:46 +02:00
  • df61ed3048 [DYNAREC] Fixed potential issue when an opcode is not handled by the dynarec (fixed TeamSpeak3, for good) ptitSeb 2020-04-24 12:01:16 +02:00
  • 2a8e6061a2 Added BOX86_NOSIGILL ptitSeb 2020-04-24 11:11:22 +02:00
  • 96c4fe7057 Some changes in signal hanbdling (not sure it's a good idea) ptitSeb 2020-04-24 10:51:11 +02:00
  • 124df9ae83 Also add my_getrandom fallback to wrapped libc syscall ptitSeb 2020-04-24 08:30:49 +02:00
  • 62b2eecf6e Some system (like the Pandora) don't have the getrandom syscall ptitSeb 2020-04-24 08:26:29 +02:00
  • 9fb6b7bbd9 Use align on come fctnl function (fixes TeamSpeak3 server) ptitSeb 2020-04-23 22:27:15 +02:00
  • 0ac7929230 Added syscall 355 ptitSeb 2020-04-23 21:39:38 +02:00
  • d16e8f1c51 Added some aio_*64 wrapped function to librt ptitSeb 2020-04-23 21:30:39 +02:00
  • 4b59f04930 Small fixes to some gobject signals ptitSeb 2020-04-23 16:06:12 +02:00
  • 7a375136cc Cosmetics in myalign.c ptitSeb 2020-04-23 16:05:49 +02:00
  • 62a328af45 Go back to using SharedCallback for qsort and qsort_r (should be faster and more reliable) ptitSeb 2020-04-23 08:37:42 +02:00
  • aafe35dca7 Changed how MMAP memory is alloced/freed ptitSeb 2020-04-22 14:40:27 +02:00
  • c73b728255 More cosmetic changes ptitSeb 2020-04-22 14:40:01 +02:00
  • 1186072e48 Added a sched_yield before cond_brodcast, just in case Dynarec is building a block with a cond_wait inside (to be tested) ptitSeb 2020-04-22 14:38:42 +02:00
  • 141de19804 Misc cosmetic changes ptitSeb 2020-04-22 14:37:41 +02:00
  • 97d71dfe09 [DYNAREC] Fixed some printer issues ptitSeb 2020-04-22 14:32:30 +02:00
  • f05b4fa7ff Some small changes to pthread_register_cancel, again, to hopefully have something working 100% ptitSeb 2020-04-21 19:34:37 +02:00
  • 2f36ec82f9 Made my_context global, plus some warning hunting... ptitSeb 2020-04-21 15:12:29 +02:00