Commit graph

736 commits

Author SHA1 Message Date
Derek "Turtle" Roe
8868fd4854 Update registers.md 2015-07-01 16:45:48 -05:00
Derek "Turtle" Roe
4f8c43fc50 Update README.md 2015-07-01 16:44:12 -05:00
Tyler Stachecki
335c8c88a7 Fix a bug in the X11 window code.
Thanks go out to izy for this commit.
2015-06-11 08:54:35 -04:00
Tyler Stachecki
dc336ecfd1 Fix a WinAPI VirtualFree bug.
Thanks go out to izy for this commit.
2015-06-11 08:19:24 -04:00
Tyler Stachecki
28bdec42fc Build fix for Arch Linux.
Thanks go out to Presence for this commit.
2015-06-11 08:18:29 -04:00
Tyler J. Stachecki
e415f26b6c Fix a serious typo. 2015-05-23 23:10:31 -04:00
Tyler J. Stachecki
653bd0d5b6 Add (initial) audio support.
"It's a meeee, Mario!"

There's no resampler as of yet, so we just tell OpenAL
that everything is 44.1KHz for the time being. In the
future, a resampler thread will be created and things
won't sound as bad as they do in this commit.
2015-05-23 22:00:20 -04:00
Tyler J. Stachecki
0077026667 Update 8303 CIC checksum. 2015-05-23 12:33:11 -04:00
Tyler J. Stachecki
af9b9a489a Add a temporary hack for the CACHE instruction.
When a CACHE instruction uses a mapped virtual address,
and a TLB miss results... just ignore it! Clearly, this
isn't the right thing to do, but all documentation is
ambiguous and this seems to float the boat for now.
2015-05-20 22:36:41 -04:00
Tyler J. Stachecki
8b07f9ec6f VI: Save processor context before using floats. 2015-05-20 20:58:10 -04:00
Tyler J. Stachecki
4cdfb706af VR4300: Minor optimization. 2015-05-20 20:58:01 -04:00
Tyler J. Stachecki
daee3698e4 VR4300: CACHE instructions can't cause TLB Mod. 2015-05-20 20:57:46 -04:00
Tyler J. Stachecki
793d8212fd VR4300: Minor pipeline optimizations. 2015-05-20 20:57:33 -04:00
Tyler J. Stachecki
4e6f11fa0c Prevent a possible crash on Windows/SSE2 builds. 2015-05-19 20:49:06 -04:00
Tyler J. Stachecki
9bb044ce5b Workaround an X11 keypress issue? 2015-05-16 17:40:11 -04:00
Tyler J. Stachecki
391b967725 Work on cleaning up the build system somewhat. 2015-05-16 17:15:19 -04:00
Tyler J. Stachecki
db673be5c2 Mutexes seem to result in better performance? 2015-05-16 15:51:35 -04:00
Tyler J. Stachecki
9a9388400f Commit the new WinAPI user interface.
Streamline the Windows version of the source. There is
some breakage with regard to the console window and other
odds and ends.
2015-05-16 15:51:29 -04:00
Tyler J. Stachecki
1619e0fd98 More cleanup/streamlining of UI pullup. 2015-05-16 15:51:21 -04:00
Tyler J. Stachecki
d348c23e2f Commit the new X11 user interface.
Streamline the design/layout of the UI code. An excellent,
unexpected side-effect of this commit resulted in a significant
increase in performance...
2015-05-16 15:51:17 -04:00
Tyler J. Stachecki
bf38ee1879 Fix comment styles and such things. 2015-05-16 15:51:09 -04:00
Tyler J. Stachecki
b4b6a1d9a2 Refactor windowing component of VI. 2015-05-16 15:51:01 -04:00
Tyler J. Stachecki
7f203b7175 Start working in the new interfaces.
Seriously broken WinAPI stuff, no input, no multi-
threading a bunch of other terrible stuff (yet).
2015-05-16 15:50:54 -04:00
Tyler J. Stachecki
b5fbc3d939 Add low-level memory allocation interfaces. 2015-05-16 15:50:46 -04:00
Tyler J. Stachecki
926f02a84c Migrate keycodes into new directories. 2015-05-16 15:50:31 -04:00
Tyler J. Stachecki
6d4d8a442a Commit a WinAPI implementation of cen64_gl_*. 2015-05-16 15:50:27 -04:00
Tyler J. Stachecki
6eccdf4901 Commit an X11 implementation of cen64_gl_*.
This cen64_gl_* common API will eventually replace the OS-
dependent windowing setup disaster that occurs when we currently
bringup CEN64.
2015-05-16 15:50:16 -04:00
Tyler J. Stachecki
674b0b4f78 Add a function to save/restore hostregs. 2015-05-16 15:50:09 -04:00
Tyler J. Stachecki
f4b182835c Various small optimizations. 2015-05-08 09:58:18 -04:00
Tyler J. Stachecki
8f342106de Commit krom's (@PeterLemon) 64DD cart patch.
Add patch to CIC checks to permit Zoinkity's cart
conversions to boot.

