Commit Graph

  • 70a9a1053e The previous truncation was useless. Ben Vanik 2013-05-23 13:16:39 -07:00
  • 89672e111d Optimizing memory accesses a bit by letting libjit use relative addressing. Ben Vanik 2013-05-23 11:46:26 -07:00
  • fc8eb3d40a Adding disassembly to traces and bumping libjit. Ben Vanik 2013-05-23 11:39:29 -07:00
  • 730dba4aea Adding addzex. Ben Vanik 2013-05-23 02:13:04 -07:00
  • 7d95098792 Fix for bswap16 Ben Vanik 2013-05-23 02:05:08 -07:00
  • d6f2a0b3f0 Adding --trace_branches. Simple output right now, can always be enhanced. Ben Vanik 2013-05-23 01:31:41 -07:00
  • 4495637616 Making sure shim calls are cdecl. Ben Vanik 2013-05-23 01:04:14 -07:00
  • 426fccdbb4 Bumping libjit to fix the tail call bug. Ben Vanik 2013-05-23 00:55:16 -07:00
  • 6bde04de26 Flushing logging. Ben Vanik 2013-05-23 00:26:55 -07:00
  • 1a01d365b5 Making code dumps conditional on --log_codegen Ben Vanik 2013-05-22 22:01:34 -07:00
  • fcb66660c0 (partial) addx and logging compiled addresses. Ben Vanik 2013-05-22 21:53:21 -07:00
  • 5cb8cf2630 Hacky ALU ops. Need overflow checks. Ben Vanik 2013-05-22 21:14:16 -07:00
  • 9ed911cdad Fixing comparisons and disabling OutputDebugString logging. Ben Vanik 2013-05-22 21:11:27 -07:00
  • 2d01dced5a Adding back invalid instruction logs. Ben Vanik 2013-05-22 20:58:48 -07:00
  • f2c16c24f3 Basic control instructions (no indirection branches yet). Ben Vanik 2013-05-22 20:15:04 -07:00
  • 1bcb3e8f92 Many more ALU instructions. Ben Vanik 2013-05-22 18:51:06 -07:00
  • 64b619023d Adding back in quite a few instructions. Ben Vanik 2013-05-22 18:03:43 -07:00
  • c0dd60bde8 Adding memory access/etc. Needs byte swapping. Ben Vanik 2013-05-22 15:02:26 -07:00
  • 7227ba2693 Setting up register fill/spill. Ben Vanik 2013-05-22 13:37:44 -07:00
  • 16d2b73a73 Main codegen loop now running through instructions. Ben Vanik 2013-05-22 13:10:07 -07:00
  • dad99769cb Prepping for basic block generation. Ben Vanik 2013-05-22 11:53:52 -07:00
  • 33e2bc01ee Kernel call thunks and cleanup on exports. Ben Vanik 2013-05-22 11:30:53 -07:00
  • 37f93d2974 Calling to/from native works! Ben Vanik 2013-05-22 11:13:27 -07:00
  • 0c127828af Disabling libjit warnings. Now down to 12. Ben Vanik 2013-05-21 17:11:48 -07:00
  • 65a8d3c039 libjit now uses beaengine for disassembly. Fixes #20. Ben Vanik 2013-05-21 17:06:30 -07:00
  • 81c76a854a Fixing some libjit warnings. Ben Vanik 2013-05-21 16:24:49 -07:00
  • a064e68621 Fixing more warnings. Ben Vanik 2013-05-21 16:19:11 -07:00
  • 720651ba9e Removing wslay socket support in prep for switch to mongoose. Ben Vanik 2013-05-21 16:16:33 -07:00
  • 1ec06bd7d0 Tweaking compile options and switching back to VS2010. Ben Vanik 2013-05-21 16:08:56 -07:00
  • 85804f7415 Initial libjit skeleton. Not currently generating instructions, but most of the flow is right up to that point. A lot of work required to refactor the emitter, but wanted to get this checked in. Ben Vanik 2013-05-21 15:36:58 -07:00
  • 94e3e592dd Making disassembly much faster by moving string processing to only the dump path. Ben Vanik 2013-05-19 19:32:55 -07:00
  • d78f045123 libjit update. Ben Vanik 2013-05-19 17:23:24 -07:00
  • 7d93795c10 Fixing Windows compilation errors. Ben Vanik 2013-05-19 09:29:31 -07:00
  • 1ce68ca7fe Removing LLVM submodule and build information. Code is still present until transitioned over to libjit. Ben Vanik 2013-05-19 09:29:22 -07:00
  • 0aa7d1ec05 Adding libjit. Removing some old xethunk cruft. Ben Vanik 2013-05-19 09:23:50 -07:00
  • b018b6fe56 Broken, incomplete, but need to move forward with rewrite. Ben Vanik 2013-04-21 12:34:20 -07:00
  • 4987147055 Moving disasm functions to ppc/. Ben Vanik 2013-03-30 02:01:33 -07:00
  • 85bdbd24d1 In-progress work: refactoring PAL not to be instanced. This removes a lot of useless passing around of the PAL object. Ben Vanik 2013-03-29 05:07:32 -07:00
  • c46093266e Tracking code low/high addresses per module. Ben Vanik 2013-02-24 11:45:16 -08:00
  • c60bc70bcc Updating building docs. Ben Vanik 2013-02-24 11:44:10 -08:00
  • 690e59ca3e Fixing OSX build. Ben Vanik 2013-02-10 12:38:50 -08:00
  • 0d3dbd7c8f Merge branch 'master' of github.com:benvanik/xenia Ben Vanik 2013-02-10 12:22:17 -08:00
  • bfda368ab5 Compiling on linux. Ben Vanik 2013-02-10 12:21:56 -08:00
  • 8a43e0a768 Update README.md Ben Vanik 2013-02-10 11:00:19 -08:00
  • 3cae7ed714 Converting logging to ASCII and other Windows fixes. Ben Vanik 2013-02-09 08:05:39 -08:00
  • fa16593ab6 wslay fixes for Windows. Ben Vanik 2013-02-08 22:08:44 -08:00
  • 338b890ef5 Fixing VC++ warnings and errors. Ben Vanik 2013-02-08 22:07:38 -08:00
  • c1e2119db4 Moving socket stuff to core/. Stubbed win32 methods. Ben Vanik 2013-02-06 22:55:18 -08:00
  • 2c42ea909b Removing the dependency on OpenSSL, as it sucks. Ben Vanik 2013-02-06 21:47:05 -08:00
  • 7009cd8047 Updates for VC++ projects. Ben Vanik 2013-02-06 19:57:45 -08:00
  • 7435a327f7 Windows compat fixes. Ben Vanik 2013-02-06 10:04:34 -08:00
  • 2521d64615 Fixing decryption key choice to be more robust. Ben Vanik 2013-02-06 03:07:57 -08:00
  • da23c00d31 Simple thread PAL type (until core/ is rewritten). Ben Vanik 2013-02-06 02:44:15 -08:00
  • 88431eadce Screw convention; moving include files alongside source files. They now will show up in xcode/etc. Ben Vanik 2013-02-06 02:19:50 -08:00
  • 3dfd9c4b00 Tweaks to get the generator running on the next app. Ben Vanik 2013-02-03 23:26:20 -08:00
  • f1ea74dcff Setting the condition bit in stwcx. Ben Vanik 2013-02-03 21:45:44 -08:00
  • 7fed5cf579 Last of the integer memory instructions and a lot of the fp ones. Ben Vanik 2013-02-03 21:41:38 -08:00
  • 9dcf2d27fb Renaming tests. Ben Vanik 2013-02-03 16:02:21 -08:00
  • 4204bc5575 More instructions. Ben Vanik 2013-02-03 16:02:09 -08:00
  • 59ccfdd999 Read and write map files. Ben Vanik 2013-02-03 03:34:43 -08:00
  • a020072ed7 Splitting up the symbol database code to make it easier to work with. Ben Vanik 2013-02-03 00:50:39 -08:00
  • 63f0785ecf Rearranging --abort_before_entry. Ben Vanik 2013-02-03 00:34:45 -08:00
  • 4f9e6b0547 More debugger work. Posix only right now. Ben Vanik 2013-02-03 00:29:40 -08:00
  • 02696f8dc4 git rebase Merge branch 'master' of github.com:benvanik/xenia Ben Vanik 2013-02-02 02:51:07 -08:00
  • 5650cf92ab Initial the websocket implementation. Not yet running on other threads, but can read/write to a websocket from a browser. Ben Vanik 2013-02-02 02:50:56 -08:00
  • fb602f3803 Update README.md Ben Vanik 2013-02-01 19:37:53 -08:00
  • c2fbafdc28 Skeleton of the debugger host. Ben Vanik 2013-02-01 05:37:42 -08:00
  • b6a9dfe7e0 Tweaking output. Ben Vanik 2013-02-01 00:21:59 -08:00
  • 44b39c797b Fixing ? operator parens issues. Ben Vanik 2013-01-31 22:07:56 -08:00
  • e8dd27f490 Tweaks to the tweaks. SDB needs a rewrite. Ben Vanik 2013-01-31 22:00:43 -08:00
  • 837a414249 Minor tweaks to the SDB to get parsing of real games a bit further. Unfortunately it looks like issue #10 will have to be addressed before anything can progress :( Ben Vanik 2013-01-31 21:40:07 -08:00
  • 7f846afdfc Adding support for disc images. With this, games can now be loaded! Of course, prep fails. Ben Vanik 2013-01-31 20:11:13 -08:00
  • f78fdba9c3 Wiring up xex loading via the new virtual filesystem. File resolution is hacked, but works well enough for testing. Ben Vanik 2013-01-31 16:52:50 -08:00
  • 59189f12ab Skeleton for the virtual filesystem. Ben Vanik 2013-01-31 13:27:00 -08:00
  • c77bcbf879 Better module handling. Ben Vanik 2013-01-31 11:27:05 -08:00
  • 9cfc01940e Thread IDs in critical sections. Ben Vanik 2013-01-31 03:01:57 -08:00
  • 56912aa2bd Rough CriticalSection work. Ben Vanik 2013-01-31 02:50:37 -08:00
  • fdbd30acb7 Partially implemented string functions. Ben Vanik 2013-01-31 00:19:48 -08:00
  • 49af0dbc85 Real modules and threads (mostly). Need events/waiting to get proper launch thread behavior. Ben Vanik 2013-01-30 22:44:32 -08:00
  • 2ecacedaa6 Cleaning up LLVM exports and adding an access violation trap. Ben Vanik 2013-01-30 14:52:41 -08:00
  • 23378443e8 Kernel function work. Ben Vanik 2013-01-30 14:26:28 -08:00
  • 42009cda88 Fixes to get things compiling on OSX again. Ben Vanik 2013-01-30 11:03:19 -08:00
  • 1585730ec1 Running on Windows! Minus gflags parsing right now. Ben Vanik 2013-01-30 02:48:34 -08:00
  • 94d55b5056 GYP updates for Windows. This will break OSX for a moment. Ben Vanik 2013-01-30 02:19:38 -08:00
  • f86f3fd8b9 Updating gflags to build on Windows. Ben Vanik 2013-01-30 02:02:18 -08:00
  • 9e05d44723 Implementing (maybe working) Win32 memory.cc. Ben Vanik 2013-01-30 01:45:55 -08:00
  • ae4d8ad40e Code fixes to get things somewhat compiling on Windows. Ben Vanik 2013-01-30 01:35:08 -08:00
  • 5da1fd66d1 Working on Windows compatibility. llvm-config is broken on Windows though, so that needs to be fixed. Sigh. Ben Vanik 2013-01-29 23:04:19 -08:00
  • f117f870fb Cleaning up build warnings. Ben Vanik 2013-01-29 20:27:24 -08:00
  • 80d74dbe03 Implementing rlwimi. Ben Vanik 2013-01-29 18:35:51 -08:00
  • 9c86c29140 Setting up locals in codegen based on disassembly results. Ben Vanik 2013-01-29 17:47:34 -08:00
  • d3054839b7 Now tracking register accesses for each function. Ben Vanik 2013-01-29 13:07:59 -08:00
  • d1333db404 Disassembly for implemented control/memory instructions. Ben Vanik 2013-01-29 01:55:03 -08:00
  • 8a560e4cbe Adding disassembler bits for alu. Ben Vanik 2013-01-29 00:41:39 -08:00
  • 775c97bf53 Beginning work on disassembler functions. Ideally, this would be automated, but it's easier to just do it manually. Ben Vanik 2013-01-28 21:37:03 -08:00
  • 7b62fa96bd Progress on ghetto memory allocator. Ben Vanik 2013-01-28 21:36:03 -08:00
  • 0fde6135a0 Fixing XO instruction decoding. Ben Vanik 2013-01-28 15:31:46 -08:00
  • 9b0cb94e43 Fixing kernel exported variables. Ben Vanik 2013-01-28 14:51:23 -08:00
  • 9ad6bb917f RtlImageXexHeaderField stub. Ben Vanik 2013-01-28 14:25:16 -08:00
  • e93908dd72 Skeleton code for more kernel calls. Ben Vanik 2013-01-28 13:28:22 -08:00