Commit Graph

  • 3bd31cfbc4 ModRM getter are macro now in main x86 loop ptitSeb 2019-02-03 15:57:27 +01:00
  • 250e95ebca Wrapped Peek in macro, for future change ptitSeb 2019-02-03 13:57:45 +01:00
  • 876f3daa66 Small change in writting, just so it's more clear (to me at least) ptitSeb 2019-02-03 13:56:52 +01:00
  • f544df10d3 And converted the 66 0f opcode switch to tabled goto ptitSeb 2019-02-03 12:04:28 +01:00
  • d4ef4c5bdf Changes switch for 66 opcodes to label table ptitSeb 2019-02-03 10:28:31 +01:00
  • 2c00009662 Small fixes ptitSeb 2019-02-03 10:06:51 +01:00
  • ddcdb4fd2d Chenge switch to goto label table for 0f opcodes ptitSeb 2019-02-02 18:24:53 +01:00
  • 6e2f696e6c Small x87 optim ptitSeb 2019-02-02 17:32:28 +01:00
  • 55d3cb4443 Forgot that small change ptitSeb 2019-02-02 17:11:50 +01:00
  • 38cd58bd90 Added more optim and inlining on may x86run loop ptitSeb 2019-02-02 17:03:37 +01:00
  • b2818eaef5 Small optim, using prefetch now ptitSeb 2019-02-02 14:51:50 +01:00
  • 7aec466766 Changes main x86run switch to goto with offset table ptitSeb 2019-02-02 13:47:32 +01:00
  • ad8915826f Create README.md ptitSeb 2019-02-01 18:00:33 +01:00
  • ef7ed3b16d Made Trace a build option ptitSeb 2019-01-31 11:48:25 +01:00
  • da2eed5875 Again, small fixes and optimisations ptitSeb 2019-01-30 23:14:23 +01:00
  • da49f8a343 Small fixes and improvments ptitSeb 2019-01-30 21:21:04 +01:00
  • 753150e6c5 And Inlined all 66 prefixed opcode too ptitSeb 2019-01-30 17:31:26 +01:00
  • 8410a1324b Refined a bit the CMake project ptitSeb 2019-01-30 17:08:46 +01:00
  • bf4d8faaf4 Inlined all 660f f20f and f30f opcodes ptitSeb 2019-01-30 16:13:47 +01:00
  • f1f714df19 Inlined also the 0x0f prefixed OpCodes ptitSeb 2019-01-30 14:12:41 +01:00
  • 43e781dccb Most x87 OpCode are now inlined ptitSeb 2019-01-30 13:51:05 +01:00
  • 2db060e91d Started inlining x87 opcodes ptitSeb 2019-01-30 08:41:09 +01:00
  • fdb4cb8c52 Prefetch 32bits of data at each new opcode ptitSeb 2019-01-30 08:21:36 +01:00
  • 34c28ee142 Small x87 change ptitSeb 2019-01-29 23:33:08 +01:00
  • bcc1f22ced Added a few (small) x87 optims ptitSeb 2019-01-29 23:21:41 +01:00
  • 8d99ecb7a5 Made some small optims in main loop ptitSeb 2019-01-29 21:33:59 +01:00
  • 586c0b75b3 And put a few x87 utility functions inline too ptitSeb 2019-01-29 08:41:09 +01:00
  • 3ecbc6236b Move primop with defered flags to inline ptitSeb 2019-01-29 08:29:58 +01:00
  • 4891831a72 Moved Push and Pop as inline too ptitSeb 2019-01-29 08:19:55 +01:00
  • 82fe5aeed4 Small changes to SDL2 wrapped lib ptitSeb 2019-01-28 18:53:49 +01:00
  • 68a6c2f97b Small improvement to Defered flag Handling and new x86 emu instances ptitSeb 2019-01-28 18:20:46 +01:00
  • cc5c08f28b Added librt to depending libs ptitSeb 2019-01-28 18:15:05 +01:00
  • 69b5b0fc98 Added Defered Flag Handling. Most used function (except shrl/shl/sar) used defered flags now ptitSeb 2019-01-28 17:20:56 +01:00
  • 6c9b6a360c Fixed crash way executable to be launched is not found ptitSeb 2019-01-28 15:14:28 +01:00
  • 895edf5b05 Inlining some x86run functions ptitSeb 2019-01-28 12:39:03 +01:00
  • 11e4b02974 Fixed various issues with vXXprintf when running on native i386 (with NOALIGN) ptitSeb 2019-01-28 12:37:54 +01:00
  • 173ca0e48c Ooops, wrong test ptitSeb 2019-01-28 10:13:55 +01:00
  • 8c238751fb A few fixes, and removed some warning ptitSeb 2019-01-28 09:50:51 +01:00
  • 42d034cd4e Made a custom version of SDL_GetBasePath to give real path of i386 binary and not box86 (and now, Limbo start) ptitSeb 2019-01-27 23:46:31 +01:00
  • 651dea6651 A bit more debug info with chdir command ptitSeb 2019-01-27 23:45:03 +01:00
  • 3feb8e0a2d Changed, again, the way elfloader loaded elf and resolve symbols between elfs (WorldOfGoo still works and Limbo starts now) ptitSeb 2019-01-27 19:04:39 +01:00
  • 142c54cf0c Fixed a few SSE OpCodes ptitSeb 2019-01-27 16:21:21 +01:00
  • f132d5d174 Added a few more wrapped libm functions ptitSeb 2019-01-27 16:20:59 +01:00
  • 11bb790ca6 Added a few wrapped function and an x87 OpCode ptitSeb 2019-01-27 10:18:30 +01:00
  • 39f68aed50 Fixed / imporved a few instruction. Sound is still distorded in FTL ptitSeb 2019-01-26 18:18:35 +01:00
  • 07ddc089a3 And that one was a nasty bug too, impacting all F2/F3 0F OpCode that tried to changed ECX ptitSeb 2019-01-26 11:24:02 +01:00
  • 343c48ba00 Added most remaining SSE instructions ptitSeb 2019-01-26 10:28:19 +01:00
  • 59cc5a4cc2 Fixed some nasty bugs in SSE emulation. Unfortunatly, there are still some left... ptitSeb 2019-01-26 09:39:13 +01:00
  • 12f942cb6b Added some glX function, and removed some useless stuff in threads ptitSeb 2019-01-25 21:12:27 +01:00
  • 86edc959ef Added a few more opcodes ptitSeb 2019-01-25 10:37:16 +01:00
  • 119c79956f And added a few more SSE OpCode ptitSeb 2019-01-24 23:41:23 +01:00
  • 55ca4595fc Added most SSE OpCodes (and tested them, most correct except rounding and some inf/nan handling) ptitSeb 2019-01-24 23:24:36 +01:00
  • 02d92c7418 Added a few SSE OpCode (to be tested) ptitSeb 2019-01-24 19:34:41 +01:00
  • fbd567b8ff Added some SDL2 wrappers, plus some fixes to SDL2_image RW functions ptitSeb 2019-01-24 18:36:57 +01:00
  • 79eb2f83f9 Add a bunch of SSE opcode (to be tested) ptitSeb 2019-01-24 09:01:56 +01:00
  • 40fa7993db Fixed glXGetProcAddress ptitSeb 2019-01-23 22:01:22 +01:00
  • 28ea613066 Improved some traces, with detail on __open and fopen ptitSeb 2019-01-23 21:56:13 +01:00
  • 5c259782ed Fixed SDL_SetEventFilter from SDL2 too ptitSeb 2019-01-22 09:06:08 +01:00
  • 8f32b03ce3 Fixed the SDL_SetEventFilter from SDL1 that was not working ptitSeb 2019-01-22 09:03:50 +01:00
  • 8e6712f26c Added asyscall ptitSeb 2019-01-22 08:54:40 +01:00
  • abd4124b01 Fixed (again, and for good) the BT (and friend) instruction ptitSeb 2019-01-22 08:50:27 +01:00
  • 6b14c07de1 Fixes to many wrapped functions ptitSeb 2019-01-22 08:10:17 +01:00
  • 0ed157b4a7 Added a few opcodes ptitSeb 2019-01-22 04:04:23 +01:00
  • c71d3356cc Fixed open wrapped function ptitSeb 2019-01-22 04:04:06 +01:00
  • 8d95a55e66 Added wrapped libXrandr (partial) ptitSeb 2019-01-23 09:08:49 +01:00
  • 2fbdf49878 Fixed dlsym when using NULL as handled (means global symbols) ptitSeb 2019-01-23 09:08:29 +01:00
  • 30ad5f1b07 RevertBT changed (it was wrong) and added a bunch of SSE OpCodes (tested) ptitSeb 2019-01-23 07:35:37 +01:00
  • 298683c788 Fixed XErrorHandler ptitSeb 2019-01-22 19:45:02 +01:00
  • dca627687b Add some SSE OpCode, fixes some other, and add X11 Error Handler ptitSeb 2019-01-22 03:09:53 +01:00
  • e8e8468690 Added a lot of wrapped functions ptitSeb 2019-01-22 00:54:27 +01:00
  • 30443e0cc2 Added a few more syscalls ptitSeb 2019-01-21 23:27:52 +01:00
  • dcde32d21a Fixed BT instruction (according to test on actual hardware) ptitSeb 2019-01-21 21:56:40 +01:00
  • 52c94b3ab4 Small change to a few function from gl wrapper ptitSeb 2019-01-21 21:01:28 +01:00
  • 178a0f4abe Added BOX86_TRACE_NOINIT to trace x86 instruction after the init are done ptitSeb 2019-01-21 20:59:47 +01:00
  • 76f450cf90 Improved __cxa_atexit handling ptitSeb 2019-01-22 08:12:38 +01:00
  • 52aae43808 Some trace improvement ptitSeb 2019-01-22 08:11:18 +01:00
  • 659427a812 Added more libc wrapped functions ptitSeb 2019-01-21 23:39:45 +01:00
  • feceb15b7a Fixed order of loading of Symbols ptitSeb 2019-01-21 23:06:04 +01:00
  • ab8310e2b8 Fixed issue with emulated lib not folowing BOX86_LD_LIBRARY_PATH ptitSeb 2019-01-21 22:23:37 +01:00
  • e948c44e60 Added syscall 240 ptitSeb 2019-01-21 10:48:07 +01:00
  • 10119c2ca6 Fixed runnng freepascal compiled software ptitSeb 2019-01-21 10:02:08 +01:00
  • 3b7c811342 Fixed an issue with 2 SSE opcodes ptitSeb 2019-01-20 21:41:31 +01:00
  • c2569a7fe4 Fixed an issue with SDL_OpenAudioDevice ptitSeb 2019-01-20 21:41:03 +01:00
  • 4e5854caf2 Added a few (untested) SSE opcodes ptitSeb 2019-01-20 19:26:36 +01:00
  • a216bc3140 Large rework on Symbol relocation/resolution. Plus a big bunch of wrapped functions ptitSeb 2019-01-20 18:10:24 +01:00
  • fbddeda48a Needs a Align function for wchar_t swprintf and co ptitSeb 2019-01-19 19:10:22 +01:00
  • bfb761bb87 Fixes some RWops stuff. WorldOfGoo runs now ptitSeb 2019-01-19 17:43:27 +01:00
  • 332b2a4106 Working on fork, with test. ptitSeb 2019-01-19 15:07:38 +01:00
  • 4ff1f366f6 Fixed Reloc with own symbol that was not working, plus a few other things ptitSeb 2019-01-19 10:46:13 +01:00
  • 3a5ea2307a Added better thread_once handling, and a few more wrapped functions ptitSeb 2019-01-19 09:27:00 +01:00
  • 2aa9f27bd5 Added a bunch of wrapped functions ptitSeb 2019-01-18 17:18:12 +01:00
  • 7de57bcce1 Added some infrastructure for a plt resolver ptitSeb 2019-01-18 15:22:55 +01:00
  • 37221ea364 Made PLT resolution deferred after all libs are loaded ptitSeb 2019-01-18 10:54:32 +01:00
  • 2dff53c76f Fixed wrapped vswprintf when using native without align version ptitSeb 2019-01-18 10:53:51 +01:00
  • 1d874a5d12 Fixed incorrect prototype for wrapped strerror ptitSeb 2019-01-18 09:11:31 +01:00
  • 3384b16db4 Added a bunch of wrapped function and a few opcodes ptitSeb 2019-01-17 21:58:57 +01:00
  • cab9c4eafc Fixed Weak symbol adding in symbol map for emulated libs (plus some wrapped functions) ptitSeb 2019-01-17 18:29:21 +01:00
  • c223a5f510 Added (preliminary) support for emulated libs ptitSeb 2019-01-17 17:50:42 +01:00
  • d3889b8fd4 Disabled _ITM_ stuff in c wrapped lib ptitSeb 2019-01-17 13:37:18 +01:00
  • 4204fae802 Better handling of 80bits FLD/FST and 64bits FILD/FIST ptitSeb 2019-01-17 10:30:08 +01:00