(P.S.: No hardware rev 3 required! 64drive what?)
2015-05-01 11:13:03 -04:00
Jason Benaim
93d86a2219 Fixed typo in comment 2015-04-27 18:59:30 -04:00
Tyler Stachecki
1e6fd9af4b Fix a slew of cache bugs. 2015-01-29 10:09:14 -05:00
Tyler Stachecki
2f64037d94 Various FPU optimizations. 2015-01-29 10:09:06 -05:00
Tyler Stachecki
d177288d7b Fix SSE2 endian issue in the RSP ldst functions. 2015-01-28 22:41:16 -05:00
Tyler Stachecki
1ba67eec9d Alignment/size optimizations. 2015-01-28 22:41:07 -05:00
Tyler Stachecki
2693b8650d Minor cache and TLB optimizations. 2015-01-28 22:40:54 -05:00
Tyler Stachecki
2cd7582acb unix/x11: Use synchronous I/O multiplexing for the UI. 2015-01-27 17:01:55 -05:00
Tyler Stachecki
35afee8bd7 Optimize FPU operations somewhat. 2015-01-27 10:28:41 -05:00
Tyler Stachecki
ca0b0c944d Vectorize/inline/optimize CFC2. 2015-01-27 10:28:36 -05:00
Tyler Stachecki
9e6fe74b82 Eliminate laggy input on Linux/OS X when VI/s is low. 2015-01-25 12:35:30 -05:00
Tyler Stachecki
3cc07a7ae4 Unroll the top-level hot functions. 2015-01-22 14:31:54 -05:00
Tyler Stachecki
720970f176 vr4300: Micro-optimizations. 2015-01-22 14:31:46 -05:00
Tyler Stachecki
8b8467c980 Debugger: Get communication flowing. 2015-01-18 20:14:56 -05:00
Tyler Stachecki
62de15eaf0 Debugger: Start adding models/protocol.
Conflicts:
	device/device.c
2015-01-18 20:09:29 -05:00
Tyler Stachecki
8bc74bb98b Add a NetworkHandle class to the debugger. 2015-01-17 22:22:27 -05:00
Tyler Stachecki
fd85f01b10 Start ramming in the network API. 2015-01-17 21:07:15 -05:00
Tyler Stachecki
6d6063aec5 Kill CEN64_DEVFEATURES, add debug option. 2015-01-17 20:29:16 -05:00
Tyler Stachecki
dd99de66f1 os/windows: Add a fix for Windows. 2015-01-17 14:09:26 -05:00
Tyler Stachecki
28d4b7e122 Give DDIPL a lower priority than carts. 2015-01-17 11:51:29 -05:00
Tyler Stachecki
2ae746415b Remove -ddipl requirement for -ddrom. 2015-01-17 11:38:41 -05:00