Commit graph

599 commits

Author SHA1 Message Date
Tyler J. Stachecki
8265a98c2f Cycle SM5 core at 1/8 RCP clock. 2015-10-02 23:42:20 -04:00
Tyler J. Stachecki
bb3e305061 Delay when the cache operation requires it.
Also slightly tighten the emulated memory delays. With
this commit, WDC boots (but crashes shortly after). Seems
like memory timings are coming into play, among other
things.
2015-08-19 00:00:27 -04:00
Tyler J. Stachecki
6e481fab0f Fix mingw64 build issues. 2015-08-17 13:53:11 -04:00
Tyler J. Stachecki
8dd5a85064 si/cic: Add 5105 CIC used by Zoinkity's Aleck64 ROMs.
Thanks go out to krom for providing the patch.
2015-08-14 11:45:03 -04:00
Tyler Stachecki
dfe7d59ec9 Implement DCB-type stalls. 2015-07-05 08:15:04 -04:00
Tyler J. Stachecki
cd51792726 Change once last instance of 'simulator' to 'emulator'. 2015-07-03 08:18:35 -04:00
Derek "Turtle" Roe
c4afd44ed7 See long description
Replaced all references to simulation with emulation
Updated copyright year
Updated .gitignore to reduce chances of random files being uploaded to
the repo
Added .gitattributes to normalize all text files, and to ignore binary
files (which includes the logo and the NEC PDF)
2015-07-03 08:18:16 -04:00
Derek "Turtle" Roe
ae1309fbc2 Update registers.md 2015-07-03 08:18:12 -04:00
Derek "Turtle" Roe
2e53be31e3 Update README.md 2015-07-03 08:18:08 -04:00
Tyler Stachecki
73f2e3d1c5 Fix a bug in the X11 window code.
Thanks go out to izy for this commit.
2015-06-11 08:52:58 -04:00
Tyler Stachecki
574c9e85e4 Fix a WinAPI VirtualFree bug.
Thanks go out to izy for this commit.
2015-06-11 08:23:35 -04:00
Tyler Stachecki
b7c0c7d281 Build fix for Arch Linux.
Thanks go out to Presence for this commit.
2015-06-11 08:23:25 -04:00
Tyler J. Stachecki
dcbc056289 Ignore DP freeze setting.
Thanks to simer and Happy for pointing out something that
also cropped up in MAME: http://forums.bannister.org/
ubbthreads.php?ubb=showflat&Number=94626#Post94626

This hack fixes Banjo-Kazooie.
2015-05-24 11:24:07 -04:00
Tyler J. Stachecki
65a9adddf2 Fix a serious typo. 2015-05-23 23:00:30 -04:00
Tyler J. Stachecki
9340a1e0e8 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 21:57:56 -04:00
Tyler J. Stachecki
a41d6beb12 Update 8303 CIC checksum. 2015-05-23 12:32:37 -04:00
Tyler J. Stachecki
b966e79a04 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:13 -04:00
Tyler J. Stachecki
eb0653e4a4 VI: Save processor context before using floats. 2015-05-20 20:59:13 -04:00
Tyler J. Stachecki
40d7c43914 VR4300: Minor optimization. 2015-05-20 20:59:07 -04:00
Tyler J. Stachecki
a1b9e49186 VR4300: CACHE instructions can't cause TLB Mod. 2015-05-20 20:59:03 -04:00
Tyler J. Stachecki
df05ac51f4 VR4300: Minor pipeline optimizations. 2015-05-20 20:58:57 -04:00
Tyler J. Stachecki
d4fb507264 Prevent a possible crash on Windows/SSE2 builds. 2015-05-19 20:48:35 -04:00
Tyler J. Stachecki
e442e08ae8 Workaround an X11 keypress issue? 2015-05-16 17:38:31 -04:00
Tyler J. Stachecki
e2df86b218 Work on cleaning up the build system somewhat. 2015-05-16 17:20:37 -04:00
Tyler J. Stachecki
5ac0bf0e61 Mutexes seem to result in better performance? 2015-05-16 15:55:06 -04:00
Tyler J. Stachecki
c113ea9c10 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:55:01 -04:00
Tyler J. Stachecki
58c1a0e9f1 More cleanup/streamlining of UI pullup. 2015-05-16 15:54:55 -04:00
Tyler J. Stachecki
09903148f4 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:54:48 -04:00
Tyler J. Stachecki
e01f0b6214 Fix comment styles and such things. 2015-05-16 15:54:42 -04:00
Tyler J. Stachecki
d130eca809 Refactor windowing component of VI. 2015-05-16 15:54:36 -04:00
Tyler J. Stachecki
ed6ec42089 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:54:30 -04:00
Tyler J. Stachecki
9c28002ad4 Add low-level memory allocation interfaces. 2015-05-16 15:54:21 -04:00
Tyler J. Stachecki
7b17de6044 Migrate keycodes into new directories. 2015-05-16 15:54:16 -04:00
Tyler J. Stachecki
7a7bc0a39c Commit a WinAPI implementation of cen64_gl_*. 2015-05-16 15:54:08 -04:00
Tyler J. Stachecki
b347378fc8 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:54:04 -04:00
Tyler J. Stachecki
5afe6c5f52 Various small optimizations. 2015-05-08 09:56:59 -04:00
Tyler J. Stachecki
a74eca2a4c 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:28:51 -04:00
Jason Benaim
7b15c7adee Fixed typo in comment 2015-04-27 20:47:14 -04:00
Tyler J. Stachecki
b05f2b2c6a Add a function to save/restore hostregs. 2015-03-07 11:37:51 -05:00
Tyler Stachecki
7168fc5e6f Fix a slew of cache bugs. 2015-01-29 10:07:54 -05:00
Tyler Stachecki
4d3aca850b Various FPU optimizations. 2015-01-29 10:07:45 -05:00
Tyler Stachecki
ec126dfc85 Fix SSE2 endian issue in the RSP ldst functions. 2015-01-28 22:38:24 -05:00
Tyler Stachecki
b80151069b Alignment/size optimizations. 2015-01-28 22:16:50 -05:00
Tyler Stachecki
e8576c87dc Minor cache and TLB optimizations. 2015-01-28 21:33:39 -05:00
Tyler Stachecki
cd56dc2e20 unix/x11: Use synchronous I/O multiplexing for the UI. 2015-01-27 16:59:24 -05:00
Tyler Stachecki
10d32ce427 Optimize FPU operations somewhat. 2015-01-27 10:27:13 -05:00
Tyler Stachecki
9b7a3c5fb5 Vectorize/inline/optimize CFC2. 2015-01-27 10:27:08 -05:00
Tyler Stachecki
cacfa9fd98 Eliminate laggy input on Linux/OS X when VI/s is low. 2015-01-25 12:32:26 -05:00
Tyler Stachecki
d80375b40e Few small changes to n64video.c.
Get rid of varargs and stuff in Release builds.
2015-01-22 16:36:20 -05:00
Tyler Stachecki
9d809eb73a Mark another uncommon function as cold. 2015-01-22 15:19:35 -05:00