Commit Graph

  • 09609997b3 [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
  • dd510d9086 [DYNAREC] A few more Fixes and some cosmetics changes (GeminiRue still have parsing issues) ptitSeb 2019-10-14 21:37:49 +02:00
  • d65e14910b [DYNAREC] Fixed regression introduced with last refactoring ptitSeb 2019-10-14 19:58:53 +02:00
  • fe0809cef8 [DYNAREC] Small refactoring ptitSeb 2019-10-14 18:33:34 +02:00
  • 0532f5adc3 [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
  • fadee457ba [DYNAREC] Fixed some 0F prefixed opcode (pico8 still not behave correctly) ptitSeb 2019-10-13 21:12:06 +02:00
  • 10bda2b797 [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
  • 262e93a6b4 [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
  • 8c4b2bb777 [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
  • f7fff13094 [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
  • e0b2560ffa [DYNAREC] Added option to disable Linker from command line ptitSeb 2019-10-13 14:23:41 +02:00
  • dc5fc68387 Better wrapped fprintf log ptitSeb 2019-10-13 12:14:04 +02:00
  • b3027741f6 [DYNAREC] Added more BT/BTR 32 opcodes ptitSeb 2019-10-13 11:27:28 +02:00
  • ad8c74e0c3 [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
  • 7c569f5b80 Added some comment for easier debugging ptitSeb 2019-10-13 11:21:45 +02:00
  • 06d07b200e [DYNAREC] Added BTC 16/32 opcode ptitSeb 2019-10-13 10:51:36 +02:00
  • 19c6e4e79d [DYNAREC] Added BTS/BTR 32/16 ptitSeb 2019-10-13 10:44:52 +02:00
  • f78ea4d279 [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
  • e95142fffc [DYNAREC] Added 66 81 and 66 83 opcode ptitSeb 2019-10-12 23:02:38 +02:00
  • 7f181e09da [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
  • 5276449269 [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
  • f63cc905d5 [DYNAREC] Added BT 16 opcode ptitSeb 2019-10-12 19:37:21 +02:00
  • fa51cb3ea1 [DYNAREC] Added shld/shrd 16 opcode ptitSeb 2019-10-12 19:18:14 +02:00
  • 1fb5dd39ed [DYNAREC] Added shld/shrd opcodes ptitSeb 2019-10-12 19:07:31 +02:00
  • 1d85be7bb2 [DYNAREC] Added rol/ror/rcl/rcr/shl/shr/sar 8 opcodes ptitSeb 2019-10-12 18:47:42 +02:00
  • e7ffc6d0d3 [DYNAREC] rol/ror/rcl/rcr/shl/shr 16 opcodes ptitSeb 2019-10-12 18:26:41 +02:00
  • dc9d6ff55a [DYNAREC] Added 66 F7 opcode ptitSeb 2019-10-12 18:05:36 +02:00
  • 335dbf233c [DYNAREC] Added inc/dec reg16 ptitSeb 2019-10-12 17:52:02 +02:00
  • cb8cb43194 [DYNAREC] fixed 1 cmp 16 opcode ptitSeb 2019-10-12 17:45:23 +02:00
  • c234a4fefc [DYNAREC] Added adc/sbc 16 opcodes ptitSeb 2019-10-12 17:42:41 +02:00
  • 682ec6745c [DYNAREC] The check didn't find that typo in a sub 16 opcode ptitSeb 2019-10-12 17:26:15 +02:00
  • 5de4ec65e2 [DYNAREC] Add/check sbb 8/32 and add/sub 16 ptitSeb 2019-10-12 17:24:25 +02:00
  • e15e8259a2 [DYNAREC] Add/check/fix the (rep) stos/movs/scas/cmps/lods 8/32bits opcodes ptitSeb 2019-10-12 16:41:20 +02:00
  • aac6571998 [DYNAREC] Changed TST emitter, and now valgrind is ok ptitSeb 2019-10-12 14:43:19 +02:00
  • 129730e73f [DYNAREC] check/fix rol/ror/rcl/rcr/srl/shr 32 ptitSeb 2019-10-12 14:36:34 +02:00
  • f9ab62025d [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
  • 7a61fff0c8 [DYNAREC] Added a few more 8bits opcodes ptitSeb 2019-10-11 23:05:57 +02:00
  • 43f407559d [DYNAREC] Some more 16bits instructions ptitSeb 2019-10-11 22:23:38 +02:00
  • b2eefc00e8 [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
  • 21ca9af789 [DYNAREC] Refactored sources, to try reduce compile time ptitSeb 2019-10-11 16:26:48 +02:00
  • 068b259777 [DYNAREC] A few more 8bits opcodes ptitSeb 2019-10-11 14:06:23 +02:00
  • 15225bed69 [DYNAREC] Added a test to not call UpdateFlags if flags are clean ptitSeb 2019-10-11 11:50:21 +02:00
  • 6dd402978f [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
  • 717e6ac0f9 [DYNAREC] Small (mostly cosmetics) changes ptitSeb 2019-10-11 09:29:00 +02:00
  • ed3c1ccf49 [DYNAREC] More 8bits opcodes ptitSeb 2019-10-10 23:01:16 +02:00
  • b8f540474d [DYNAREC] Added BSWAP opcode ptitSeb 2019-10-10 22:13:58 +02:00
  • 32562b84bf [DYNAREC] Some more 16bits CMP opcode ptitSeb 2019-10-10 21:53:58 +02:00
  • 488932fa17 [DYNAREC] Added some 32bits ROR, ROL, RCL and RCR opcodes ptitSeb 2019-10-10 21:02:43 +02:00
  • 2e61a2a4db [DYNAREC] added 2 16bits opcodes ptitSeb 2019-10-10 20:22:48 +02:00
  • fd9f620bab [DYNAREC] Added some ADC and SBB opcode ptitSeb 2019-10-10 20:12:44 +02:00
  • ac72791a48 [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
  • 171f9b317c [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
  • f311a6f566 [DYNAREC] Moved block mutex inside dynablocks structure ptitSeb 2019-10-10 15:07:11 +02:00
  • df0084e037 [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
  • 4ec601b537 [DYNAREC] Added more 8bit opcodes ptitSeb 2019-10-10 08:31:32 +02:00
  • 29da3f9408 [DYNAREC] Added some TST opcode ptitSeb 2019-10-10 08:11:17 +02:00
  • aa014eaf14 [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
  • e2306956a5 [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
  • d604f0f746 [DYNAREC] Added ADC and SBB opcode (wrapper to C implementation for now) ptitSeb 2019-10-09 22:13:24 +02:00
  • 6fff9c1314 [DYNAREC] More 8bits opcodes ptitSeb 2019-10-09 22:02:51 +02:00
  • faec52284f [DYNAREC] Added 1 version of 8bit OR and ADD opcode ptitSeb 2019-10-09 21:49:26 +02:00
  • bf1c6ee242 [DYNAREC] Aded SETxx opcodes ptitSeb 2019-10-09 21:32:04 +02:00
  • 330da45dca [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
  • c79bd682e5 [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
  • e9f6992059 [DYNAREC] More bug fixes, but Undertale still crashes ptitSeb 2019-10-09 00:26:07 +02:00
  • 289d6beb17 Merge pull request #66 from kant/patch-2 ptitSeb 2019-10-08 23:49:06 +02:00
  • e11e825c3a Merge pull request #65 from kant/patch-1 ptitSeb 2019-10-08 23:48:40 +02:00
  • 2916541885 [DYNAREC] More fixes and improvments, but still some issues with pico8 when using SPLORE ptitSeb 2019-10-08 22:47:48 +02:00
  • 3eac50321c Syntax issues fixed Darío Hereñú 2019-10-08 17:44:06 -03:00
  • 1f2442f384 Syntax issue on line 17 Darío Hereñú 2019-10-08 17:39:17 -03:00
  • 0ea6c8e1e2 [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
  • 0a6d6cee32 [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
  • c8debfd8ed [DYNAREC] Fixed a typo in previous refactoring ptitSeb 2019-10-08 17:50:17 +02:00
  • c6ef22a226 [DYNAREC] Made some macro for scratch register, to cleary see difference between Register and Litteral (also fixed a few things in the process) ptitSeb 2019-10-08 16:21:56 +02:00
  • 0d8a21e85b [DYNAREC] And a few more fixes, mainly SUB with flags opcode (still some more fixes to find) ptitSeb 2019-10-08 08:41:00 +02:00
  • 88f97ebaf3 [DYNAREC] Fixed BT opcode (not enough to fix Airstrike or Pico8) ptitSeb 2019-10-07 23:38:22 +02:00
  • b652e9959c [DYNAREC] Added some 8b opcodes ptitSeb 2019-10-07 21:59:34 +02:00
  • cadea596e1 [DYNAREC] One more GS: opcode ptitSeb 2019-10-07 21:26:57 +02:00
  • f7074bcce9 [DYNAREC] More changes (simplifications), using some armv7 instructions ptitSeb 2019-10-07 21:19:22 +02:00
  • 6ab8e78133 [DYNAREC] Added a TODO comment ptitSeb 2019-10-07 15:31:34 +02:00
  • a8c53255a8 [DYNAREC] Fixed NativeCall Hack ptitSeb 2019-10-07 15:17:14 +02:00
  • aaeb4677e1 [DYNAREC] Try to improve the geted part ptitSeb 2019-10-07 14:50:55 +02:00
  • 269535411b [DYNAREC] Simplified some opcodes ptitSeb 2019-10-07 09:28:15 +02:00
  • 33f179b78f [DYNAREC] Added and Fix a bunch of stuff, but there is still something broken somewhere (pico8 doesn't load carts, undertale segfault) ptitSeb 2019-10-07 00:01:08 +02:00
  • abe6d22870 [DYNAREC] Added XCHG with lock opcode ptitSeb 2019-10-06 14:36:24 +02:00
  • 2ac095fd04 [DYNAREC] Added a few more opcodes, including DIVs and MULs ptitSeb 2019-10-06 14:04:27 +02:00
  • a319b98daf [DYNAREC] More logic and arithmetics opcodes ptitSeb 2019-10-06 11:21:14 +02:00
  • 547ed02318 [DYNAREC] Added another IMUL opcode ptitSeb 2019-10-06 10:06:17 +02:00
  • 15faf7e061 [DYNAREC] Added LEAVE opcode ptitSeb 2019-10-05 22:46:34 +02:00
  • afc91dfc4d [DYNAREC] And more logic opcodes ptitSeb 2019-10-05 22:40:08 +02:00
  • 8a6ccf6ddf [DYNAREC] Added BT opcode ptitSeb 2019-10-05 22:03:04 +02:00
  • 7014b1a1c0 [DYNAREC] Fixed printer for some MOV LSR cases ptitSeb 2019-10-05 22:02:39 +02:00
  • 6b12ad18ef [DYNAREC] Added Mov Eb, Gb opcode ptitSeb 2019-10-05 21:11:26 +02:00
  • 8f6021657f [DYNAREC] Added an OR opcode ptitSeb 2019-10-05 20:18:32 +02:00
  • 185fe1f092 [DYNAREC] Fixed a bug with optimizations. (now FTL starts again) ptitSeb 2019-10-05 19:54:49 +02:00
  • ca0d56e33e [DYNAREC] Added some hack for regular method to grab EIP ptitSeb 2019-10-05 19:14:46 +02:00
  • fb1b84c12e [DYNAREC] Added Mov Gw, Ew opcode ptitSeb 2019-10-05 17:29:08 +02:00
  • bfcff3170e [DYNAREC] Fixed Mov Ew, Gw opcode (Undertale works again correctly, still slower) ptitSeb 2019-10-05 17:23:23 +02:00
  • e864759628 [DYNAREC] Added support for GOT/PLT style Native Call (but there is still something wrong somewhere, Undertale doesn't wrk correctly anymore) ptitSeb 2019-10-05 16:43:55 +02:00
  • 14ba777e85 [DYNAREC] Added a movzx opcode ptitSeb 2019-10-05 15:07:19 +02:00