Commit Graph

  • 44c9c28fa3 Add div, fcloseall, sync functions in libc wrapper M-HT 2019-03-17 20:00:01 +01:00
  • 7e8794fcf0 Add cmc, enter, pushfw instructions M-HT 2019-03-17 19:55:55 +01:00
  • 76b3afe8f9 Fix daa, das, imul, mul, shld, shrd instructions M-HT 2019-03-17 19:47:23 +01:00
  • 20db25cf89 Fix libasound wrapper M-HT 2019-03-17 19:43:27 +01:00
  • 7abea0870f Fix for filesystems with 64-bit inodes M-HT 2019-03-17 19:41:57 +01:00
  • 1ab062d899 Small optim for pshufd where src==dest ptitSeb 2019-03-17 14:37:35 +01:00
  • d60f7c319c Use direct native wrapped function for SDL1 version of SDL_BuildAudioCVT and SDL_ConvertAudio (for #7) ptitSeb 2019-03-17 14:36:30 +01:00
  • 0398803f1b This should take care of shared callback created and free inside callback (should fix #8) ptitSeb 2019-03-17 14:22:13 +01:00
  • 2538e7ef8c Added (untested, probably buggy) handling of syscall 120 (sys_clone) ptitSeb 2019-03-17 11:43:47 +01:00
  • f122665e3c Added syscall 42 ptitSeb 2019-03-17 10:25:33 +01:00
  • 3e691791b6 better debug for statfv64 wrapped function ptitSeb 2019-03-17 10:14:57 +01:00
  • 430303d9c0 Forgot the table jump entry for rdtsc ptitSeb 2019-03-17 10:14:28 +01:00
  • ecdb0aab03 Added rdtsc instruction ptitSeb 2019-03-17 10:10:25 +01:00
  • 2522e9bb1d Removed the printf on tgkill ptitSeb 2019-03-16 21:30:59 +01:00
  • 822d8f45b6 Oops, another typo... ptitSeb 2019-03-16 21:27:38 +01:00
  • d036cab4c1 Slight change to poll wrapped function ptitSeb 2019-03-16 21:06:34 +01:00
  • 3ee1c2b282 Fixed a stupid typo, again ptitSeb 2019-03-16 21:06:18 +01:00
  • b2b2775504 Small fix for x86 build ptitSeb 2019-03-16 19:24:19 +01:00
  • 3a5ea0379a Special handling of open(64) when accessing /proc/sef/cmdline ptitSeb 2019-03-16 17:46:54 +01:00
  • dc3281203d Don't print Setting trace if trace is not enabled ptitSeb 2019-03-16 17:46:21 +01:00
  • d94a049cfd Some more cpuid leafs ptitSeb 2019-03-16 16:28:34 +01:00
  • c7b1c337e2 Small improvements to debug wrapped function traces ptitSeb 2019-03-16 16:28:09 +01:00
  • 116eaefd8f Added preliminary Signal handling ptitSeb 2019-03-16 12:21:20 +01:00
  • 8c70a9395d Added some support for atfork function ptitSeb 2019-03-16 10:09:51 +01:00
  • 29fbe46d41 Add proprer timer_create wrapped function (but because of the lack of signal handling, the timer will probably crash the app later) ptitSeb 2019-03-13 21:49:51 +01:00
  • aa4d982d4c Fixed some typo, fixing sdl1image, sdl2image and sdl1mixer (Also fix 'Benri and the Bandits') ptitSeb 2019-03-13 21:35:21 +01:00
  • fa6ab1c8c4 Change BOX86_LOG=DEBUG so a wrapped call that segfault is anyway printed in the log ptitSeb 2019-03-13 21:29:47 +01:00
  • a9216705e1 Added a few more wrapped function (should help 'Berni and the Bandits') ptitSeb 2019-03-12 08:25:57 +01:00
  • 20828213b2 Added a few wrapped function (should help Hollywood Player) ptitSeb 2019-03-11 22:04:58 +01:00
  • f4e228730f Added a few opcodes, needed by PixelJunk Shooter (also need LIBGL_GL=21 with gl4es) ptitSeb 2019-03-10 21:39:10 +01:00
  • bd9c8f0f12 Flush log trace at each write, to avoid half-written trace when segfault occurs ptitSeb 2019-03-10 18:09:05 +01:00
  • d07db1054a Added some more wrapped functions ptitSeb 2019-03-10 11:11:55 +01:00
  • 18deecddea Added a few more GS: operations ptitSeb 2019-03-10 11:11:29 +01:00
  • f3991199dd Improved trace with SDL_RWFromFile ptitSeb 2019-03-10 11:11:02 +01:00
  • 007411411b Some work to avoid Bus Error (NWN now enter in game... but crashes immediatly) ptitSeb 2019-03-05 21:48:48 +01:00
  • 75124ba900 Changed (again) the way elf dependancies are loaded to avoid beeing sensitive to the order of loading (fixes NWN, that crash just before the game with BusError) ptitSeb 2019-03-04 21:15:06 +01:00
  • 1d9589c093 New dev cycle ptitSeb 2019-03-04 20:47:28 +01:00
  • 6974d96f6e Update README.md ptitSeb 2019-03-03 21:30:04 +01:00
  • 5584e62db3 Bumped to v0.0.4 v0.0.4 ptitSeb 2019-03-03 21:24:04 +01:00
  • 9b968777a0 Refined the README ptitSeb 2019-03-03 21:04:07 +01:00
  • 62b7326a75 Remove the (now) useless while in main loop ptitSeb 2019-03-03 21:03:38 +01:00
  • 6b7275f475 Small syscall imrprovment ptitSeb 2019-03-03 19:30:52 +01:00
  • 7f174da3c7 Slightly improve debug trace ptitSeb 2019-03-03 18:58:29 +01:00
  • 5a1c7b50e7 Make sure Flags are clean when entering or leaving x86 emu ptitSeb 2019-03-03 16:59:25 +01:00
  • 39283bf99e Added (faked) CPUID Leaf 2 ptitSeb 2019-03-03 16:58:59 +01:00
  • 95ec71bd0a Small work on syscalls ptitSeb 2019-03-03 16:58:22 +01:00
  • 756a7fddf2 Correct handling of .init_array sections ptitSeb 2019-03-03 15:52:49 +01:00
  • e1f897cab9 Added a few more syscall ptitSeb 2019-03-03 15:52:02 +01:00
  • eb35ed9a1b Added some more Desktop GL wrapped functions (GL 4.5 mainly) ptitSeb 2019-03-03 12:10:26 +01:00
  • f439a401a0 Update README.md ptitSeb 2019-03-03 09:24:22 +01:00
  • bfd4c8cb5c Fixed a stupid mistake on callback, fixing a large memory leak ptitSeb 2019-03-03 08:43:58 +01:00
  • 3fca45b256 Fixed SAHF opcode ptitSeb 2019-03-02 20:42:59 +01:00
  • bda27e69ba Added improved trace for glVertex2f ptitSeb 2019-03-02 20:15:19 +01:00
  • 1e88171d45 Added a few x87 opcodes ptitSeb 2019-03-02 17:23:02 +01:00
  • d9a2f6b7bb NeededLib are now loaded in the same order as listed in elf ptitSeb 2019-03-02 16:15:05 +01:00
  • 94de344d05 Fixed bad printing of missing symbol when applying R_386_TLS_DTPOFF32 or R_386_JMP_SLOT relocation ptitSeb 2019-03-02 15:58:24 +01:00
  • 3dd188dedd Added a bunch of NV and SGIX extentions to wrapped GL (should help run HumandRessouceMachine with NVidia card #2) ptitSeb 2019-03-02 15:51:17 +01:00
  • a5562ea8bd Fixed i386 and amd64 build in wrappedlibc rajdakin 2019-03-02 15:41:39 +01:00
  • 8f86acfef6 Try to avoid some warning ptitSeb 2019-03-02 14:39:24 +01:00
  • 890cf8841a Added some more libc wrapped functions ptitSeb 2019-03-02 14:36:19 +01:00
  • 55e0e5571b Added partial dladdr ptitSeb 2019-03-02 14:10:37 +01:00
  • 19e062a79c Setup stack before calling init instead of after in my___libc_start_main ptitSeb 2019-03-02 13:57:01 +01:00
  • 916a10fae8 Added some more wrapped functions ptitSeb 2019-03-02 08:35:06 +01:00
  • 4f8849e914 Forgot that one in previous commit ptitSeb 2019-03-01 18:36:30 +01:00
  • 713098471e Added a few (mostly undone) wrapped libs, plus some wrapped functions ptitSeb 2019-03-01 18:36:02 +01:00
  • bab00e6e42 Added 2 more opcodes ptitSeb 2019-03-01 17:13:52 +01:00
  • c0836a75ed Removed a warning ptitSeb 2019-03-01 16:46:38 +01:00
  • 6cb611971a Update README.md ptitSeb 2019-02-28 15:31:44 +01:00
  • 3ba09947d2 Update README.md ptitSeb 2019-02-27 10:40:11 +01:00
  • 523c3db8c4 Update README.md ptitSeb 2019-02-27 10:39:40 +01:00
  • d94b7fba23 Update README.md ptitSeb 2019-02-27 10:37:48 +01:00
  • ae76bbcafe Small changes in a few 0x66 prefixes opcodes ptitSeb 2019-02-26 07:48:56 +01:00
  • b987e9086a the mul and imul opcode now have defered flags ptitSeb 2019-02-25 21:36:39 +01:00
  • 47fc82a839 Remove the -no-pie and -fjump-table parameter option in the cmake, it's probably not really usefull ptitSeb 2019-02-25 21:36:00 +01:00
  • fcff7e85fe Some minor change to a few opcodes ptitSeb 2019-02-25 19:05:06 +01:00
  • 147ec021ea Implemented same fix for wide-char printf variants ptitSeb 2019-02-24 22:01:57 +01:00
  • cb7f4d373e Fix some border case (v/s/f)printf plus added a few wrapped functions ptitSeb 2019-02-24 22:00:14 +01:00
  • 3db9dfd7ea Fixed regular build (without USE_FLOAT) ptitSeb 2019-02-24 21:03:30 +01:00
  • 18fa4d2134 Improved callbacks, with shared and small variant ptitSeb 2019-02-24 16:45:58 +01:00
  • b63ec10cf7 Added a workaround for pthread_cond_t initialized statically ptitSeb 2019-02-24 14:49:32 +01:00
  • c44ce3acbd Fixed issue with pthread_cond_t statically initialized ptitSeb 2019-02-24 14:35:01 +01:00
  • fbd494d348 Added USE_FLOAT build option (hopefully a bit faster on the Pandora) ptitSeb 2019-02-24 13:58:31 +01:00
  • b98412de11 Added a few more instructions (Neverwinter Night start now) ptitSeb 2019-02-24 11:12:34 +01:00
  • cd17162a00 Save more register in EmuCall ptitSeb 2019-02-24 11:11:54 +01:00
  • dd63e8cc86 Made thread_once mecanism much simpler ptitSeb 2019-02-24 11:11:12 +01:00
  • 1d0ca9bf0c Some simplifications and improvments to emulated functions call ptitSeb 2019-02-24 11:10:33 +01:00
  • c0704f6a34 Update README.md ptitSeb 2019-02-24 09:02:05 +01:00
  • a7750a38b9 Added dependant libs when loading SDL1 ptitSeb 2019-02-23 14:17:11 +01:00
  • 58307888df Added warning when symbol is not found on R_386_PC32 reloc ptitSeb 2019-02-23 14:16:39 +01:00
  • b1ad6f19c0 Added (dummy) Push/Pop ES and DS ptitSeb 2019-02-23 14:15:59 +01:00
  • b254c69771 Simplified thread handling, and implemented some workaround around pthread_cond_init ptitSeb 2019-02-23 12:42:35 +01:00
  • 0360d2562d Added a few data in wrapped libc ptitSeb 2019-02-23 12:41:53 +01:00
  • 2df3d1967e Fixed issue with DATAM and DATAW macros ptitSeb 2019-02-23 12:40:50 +01:00
  • 54c600660b Use prefetch with '3' as hint instead of '2' (not sure it changes anything on arm) ptitSeb 2019-02-23 11:14:43 +01:00
  • 4e8e889900 Fixed an issue with R_386_PC32 relocation ptitSeb 2019-02-23 11:13:39 +01:00
  • 66ed58df03 added a few more wrapped functions ptitSeb 2019-02-22 14:07:43 +01:00
  • a8d4175cd1 Added another readlink hack for self ptitSeb 2019-02-22 11:45:41 +01:00
  • 1c286c1c5e Added libopenal.so.0 alternative ptitSeb 2019-02-22 11:45:13 +01:00
  • 011a1057bf Handling of OggVorbis_File structure, that is 704 bytes on x86 and 720 on ARM (fixing Gemini Rue) ptitSeb 2019-02-22 09:58:14 +01:00
  • 1d8af4b523 Improve Trace handling ptitSeb 2019-02-22 09:57:27 +01:00