Commit Graph

  • 689de0279f Swapping bytes. Probably still wrong. Ben Vanik 2013-12-08 23:33:40 -08:00
  • eb2d596c27 srawx, vsldoi, vupkd3d of D3DCOLOR -- all untested Ben Vanik 2013-12-08 23:15:05 -08:00
  • 3ec930d9fc INSERT Ben Vanik 2013-12-08 23:14:27 -08:00
  • ccd5346332 LOAD/STORE_VECTOR_LEFT/RIGHT. It'd be nice not to have these. Ben Vanik 2013-12-08 22:16:37 -08:00
  • b9df6dc703 load_vector_sh* Ben Vanik 2013-12-08 20:58:24 -08:00
  • 07b5c3ad81 Adding f64-to-i32 convert. Ben Vanik 2013-12-08 20:42:33 -08:00
  • 24a13b4021 Fixing carry. Ben Vanik 2013-12-08 20:42:20 -08:00
  • 2e5489e22f Making the trace format easier to diff with the old stuff. Ben Vanik 2013-12-08 20:42:12 -08:00
  • 65a36fd69c Fixing CNTLZ. Ben Vanik 2013-12-08 16:01:11 -08:00
  • 60015afdc4 Misc fixes. Ben Vanik 2013-12-08 16:00:55 -08:00
  • 7c4b2c6d23 sradi, which was totally wrong before o_o Ben Vanik 2013-12-08 15:24:18 -08:00
  • 7adc122620 No-op MSR instructions. Ben Vanik 2013-12-08 14:31:19 -08:00
  • 760d82a9af Fixing endianess of register load/store. Ben Vanik 2013-12-08 14:31:03 -08:00
  • ec4bf50363 load_acquire/store_release Ben Vanik 2013-12-08 14:15:28 -08:00
  • 2549292a57 Return address handling. Not happy with the design, but it (sorta) works. Ben Vanik 2013-12-08 13:58:57 -08:00
  • dc0848f7ba rld* Ben Vanik 2013-12-08 13:58:15 -08:00
  • 28ff739449 Better nop handling. Ben Vanik 2013-12-08 13:17:50 -08:00
  • 50f53a483e How did this ever work? Fixing and*. Ben Vanik 2013-12-08 12:25:48 -08:00
  • e2e2a392ee Scanner now picks up restgprlr calls. Ben Vanik 2013-12-08 11:26:43 -08:00
  • 1dc356cb4d Allowing dynamic register access checks to be disabled. Ben Vanik 2013-12-07 13:15:15 -08:00
  • d8cc9fb0b4 Register access (dynamic and static) wired up. Ben Vanik 2013-12-07 13:09:22 -08:00
  • e5d867a92f Removing comments. Ben Vanik 2013-12-07 06:29:58 -08:00
  • 3b268f07ef Basic constant propagation. Ben Vanik 2013-12-07 05:52:51 -08:00
  • 57432d5996 Making ContextPromotion actually remove dead stores. Ben Vanik 2013-12-07 04:57:37 -08:00
  • 329b554c7a Basic ContextPromotionPass and some opcode info rearranging. Ben Vanik 2013-12-07 04:39:48 -08:00
  • 51d0be0f0a Basic DCE pass. Ben Vanik 2013-12-07 02:18:26 -08:00
  • c2113c116d Starting compiler work. Adding pass TODOs. Ben Vanik 2013-12-07 01:36:13 -08:00
  • fdb6a5cfa3 Initial Alloy implementation. This is a regression in functionality and performance, but a much better foundation for the future of the project (I think). It can run basic apps under an SSA interpreter but doesn't support some of the features required to do real 360 apps yet. Ben Vanik 2013-12-06 22:57:16 -08:00
  • 68b8737a58 SETXXv, CNDXXv, SETXXs - may not be right. Ben Vanik 2013-11-17 15:20:50 -08:00
  • 1f4795e7d4 Fixing shader file names. Ben Vanik 2013-11-17 15:20:28 -08:00
  • 9441fb8b7a Finally figured out MUL/ADD/SUB_CONST_* Ben Vanik 2013-11-16 18:27:17 -08:00
  • 1592cf96f7 MAX4v, MINs, MAXs Ben Vanik 2013-11-16 16:59:33 -08:00
  • 798cad6f87 DOT2ADDv Ben Vanik 2013-11-16 16:15:23 -08:00
  • 59779e735d Fix input error return. Ben Vanik 2013-11-16 07:15:15 -08:00
  • 1e86736853 vaddfp and vrfin Ben Vanik 2013-11-16 06:58:50 -08:00
  • 8398ea4925 I lied, MULADD was not that way. Ben Vanik 2013-11-16 05:16:11 -08:00
  • 60f48bdd32 Always write oPos. Ben Vanik 2013-11-16 04:39:26 -08:00
  • 7491058ffd Adding --dump_shaders=path/. Ben Vanik 2013-11-16 04:39:16 -08:00
  • 8440c9059a Fixing order of MULADDv. Ben Vanik 2013-11-16 04:35:08 -08:00
  • 271abbf874 Adding --trace_ring_buffer. Ben Vanik 2013-11-16 03:06:55 -08:00
  • 96c27b3b51 Fixing stack alignment in release mode. Ben Vanik 2013-11-16 02:52:33 -08:00
  • a547a6e696 Known issues. Ben Vanik 2013-11-16 02:07:21 -08:00
  • 31243eb096 Switching debug/release to the canonical Debug/Release. Ben Vanik 2013-11-16 01:58:42 -08:00
  • 443e0308e7 Removing common.gypi. Ben Vanik 2013-11-16 01:41:51 -08:00
  • 6f4c01bdab Update README.md Ben Vanik 2013-11-16 01:39:06 -08:00
  • c4e734bceb Removing binutils submodule for now. GNU's git server sucks. Ben Vanik 2013-11-16 01:33:53 -08:00
  • 495744238f Update README.md Ben Vanik 2013-11-16 01:29:25 -08:00
  • 4714649d5f Removing OSX/Linux info from docs for now. Ben Vanik 2013-11-16 01:15:17 -08:00
  • 7a2032b693 Renaming X_RESULT to be consistent. Ben Vanik 2013-11-01 16:23:14 -07:00
  • 06d9f7989a Removing signature from export tables. Ben Vanik 2013-11-01 15:13:08 -07:00
  • f7b7b0708b Argh. gibbed 2013-10-27 18:45:19 -07:00
  • faa67028ce Mystery GPU registers. gibbed 2013-10-27 18:43:57 -07:00
  • 8306be77b0 Fixed constant tracking through mr. gibbed 2013-10-27 18:43:43 -07:00
  • 2de906f3d6 Hacking around with shaders. Pretty sure this is all wrong. Ben Vanik 2013-10-27 18:33:50 -07:00
  • 0355047838 PM4_LOAD_ALU_CONSTANT Ben Vanik 2013-10-27 16:18:54 -07:00
  • 7d6dda356c Clear all allocated memory. Ben Vanik 2013-10-27 16:01:35 -07:00
  • 74ff6bd4fa Finally figured out the ringbufer corruption. Ben Vanik 2013-10-27 16:00:51 -07:00
  • 11f99ce33b Obeying request to zero. Ben Vanik 2013-10-27 12:47:00 -07:00
  • 6477d6c21e --scribble_heap, which memsets all allocated memory. Already exposing bugs. Ben Vanik 2013-10-27 12:06:02 -07:00
  • 082df81f70 Slowing down the audio system until it does something. Ben Vanik 2013-10-27 12:05:17 -07:00
  • 692e14665c Tie FPR/VR tracing to --trace_registers Ben Vanik 2013-10-25 23:32:11 -07:00
  • 127a605403 Latest ninja. Ben Vanik 2013-10-24 21:30:29 -07:00
  • 3b7fcced0e Fixing broken error check and adding some manual breakpoints. Ben Vanik 2013-10-23 23:48:18 -07:00
  • 655a486db3 NtResumeThread Ben Vanik 2013-10-23 23:32:44 -07:00
  • ebef2aef36 Adding audio stub methods. Ben Vanik 2013-10-23 23:09:16 -07:00
  • ca22980dc0 XInput polling. Ben Vanik 2013-10-23 22:42:48 -07:00
  • 96daa6b43f Validate arguments on input. Ben Vanik 2013-10-23 22:23:52 -07:00
  • c4fe2e6926 Input bouncing through to input system. Ben Vanik 2013-10-23 22:13:05 -07:00
  • 74803ae174 HID system skeleton. Ben Vanik 2013-10-23 21:47:36 -07:00
  • 20bd15e7fe Partially fixing import logging. Still not sure why vars aren't showing. Ben Vanik 2013-10-23 21:11:13 -07:00
  • 93e4b70133 Stubbing input a little better. Ben Vanik 2013-10-23 21:10:41 -07:00
  • 6e60aef72f Special register check for lwbrx. Need a scalable way to do this. Ben Vanik 2013-10-23 21:10:26 -07:00
  • b7ffd46319 Massive refactoring of all code + audio skeleton. This should make it easier to find files and (in the future) split things up into separate libraries. It also changes around emulator initialization to make it a little more difficult to do things out of order and a little more sensible as to when real init work happens. Also adding a skeleton audio system/driver and reworking CPU register access to be more extensible. Ben Vanik 2013-10-23 20:42:24 -07:00
  • c996a4bbaf Stubs for more XAM functions. Ben Vanik 2013-10-23 00:05:50 -07:00
  • 60ef171ff2 XNetStartup/WSAStartup stubs. Ben Vanik 2013-10-22 23:46:42 -07:00
  • 447ce90b7b MmQueryAddressProtect. Ben Vanik 2013-10-22 23:34:24 -07:00
  • 2a8a19e4be KeDelayExecutionThread. Ben Vanik 2013-10-22 23:22:30 -07:00
  • d9a55a5557 Zero memory on alloc. Ben Vanik 2013-10-22 21:50:10 -07:00
  • d065ee43e8 PM4_SET_CONSTANT for registers. Ben Vanik 2013-10-22 21:32:04 -07:00
  • 157cfd4d71 Moving all physical allocs to A..., as games do stupid stuff when at E. Ben Vanik 2013-10-22 21:06:12 -07:00
  • 62d4d5ce84 Randomly messing with address translation. Still not right. Ben Vanik 2013-10-22 21:05:56 -07:00
  • d4e19eb583 Certain games seem to do GPU writeback here. Ben Vanik 2013-10-22 21:05:32 -07:00
  • e0b6d0f689 Cleaning up packet reading/endianness. Ben Vanik 2013-10-22 20:47:27 -07:00
  • 725cde55d4 Moving the physical heap up a bit to avoid overwriting 0x0. Ben Vanik 2013-10-21 23:56:16 -07:00
  • f676333ef0 Stub MmQueryAddressProtect - unimplemented. Ben Vanik 2013-10-21 21:58:45 -07:00
  • f9dd0b0cb2 Allocate physical memory. Ben Vanik 2013-10-21 19:28:25 -07:00
  • 1fea07b6aa Align physical allocations to page size. Ben Vanik 2013-10-21 19:26:41 -07:00
  • aa3e8d0332 Allocating things in a physical heap. Super wasteful right now. Ben Vanik 2013-10-21 00:57:48 -07:00
  • ea022c8dd3 That one byte is totally important. gibbed 2013-10-21 00:39:39 -07:00
  • ca208fa60a Rewrote memory manager to use a bunch of mapped views. Ben Vanik 2013-10-20 23:19:57 -07:00
  • d00f4d58e9 Better byte swapping in ringbuffer and fixed logging. Ben Vanik 2013-10-20 18:34:46 -07:00
  • 42a8fc0b59 --break_on_instruction=0x... and --break_on_memory=0x... Ben Vanik 2013-10-20 16:54:59 -07:00
  • cddab7ffb0 Fixing free. Ben Vanik 2013-10-20 15:28:00 -07:00
  • 0c19516de4 Fixing file position default value. Ben Vanik 2013-10-20 15:05:09 -07:00
  • e919edfb33 Fix xe_memory_is_valid. Ben Vanik 2013-10-20 13:47:58 -07:00
  • 9f1d2f29c1 --heap_guard_pages=1 to add guard pages. Ben Vanik 2013-10-20 13:42:34 -07:00
  • ca3f2f1367 Malloc inspect in release mode, too. Ben Vanik 2013-10-20 12:46:28 -07:00
  • 002400d071 Adding memory info dumping utility, use --log_heap. Ben Vanik 2013-10-20 12:39:59 -07:00
  • fbea5a6394 Making the GPU counter a vblank counter, not a timer. Ben Vanik 2013-10-20 02:00:51 -07:00
  • 39adeef2e3 Hiding vertex/index data for now. Ben Vanik 2013-10-20 01:59:42 -07:00