Commit graph

599 commits

Author SHA1 Message Date
Tyler Stachecki
b8481b0cd4 Unroll the top-level hot functions. 2015-01-22 14:31:25 -05:00
Tyler Stachecki
4819fee8b2 vr4300: Micro-optimizations. 2015-01-22 11:22:34 -05:00
Tyler Stachecki
97c68fd0cb Debugger: Get communication flowing. 2015-01-18 19:48:51 -05:00
Tyler Stachecki
18dadc0d6f Debugger: Start adding models/protocol. 2015-01-18 13:12:41 -05:00
Tyler Stachecki
54c62b5a22 Add a NetworkHandle class to the debugger. 2015-01-17 22:23:54 -05:00
Tyler Stachecki
df53e0df0b Start ramming in the network API. 2015-01-17 21:06:45 -05:00
Tyler Stachecki
177ab49a70 Kill CEN64_DEVFEATURES, add debug option.
Conflicts:
	device/device.c
2015-01-17 20:32:33 -05:00
Tyler Stachecki
d7338c8afe os/windows: Add a fix for Windows. 2015-01-17 14:11:59 -05:00
Tyler Stachecki
5359e00348 Give DDIPL a lower priority than carts. 2015-01-17 11:48:44 -05:00
Tyler Stachecki
114f3b1fe9 Remove -ddipl requirement for -ddrom. 2015-01-17 11:34:45 -05:00
Tyler Stachecki
4a103a2a38 Debugger: Refactor and memory view address fix. 2015-01-16 22:23:31 -05:00
Tyler Stachecki
54efbad6e4 Debugger: Start populating views with UI elements. 2015-01-16 17:15:54 -05:00
Tyler Stachecki
75ca79f7ca Debugger: Add boilerplate stuff. 2015-01-15 16:36:44 -05:00
Tyler Stachecki
4cebb145d3 Cleanup/organize some CMake stuff. 2015-01-14 11:41:00 -05:00
Tyler Stachecki
08bf597b16 Remove a build artifact from the last commit. 2015-01-14 11:21:30 -05:00
Tyler Stachecki
cd3ab147b4 Debugger: Initial commit. 2015-01-14 11:19:38 -05:00
torque
a11bedfe57 Build: find correct OpenGL on OS X.
cmake needs to find the OpenGL corresponding to XQuartz, not the system
framework. Introduce a custom find module to do this on OS X.

Also define _DARWIN_C_SOURCE on OS X, which is needed for signal.h to
not throw an error.
2015-01-14 10:07:38 -05:00
Tyler Stachecki
2b27a53f9d RSP: Fix opcode cache bug. 2015-01-13 17:58:18 -05:00
Tyler Stachecki
f8afa41c91 Add some temporary hacks to the PI and UB fixes. 2015-01-13 17:41:39 -05:00
Augustin Cavalier
6d0495b4c8 *_window: include gl_window.h 2015-01-13 14:07:24 -05:00
Augustin Cavalier
99b0723142 os: move MAX_FRAME_DATA_SIZE to gl_window.h 2015-01-13 13:42:59 -05:00
Augustin Cavalier
2c89f533d8 keycodes: remove duplicate definition of CEN64_KEY_PERIOD. 2015-01-13 12:20:24 -05:00
Augustin Cavalier
4ed2e8903c OS: move glx_window & keycodes to an "x11" subdir.
UNIX does not imply X11.
2015-01-13 11:33:05 -05:00
Augustin Cavalier
7ca8ff6344 CMakeLists.txt: style fix. No functional change.
That is, no functional change unless you have UNIX and WIN32 defined
at the same time. But who does that?!
2015-01-13 11:15:21 -05:00
Tyler Stachecki
cd4163226a Fix OS X builds, courtesy of dtm. 2015-01-12 21:36:00 -05:00
Tyler Stachecki
68a901e01f VR4300: Optimize load/store instructions. 2015-01-10 16:20:04 -05:00
Tyler Stachecki
d7427d6b73 VR4300: Cache read/write optimizations. 2015-01-10 14:16:40 -05:00
Tyler Stachecki
f896cc62b7 VR4300: Memory system optimizations. 2015-01-10 12:43:02 -05:00
Tyler Stachecki
dc13f35e95 RSP: Add an opcode cache for performance. 2015-01-09 23:19:22 -05:00
Tyler Stachecki
fef231c067 RSP: Fix scalar load-use stall. 2015-01-09 15:29:44 -05:00
Tyler Stachecki
f279668999 RSP: Optimize memory requests slightly. 2015-01-09 14:44:01 -05:00
Tyler Stachecki
79ccec4ad4 RSP: Optimize decoder/stall checks slightly. 2015-01-09 13:53:20 -05:00
Tyler Stachecki
282af0504a Allow PI DMAs past 32MiB cart range. 2015-01-09 12:19:28 -05:00
Tyler Stachecki
9bd6ca3290 Fix a bug in Windows builds in the last commit. 2015-01-08 14:40:05 -05:00
Tyler Stachecki
7fe12e6e99 Make the cart ROM an optional argument. 2015-01-08 12:08:45 -05:00
Tyler Stachecki
55c6c329d5 Add -ddrom to the command line. 2015-01-08 11:58:27 -05:00
Tyler Stachecki
37dfe60542 Remove some hacks from the RSP pipeline. 2015-01-08 11:37:45 -05:00
Tyler Stachecki
ca8e052024 Add (unoptimized) SSE2 support. 2015-01-07 17:32:19 -05:00
John Paul Adrian Glaubitz
08feca5ff1 Fix name mismatches of 'srcp' parameter in rsp_vect_load_and_shuffle_operand.
Signed-off-by: Tyler Stachecki <tstache1@binghamton.edu>
2015-01-07 09:43:39 -05:00
John Paul Adrian Glaubitz
e3ae6d82b2 Fix dereferencing of 'word' parameter in write_dd_regs.
Signed-off-by: Tyler Stachecki <tstache1@binghamton.edu>
2015-01-07 09:43:32 -05:00
Tyler Stachecki
552562de95 Fix a batch of mistakes in the last commit. 2015-01-06 22:16:13 -05:00
Tyler Stachecki
4693c11887 Prevent 64DD thread from crashing.
RTC adjustment works and communication between the 64DD is
now present, but we don't actually save the RTC settings.
2015-01-06 21:44:45 -05:00
Tyler Stachecki
c0def926d9 Start filling in lots of 64DD implementation.
Also, fix a few bugs in the past two commits.
2015-01-06 16:50:19 -05:00
Tyler Stachecki
2badc9c2ec Add C2, data sector and MS RAM mappings for 64DD. 2015-01-06 15:33:40 -05:00
Tyler Stachecki
94e8e37824 Add 64DD mappings and a controller. 2015-01-06 15:33:33 -05:00
Tyler Stachecki
9e7c0c5e82 Decoder optimization: drastically reduce size. 2015-01-06 11:40:11 -05:00
Tyler Stachecki
0e66d5d704 Remove an old, unused function. 2015-01-06 02:18:16 -05:00
Tyler Stachecki
4e8fb2329b Perform some really clever branch folding.
Fold all the integer loads and stores into one code path.
2015-01-06 02:14:40 -05:00
Tyler Stachecki
5229996ecd Trim off a few hundred bytes of code. 2015-01-05 23:00:49 -05:00
Tyler Stachecki
87e7d8b967 Change the device subsystem cycle order.
We can eek out a little more performance by preferentially
cycles devices in a certain order.
2015-01-05 21:46:47 -05:00