Commit Graph

  • 48b4b3d4ae [DYNAREC] Fixed some VCVT print ptitSeb 2019-10-17 17:38:51 +02:00
  • a15c4771c8 [DYNAREC] Added more FADD opcodes ptitSeb 2019-10-17 17:09:38 +02:00
  • fc929f622b [DYNAREC] Added an FADD opcode ptitSeb 2019-10-17 17:05:00 +02:00
  • 707be246e9 [DYNAREC] Optim on stack managment, plus a bunch of fixes and more FMUL opcodes ptitSeb 2019-10-17 16:56:22 +02:00
  • 3eee490042 [DYNAREC] added a FMULP opcode ptitSeb 2019-10-17 15:44:24 +02:00
  • 9d3d250545 [DYNAREC] Added FILD opcode ptitSeb 2019-10-17 15:04:36 +02:00
  • e912e0a98a [DYNAREC] More FPU conversion emitter/printer ptitSeb 2019-10-17 14:54:24 +02:00
  • 20ca0566be [DYNAREC] oops, fixed FST/FSTP with float conversion ptitSeb 2019-10-17 14:00:21 +02:00
  • d092d2e6e9 [DYNAREC] Added some FLD/FST/FSTP with float conversion ptitSeb 2019-10-17 13:58:03 +02:00
  • 180e49847b [DYNAREC] and more FST/FSTP opcodes ptitSeb 2019-10-17 13:33:01 +02:00
  • 62c055f7ac [DYNAREC] More FST/FSTP opcodes ptitSeb 2019-10-17 13:26:04 +02:00
  • 3a4753ef70 [DYNAREC] FSTP tbytes works now ptitSeb 2019-10-17 13:18:21 +02:00
  • 43d02c8f3e [DYNAREC] Fixed current batch of x87 opcodes ptitSeb 2019-10-17 12:52:43 +02:00
  • b7d6955b43 [DYNAREC] Added a few more x87 opcodes (but they all needs some debugging) ptitSeb 2019-10-17 11:52:37 +02:00
  • 2941140df6 [DYNAREC] Added a few more x87 opcodes ptitSeb 2019-10-17 11:27:10 +02:00
  • 47bd2db9c3 [DYNAREC] Added a few more instructions ptitSeb 2019-10-17 11:14:14 +02:00
  • e7460dc878 [DYNAREC] Added some first x87 opcodes ptitSeb 2019-10-17 10:45:57 +02:00
  • 89504ca289 [DYNAREC] More infrastructure for x87 opcodes ptitSeb 2019-10-17 10:40:52 +02:00
  • 652b2d9d86 [DYNAREC] More emitter / printer for x87 ptitSeb 2019-10-17 09:37:48 +02:00
  • c46dff15dc Merge branch 'dynarec' of https://github.com/ptitSeb/box86 into dynarec ptitSeb 2019-10-16 22:57:42 +02:00
  • b121064454 [DYNAREC] Added one D9 x87 instruction ptitSeb 2019-10-16 19:49:52 +02:00
  • ce952b9ab9 [DYNAREC] Added some emitter and printer for future x87 emulation ptitSeb 2019-10-16 19:33:33 +02:00
  • 3567d9eccf [DYNAREC] Added some infrastructure for newt step in opcode implementation ptitSeb 2019-10-16 14:16:33 +02:00
  • 34e24f6fa4 [DYNAREC] Added ROL/ROR/RCL/RCR/SHL/SHR/SAR 8bits opcodes ptitSeb 2019-10-15 23:06:48 +02:00
  • 4084c5a448 [DYNAREC] added INC/DEC 16bits ptitSeb 2019-10-15 22:56:48 +02:00
  • e0e426fe53 [DYNAREC] Fixed DAA/DAS/AAA/AAS opcodes and improved POPF ptitSeb 2019-10-15 19:46:52 +02:00
  • cede4198fa [DYNAREC] Updated README and USAGE with DynaRec infos ptitSeb 2019-10-15 14:39:33 +02:00
  • 249d008272 [DYNAREC] Added DAA/DAS/AAA/AAS opcodes ptitSeb 2019-10-15 14:13:59 +02:00
  • 9ba8db83bd [DYNAREC] Small smart linker improvment ptitSeb 2019-10-15 09:24:14 +02:00
  • de3202630d [DYNAREC] Made the linker smarter, so it can handled changing jump address ptitSeb 2019-10-15 08:44:14 +02:00
  • db5a19ec82 [DYNAREC] Don't force linker when jumping to [0xCONSTANT], as it may change (fix pico8 parser) ptitSeb 2019-10-15 08:20:40 +02:00
  • 5a140abd05 [DYNAREC] Made the Out-of-block epilog to forece last opcode to caclulate flag ptitSeb 2019-10-15 08:19:49 +02:00
  • c6b6e9e78f [DYNAREC] Fixed some ADC/SBB and all RCL/RCR opcode that was missing USEFLAG macro (GeminiRue boots, but deadlock in menu, pico8 still broken) ptitSeb 2019-10-14 22:49:56 +02:00
  • f35975e748 [DYNAREC] A few more Fixes and some cosmetics changes (GeminiRue still have parsing issues) ptitSeb 2019-10-14 21:37:49 +02:00
  • 0056aaf687 [DYNAREC] Fixed regression introduced with last refactoring ptitSeb 2019-10-14 19:58:53 +02:00
  • bf6ccfbf1e [DYNAREC] Small refactoring ptitSeb 2019-10-14 18:33:34 +02:00
  • 1467c8f48f [DYNAREC] Fixedsome LDR(B)/STR(B) emitter (but not enough to fix gemini_rue or pico8) ptitSeb 2019-10-13 22:53:36 +02:00
  • c334e3b4da [DYNAREC] Fixed some 0F prefixed opcode (pico8 still not behave correctly) ptitSeb 2019-10-13 21:12:06 +02:00
  • c7b6dc0762 [DYNAREC] Fixed some 16bits opcode (now BrokenSword 1 starts, but pico8 still fail with a syntax error when loading some working cards) ptitSeb 2019-10-13 20:40:00 +02:00
  • 03045e2a78 [DYNAREC] Fixed GETEW/EWBACK and GETEB/EBBACK macro, and now things are working, and faster then without Dynarec ptitSeb 2019-10-13 18:06:46 +02:00
  • 628bbc5810 [DYNAREC] Fixed GWBACK macro, and added fixedaddress detection when resolving ED, to use Linker when address is fixed ptitSeb 2019-10-13 17:23:57 +02:00
  • e2ddaa67fa [DYNAREC] Numerous fixes and some refactoring, mostly around 8bits opcodes (stll WorldOfGoo 1.53 cannot boot properly, with libpng errors ptitSeb 2019-10-13 17:01:43 +02:00
  • dba3675688 [DYNAREC] Added option to disable Linker from command line ptitSeb 2019-10-13 14:23:41 +02:00
  • 54073bb12f Better wrapped fprintf log ptitSeb 2019-10-13 12:14:04 +02:00
  • d512a56bb9 [DYNAREC] Added more BT/BTR 32 opcodes ptitSeb 2019-10-13 11:27:28 +02:00
  • e2e63d3121 [DYNAREC] Fixed some 8bits add/sub opcode (now asciisector runs, faster then without dynarec, but the circle fadeout of the map just doesn't work, so still something wrong somewhere ptitSeb 2019-10-13 11:26:49 +02:00
  • e51a5682b5 Added some comment for easier debugging ptitSeb 2019-10-13 11:21:45 +02:00
  • 38991a4b2e [DYNAREC] Added BTC 16/32 opcode ptitSeb 2019-10-13 10:51:36 +02:00
  • bb368f910c [DYNAREC] Added BTS/BTR 32/16 ptitSeb 2019-10-13 10:44:52 +02:00
  • a68c9f2f65 [DYNAREC] Fixed 66 81 and 66 83 opcodes (Undertale now boot, and is faster, but the splash screen is garbled there there is still something wrong somewhere) ptitSeb 2019-10-12 23:24:52 +02:00
  • f3535225ab [DYNAREC] Added 66 81 and 66 83 opcode ptitSeb 2019-10-12 23:02:38 +02:00
  • e20f7663f1 [DYNAREC] Messed up a bit with flags and falgs optim. Seems better but should be refactor ptitSeb 2019-10-12 22:38:13 +02:00
  • c222cb4e0d [DYNAREC] Fixed shrd/shrld 32/16 opcode (some bugs are still there, at least 1, shown in pico8 0.11 with splore menu going blank) ptitSeb 2019-10-12 20:37:39 +02:00
  • bcb03fc62f [DYNAREC] Added BT 16 opcode ptitSeb 2019-10-12 19:37:21 +02:00
  • 51c0afa1a1 [DYNAREC] Added shld/shrd 16 opcode ptitSeb 2019-10-12 19:18:14 +02:00
  • 6008798b99 [DYNAREC] Added shld/shrd opcodes ptitSeb 2019-10-12 19:07:31 +02:00
  • 9e1376657b [DYNAREC] Added rol/ror/rcl/rcr/shl/shr/sar 8 opcodes ptitSeb 2019-10-12 18:47:42 +02:00
  • 572ebc27fa [DYNAREC] rol/ror/rcl/rcr/shl/shr 16 opcodes ptitSeb 2019-10-12 18:26:41 +02:00
  • 363c851f2b [DYNAREC] Added 66 F7 opcode ptitSeb 2019-10-12 18:05:36 +02:00
  • 516b4bdbbd [DYNAREC] Added inc/dec reg16 ptitSeb 2019-10-12 17:52:02 +02:00
  • 47f4ca2b3a [DYNAREC] fixed 1 cmp 16 opcode ptitSeb 2019-10-12 17:45:23 +02:00
  • 4808a19633 [DYNAREC] Added adc/sbc 16 opcodes ptitSeb 2019-10-12 17:42:41 +02:00
  • b2e61ea5f6 [DYNAREC] The check didn't find that typo in a sub 16 opcode ptitSeb 2019-10-12 17:26:15 +02:00
  • 5f698e971e [DYNAREC] Add/check sbb 8/32 and add/sub 16 ptitSeb 2019-10-12 17:24:25 +02:00
  • 71ed1c374b [DYNAREC] Add/check/fix the (rep) stos/movs/scas/cmps/lods 8/32bits opcodes ptitSeb 2019-10-12 16:41:20 +02:00
  • 757ee37905 [DYNAREC] Changed TST emitter, and now valgrind is ok ptitSeb 2019-10-12 14:43:19 +02:00
  • eee9899cbe [DYNAREC] check/fix rol/ror/rcl/rcr/srl/shr 32 ptitSeb 2019-10-12 14:36:34 +02:00
  • ab00993f21 [DYNAREC] Added pushf/pop and started checking opcode (add32/8, sub32/8, inc32/8, dec32/8, neg32/8, not32/8 and/or/xor/cmp/test32/8 are ok) ptitSeb 2019-10-12 11:26:22 +02:00
  • 29590f0327 [DYNAREC] Added a few more 8bits opcodes ptitSeb 2019-10-11 23:05:57 +02:00
  • 459f209a20 [DYNAREC] Some more 16bits instructions ptitSeb 2019-10-11 22:23:38 +02:00
  • 6f2e829e87 [DYNAREC] Fixed NativeCall hack when RETN is used, and added missing ADC opcode (UNDERTALE now boots, but get stuck after splash screen) ptitSeb 2019-10-11 20:54:18 +02:00
  • 1d5b98f564 [DYNAREC] Refactored sources, to try reduce compile time ptitSeb 2019-10-11 16:26:48 +02:00
  • f3837e2954 [DYNAREC] A few more 8bits opcodes ptitSeb 2019-10-11 14:06:23 +02:00
  • 99306352a3 [DYNAREC] Added a test to not call UpdateFlags if flags are clean ptitSeb 2019-10-11 11:50:21 +02:00
  • 5e95c04139 [DYNAREC] Fixed some copypasta bugs in 8bits mul/div opcode, and added CALL macro an option to save more regs ptitSeb 2019-10-11 11:22:09 +02:00
  • ae7f6de506 [DYNAREC] Small (mostly cosmetics) changes ptitSeb 2019-10-11 09:29:00 +02:00
  • 650ae663e4 [DYNAREC] More 8bits opcodes ptitSeb 2019-10-10 23:01:16 +02:00
  • 88cffdf4ec [DYNAREC] Added BSWAP opcode ptitSeb 2019-10-10 22:13:58 +02:00
  • 824547a96d [DYNAREC] Some more 16bits CMP opcode ptitSeb 2019-10-10 21:53:58 +02:00
  • ad9b6e570b [DYNAREC] Added some 32bits ROR, ROL, RCL and RCR opcodes ptitSeb 2019-10-10 21:02:43 +02:00
  • 9c9e1944f8 [DYNAREC] added 2 16bits opcodes ptitSeb 2019-10-10 20:22:48 +02:00
  • 043db28b00 [DYNAREC] Added some ADC and SBB opcode ptitSeb 2019-10-10 20:12:44 +02:00
  • e8c1af8822 [DYNAREC] Aving multiple mutex is a bad idea, that will lead to deadlock, so reverted to only 1 mutex for dynablocks ptitSeb 2019-10-10 19:51:06 +02:00
  • 18316aca9a [DYNAREC] Made dynablock per elfimage, and selection with address (that will avoid dynarec'ing a block of code that is not from an elf image, like a JIT'd code, because it may be not constant) ptitSeb 2019-10-10 16:48:11 +02:00
  • e86df52fbb [DYNAREC] Moved block mutex inside dynablocks structure ptitSeb 2019-10-10 15:07:11 +02:00
  • b66d0fe188 [DYNAREC] Some small changes in 8bits opcode, and disabled code for adc/sbb opcode (in wrapped C function) ptitSeb 2019-10-10 09:35:47 +02:00
  • 076fa22486 [DYNAREC] Added more 8bit opcodes ptitSeb 2019-10-10 08:31:32 +02:00
  • 5b433fd6d0 [DYNAREC] Added some TST opcode ptitSeb 2019-10-10 08:11:17 +02:00
  • 1aa37cec89 [DYNAREC] Fixed REPx CMPSx and REPx SCASx, and added REP LODSx (and pico8 intro sound is back) ptitSeb 2019-10-10 07:54:27 +02:00
  • 2c8cd5e4fa [DYNAREC] Added some REP XXX opcode (but it seems the intro sound of pico8 is broken now, at least silent) ptitSeb 2019-10-10 00:13:37 +02:00
  • 20bd4aed8f [DYNAREC] Added ADC and SBB opcode (wrapper to C implementation for now) ptitSeb 2019-10-09 22:13:24 +02:00
  • a01ba37d6c [DYNAREC] More 8bits opcodes ptitSeb 2019-10-09 22:02:51 +02:00
  • 79926534cb [DYNAREC] Added 1 version of 8bit OR and ADD opcode ptitSeb 2019-10-09 21:49:26 +02:00
  • 695adb718d [DYNAREC] Aded SETxx opcodes ptitSeb 2019-10-09 21:32:04 +02:00
  • 5284e9270a [DYNAREC] Revert a change that break printer in many opcode. Strange, this need to be analysed latter ptitSeb 2019-10-09 15:56:32 +02:00
  • e260019df8 [DYNAREC] Fixed a bug with 8bit reg access (still not enough to get undertale to run) ptitSeb 2019-10-09 08:39:08 +02:00
  • 6c8c4b3e45 [DYNAREC] More bug fixes, but Undertale still crashes ptitSeb 2019-10-09 00:26:07 +02:00
  • 295d5db77a [DYNAREC] More fixes and improvments, but still some issues with pico8 when using SPLORE ptitSeb 2019-10-08 22:47:48 +02:00
  • 3e556eae78 [DYNAREC] Fixed Native call when return address is not the expected one (like with set_jump functions). Fixes pixo8, at last ptitSeb 2019-10-08 21:44:18 +02:00
  • a97f278bb1 [DYNAREC] Fixed NEG opcode (plus a few other cosmetics changes). This fixes airstrike, but not pico8 unfortunatly. ptitSeb 2019-10-08 20:51:05 +02:00