Commit Graph

  • 7dfe545161 Basic support for little-endian PowerPC and POWER9. Joseph Allen 2020-12-24 15:14:50 -06:00
  • a5f3966b44 Merge pull request #275 from SpacingBat3/master ptitSeb 2020-12-24 09:38:53 +01:00
  • 886573ed8b Merge pull request #276 from RickAndTired/patch-1 ptitSeb 2020-12-24 09:38:27 +01:00
  • 2758c1c955 Typo fix RickAndTired 2020-12-23 21:56:13 -08:00
  • 591bafe8c3 [DYNAREC] Try to improve the marking mecanism to include blocks that are shadowed by others ptitSeb 2020-12-23 09:21:50 +01:00
  • 211a8f42db Small cosmetic changes to wrapped libsdl2 ptitSeb 2020-12-22 22:01:44 +01:00
  • fbc9029a8e [DYNAREC] Removed unused fiel in dynablocklist structure ptitSeb 2020-12-22 20:01:57 +01:00
  • ceb4b8b06d Removed a debug leftover ptitSeb 2020-12-22 15:13:25 +01:00
  • b88dda442f [DYNAREC] Improved block extender mecanism ptitSeb 2020-12-22 14:42:57 +01:00
  • 6e8163bded [DYNAREC] Moved fakeed function for helper to functions ptitSeb 2020-12-22 13:32:36 +01:00
  • 9b253abb53 More jpeg62 compress function wrapping (should help #271) ptitSeb 2020-12-22 11:30:39 +01:00
  • e5e51e3ea3 [DYNAREC] Fix a potential SIGBUS on 66 0F 12 opcode ptitSeb 2020-12-21 17:37:21 +01:00
  • 6a2d9d7663 Try to avoid a segfault on quit with libpulse ptitSeb 2020-12-21 17:36:51 +01:00
  • 0546b1e212 Try to fix wrapped Compress functions of libjpeg62 (for #271) ptitSeb 2020-12-21 11:17:03 +01:00
  • 320e6dae72 [DYNAREC] Reworked a bit the unaligned stack handling workaround to limit console spam ptitSeb 2020-12-21 10:47:16 +01:00
  • 96f944c804 More fixes to build new memory tracking whithout dynarec ptitSeb 2020-12-20 23:53:40 +01:00
  • fd0e2195f7 Fix build of memory tracking whithout dynarec ptitSeb 2020-12-20 23:49:31 +01:00
  • d2f130a834 Memory protection tracking is not only with Dynarec ON now ptitSeb 2020-12-20 23:38:32 +01:00
  • a3459712ce Fix 66 F0 0F B1 opcode ptitSeb 2020-12-20 23:37:57 +01:00
  • 8bf2e49164 Reorganised 8F POP Ed opcode to better handle Ed referencing ESP ([DYNAREC] too) ptitSeb 2020-12-20 15:35:57 +01:00
  • 0f5cd39a64 [DYNAREC] Refined the SIGBUS recovery to limit to push/pop/call/ret opcode (as FPU/SIMD regs are not saved/restored from Signal for now) ptitSeb 2020-12-20 14:13:24 +01:00
  • e0ed0076f2 [DYNAREC] When a SIGBUS occurs in a dynablock, invalidate the block at that address and try again with interpretor (fix MapleLegends Setup with its strangely aligned stack) ptitSeb 2020-12-20 12:09:51 +01:00
  • bfd4ad39af [DYNAREC] Fixed some issue with the memory protection mecanism ptitSeb 2020-12-20 11:06:31 +01:00
  • a8ff7d8769 [DYNAREC] Improved Memory Protection Tracking ptitSeb 2020-12-20 10:30:37 +01:00
  • 39c77beb1c Fixed Signal handling for PAGEFAULT with Write Error (helps Wine) ptitSeb 2020-12-20 10:11:59 +01:00
  • d576f7af39 Cleaner version of TEST Eb, Ib and TEST Ed, Id opcodes ptitSeb 2020-12-20 10:10:10 +01:00
  • 74c3f43f75 [DYNAREC] Better hanling of memory protection for elf memory ptitSeb 2020-12-20 10:09:12 +01:00
  • ecacace01d [DYNAREC] Added some handlng of protection for malloc'd memory ptitSeb 2020-12-20 10:08:21 +01:00
  • a3b0149a84 Added 66 1F opcode ptitSeb 2020-12-19 18:18:04 +01:00
  • 63111577ec Added 64 66 8B opcode ptitSeb 2020-12-19 17:45:55 +01:00
  • eb68520709 [DYNAREC] Some fixes to improved Memory protection tracker ptitSeb 2020-12-19 17:09:35 +01:00
  • a7bf2c6cc3 Fixed a potential SIGBUS on 66 0F 13 ocpode ptitSeb 2020-12-19 14:46:57 +01:00
  • 190788efd9 Added gss_wrap_iov function to wraped libgssapi_krb5 (still for wine) ptitSeb 2020-12-19 13:42:47 +01:00
  • 2592a6a342 Added gss_wrap function to wraped libgssapi_krb5 (still for wine) ptitSeb 2020-12-19 12:17:01 +01:00
  • 16ee4c348d [RK3399] Fixed a warning ptitSeb 2020-12-19 12:02:37 +01:00
  • 8389097cd3 [DYNAREC] Improved memory protection tractick ptitSeb 2020-12-19 11:43:38 +01:00
  • 79a885c15e Set theme jekyll-theme-hacker ptitSeb 2020-12-19 10:24:18 +01:00
  • eb7c683a6d Also added gss_verify_mic to libgssapi_krb5 ptitSeb 2020-12-18 16:42:26 +01:00
  • 95b2b314f6 Wrapped libkrb5 and libgssapi_krb5 (minimum functions for wine) ptitSeb 2020-12-18 15:55:34 +01:00
  • 07eb0aa5cd [DYNAREC] Don't free dynarec elf memory durring elf unloading, it will be free later anyway ptitSeb 2020-12-18 13:56:09 +01:00
  • fdce28590a Added alternate way to handle some vaarg wrapped functions ptitSeb 2020-12-18 12:24:10 +01:00
  • 572613e377 Fixed wrapping of Compress structure on libjpeg62 (for #271) ptitSeb 2020-12-18 11:14:42 +01:00
  • 29e597b4ed Fixed another potential SIGBUS, in CMPXCHG this time ptitSeb 2020-12-17 21:39:23 +01:00
  • 981c464c36 Fixed a potential SIGBUS with XADD Gd, Ed opcode ptitSeb 2020-12-17 20:52:48 +01:00
  • d406c5717c Wrapping Compress functions callbacks for libjpeg.so.62 (shoudl help #271) ptitSeb 2020-12-17 10:44:37 +01:00
  • 92208efd24 Start of a new dev. cycle ptitSeb 2020-12-17 10:43:31 +01:00
  • 3c98cbccbe Bumped to v0.1.8 v0.1.8 ptitSeb 2020-12-16 07:58:23 +01:00
  • 3a5c6751e2 Many fixes to Double->Int x87 opcodes ([DYNAREC] too) ptitSeb 2020-12-15 15:53:38 +01:00
  • 002d3d7b9b This also fixes 66 D9 and 66 DD opcodes ptitSeb 2020-12-15 15:52:53 +01:00
  • e57a66da04 [DYNAREC] Fixed AAD opcode ptitSeb 2020-12-15 15:51:13 +01:00
  • b1ecad2d49 Fixed 66 D9 and 66 DD opcodes ptitSeb 2020-12-15 15:50:18 +01:00
  • 658a107f60 Better log for FE xx and FF xx Illegal Instructions on interpretor ptitSeb 2020-12-15 15:49:39 +01:00
  • 7b419ce5f1 Fix a callback for pulse audio (help #268, seems to be working now) ptitSeb 2020-12-15 15:40:58 +01:00
  • 367df08989 Fix Zoom hack for libturbojpeg.so (for #268) ptitSeb 2020-12-15 07:59:04 +01:00
  • 2004006a9d Added Zoom detection and hack to first try to use system libturbojpeg.so if loaded (still for #268) ptitSeb 2020-12-14 21:45:57 +01:00
  • bed0f24f2b Wrapped libturbojpeg.so.0 with a small set of functions (should help #268) ptitSeb 2020-12-14 20:48:56 +01:00
  • 7995dfc70a Fixed a potential SIGBUS on DF /7 FISTP opcode ptitSeb 2020-12-14 14:12:43 +01:00
  • b29d569f6b Reworked libpulse wrappers (should be more stable and little tad faster) ptitSeb 2020-12-14 12:22:39 +01:00
  • 3c166c438a [DYNAREC] Added BOX86_DYNAREC_SAFEMMAP (can be usefull to speedup Wine progs, but may also introduce crash) ptitSeb 2020-12-13 20:25:55 +01:00
  • 03dac0ef6a [DYNAREC] Use a table read that is not thread safe in linker (I don't think thread safe is a must-have in this case) ptitSeb 2020-12-13 19:26:31 +01:00
  • 27cb5219ae [DYNAREC] Various simplifications ptitSeb 2020-12-13 19:24:27 +01:00
  • 97a7459f5d [DYNAREC] Small optims ptitSeb 2020-12-13 16:12:17 +01:00
  • 1eac337e59 [DYNAREC] Don't flush dynarec_log ptitSeb 2020-12-13 16:11:59 +01:00
  • 1613358927 [DYNAREC] Fixed a type is FS: Cache handling (should give back some speed on Wine stuff) ptitSeb 2020-12-13 15:38:32 +01:00
  • 2f0da26f14 [DYNAREC] Presize dblists ptitSeb 2020-12-13 14:21:05 +01:00
  • 45fa32cb9d [DYNAREC] Small fixes for cancelled dynablock ptitSeb 2020-12-13 14:19:56 +01:00
  • 9e9f2a37be [DYNAREC] Precalc exact instsize array size ptitSeb 2020-12-13 14:19:04 +01:00
  • 7b37bb6825 [DYNAREC] simplify this structure ptitSeb 2020-12-13 14:18:36 +01:00
  • 081378a178 Added empty wrapped libnsl.so ptitSeb 2020-12-13 10:05:28 +01:00
  • ff72343429 [DYNAREC] Removed a debug leftover ptitSeb 2020-12-13 10:04:57 +01:00
  • b0b8a2ca1c Fixed a warning ptitSeb 2020-12-13 09:09:35 +01:00
  • 55be6835b8 Removed a debug leftover (should help #227 and box-compatibility-list/#46) ptitSeb 2020-12-13 08:38:43 +01:00
  • c465e1de21 [VULKAN] fixed SDL2 wrapping of SDL_Vulkan_GetVkGetInstanceProcAddr ptitSeb 2020-12-12 18:09:36 +01:00
  • 0f255de201 Made box86context_t lighter for easier debugging (also reorganised member order) ptitSeb 2020-12-12 18:09:00 +01:00
  • deb04610b5 Revert commit 31a108b685, previous method seems better ptitSeb 2020-12-12 19:25:40 +01:00
  • a9887fe471 Fixed an old type on Bridge handling ptitSeb 2020-12-12 17:09:35 +01:00
  • 4b3c5a7f6f [DYNAREC] Reworked Dynablock memory manager ptitSeb 2020-12-12 15:23:43 +01:00
  • 0058d3563d Added 66 F0 0F B1 opcode ptitSeb 2020-12-12 10:17:51 +01:00
  • 52a4808f2c Added a few more function to wrapped libfontconfig ptitSeb 2020-12-12 10:09:17 +01:00
  • 7a0874165f Added 1 wrapped function to libfontconfig ptitSeb 2020-12-12 09:37:44 +01:00
  • 7c7acd134b Small wrapped libmpg123 and pulse change ptitSeb 2020-12-11 22:27:43 +01:00
  • ddd4874baa [DYNAREC] Some small optim on support function for the Dynarec ptitSeb 2020-12-11 21:04:11 +01:00
  • 23f91b1a0d [DYNAREC] All Interpretor to switch back to Dynarec on more opcodes ptitSeb 2020-12-11 20:47:23 +01:00
  • b8c32d580b [DYNAREC] If a block wasn't created because executable memory was not allocated, delete the whole dynablocks to try again later ptitSeb 2020-12-11 20:35:39 +01:00
  • c0e67004d5 [DYNAREC] Reworked the dynarec signal handling, to improve its performances ptitSeb 2020-12-11 20:25:24 +01:00
  • 38a557b7e9 [DYNAREC] Don't try to create 0 sized Map block ptitSeb 2020-12-11 17:28:32 +01:00
  • 7d6d5d673d [DYNAREC] added 64 A2 opcode ptitSeb 2020-12-11 17:27:23 +01:00
  • 2cf067f004 [DYNAREC] Don't try to a free a 0 sized of NULL pos Map ptitSeb 2020-12-11 17:27:08 +01:00
  • 92d9bc525f [DYNAREC] Try to avoid some deadlock with dynarec that could happens in some specific cases involving signals ptitSeb 2020-12-11 16:43:25 +01:00
  • dca91b1efc added 64 A0 opcode ([DYNAREC] too) ptitSeb 2020-12-11 16:32:14 +01:00
  • 6bf1ea7539 [DYNAREC] Remove some old code behind ifdefs ptitSeb 2020-12-11 14:23:18 +01:00
  • 670b13595b Improved the PltRelocator detection of elfloader ptitSeb 2020-12-10 17:14:17 +01:00
  • dcbb8b29de Added some X11 wrapped functions ptitSeb 2020-12-10 17:12:40 +01:00
  • 7284c817b2 And more libxcb* wrapped functions ptitSeb 2020-12-10 17:05:54 +01:00
  • b16912132f Added some xcb_xrandr wrapped functions ptitSeb 2020-12-10 15:44:53 +01:00
  • 9805ad7f3a Initialize context as soon as possible in library (should help #265 and #266) ptitSeb 2020-12-10 15:11:26 +01:00
  • 4e7e0f6aab Added a few libdrm wrapped function ptitSeb 2020-12-10 13:56:24 +01:00
  • c905ebfdd2 Added wrapped libSDL2_ttf-2.0.so.0 (copy if the sdl1 version) ptitSeb 2020-12-10 13:51:31 +01:00
  • b5c787938c Fixed commented code, in case it gets uncommented someday ptitSeb 2020-12-10 13:38:59 +01:00
  • 69ca5351b4 Added a bunch of wrapped xcb* functions ptitSeb 2020-12-10 12:35:52 +01:00