Commit graph

55 commits

Author SHA1 Message Date
Tyler J. Stachecki
391b967725 Work on cleaning up the build system somewhat. 2015-05-16 17:15:19 -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
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 Stachecki
fd85f01b10 Start ramming in the network API. 2015-01-17 21:07:15 -05:00
Tyler Stachecki
dd99de66f1 os/windows: Add a fix for Windows. 2015-01-17 14:09:26 -05:00
Augustin Cavalier
4d206cb0cd *_window: include gl_window.h 2015-01-13 14:10:44 -05:00
Augustin Cavalier
80a30663a5 os: move MAX_FRAME_DATA_SIZE to gl_window.h 2015-01-13 13:41:02 -05:00
Augustin Cavalier
bd04fc24fc keycodes: remove duplicate definition of CEN64_KEY_PERIOD. 2015-01-13 12:22:41 -05:00
Tyler Stachecki
5ec667b3d6 Fix a bug in Windows builds in the last commit. 2015-01-08 14:37:54 -05:00
Tyler Stachecki
67fca6c47f Add -ddrom to the command line. 2015-01-08 12:17:17 -05:00
Tyler Stachecki
10fc81d7a3 Start filling in lots of 64DD implementation.
Also, fix a few bugs in the past two commits.
2015-01-06 22:21:00 -05:00
Tyler Stachecki
ec3748f0c2 Trim off a few hundred bytes of code. 2015-01-05 22:59:52 -05:00
Tyler Stachecki
1c1124bfd3 Temporarily patch the "render half frame" bug.
Not sure why copy_size should = 4 for a 16-bit frame, so
look into that. But for now, it won't cause any buffer
overruns, so enable it with a warning.
2015-01-04 12:18:10 -05:00
Tyler Stachecki
0524573137 os/windows: Only show the console when asked. 2015-01-01 15:01:27 -05:00
Tyler Stachecki
5bf50af698 Clean up some rough edges in the last commit. 2015-01-01 15:01:22 -05:00
Tyler Stachecki
267d56491e Get the Windows build in running condition.
Conflicts:
	rdp/n64video.c
2015-01-01 15:00:53 -05:00
Tyler Stachecki
78b4c78757 Add support for cross-compiling with mingw64. 2014-12-18 00:46:56 -05:00
Tyler Stachecki
369d33c2d1 Windows fixes as reported by magumagu. 2014-12-07 10:40:42 -05:00
Tyler Stachecki
459aed5e8d Generate two binaries.
Generate a 'fast' release binary and a developer binary. The
developer binary contains extra calls that permit debugging and
such things.
2014-11-16 13:32:04 -05:00
Tyler Stachecki
c90e55a05d Lock around input reads.
Fix some obvious memory consistency issues.
2014-11-16 10:19:56 -05:00
Tyler Stachecki
0fb96ebedd Revamp the CMake generator file.
Add option to specify architecture support (SSE2, SSSE3, etc.)
for each compiler supported. Update UI window title to indicate
architecture folder and support.
2014-11-11 22:38:09 -05:00
Tyler Stachecki
538e344442 Add a -nointerface switch, remove spare '\t's. 2014-11-11 17:21:25 -05:00
Tyler Stachecki
316214d82d (Finally) permit SSE2-only builds.
Add SSE2 codepaths where necessary (even if not complete), while
still allowing the project to be compiled with SSSE3+ intrinsics.
2014-11-10 14:29:13 -05:00
Tyler Stachecki
a0f1eb5d7c Move intrinsics to a common location. 2014-11-09 18:51:54 -05:00
Tyler Stachecki
e89f054674 Optimize extremely aggressively.
Tell GCC to optimize cold functions for size and stash them away in
a separate part of the binary. Put the simulate core, meanwhile, on
the hot path. Also, bump optimization to -O3 as we can now "afford"
to do so.
2014-11-05 08:39:47 -05:00
Tyler Stachecki
a5b380c925 Couple temporary fixes for Windows/MSVC. 2014-11-02 00:28:05 -04:00
Tyler Stachecki
321c81b208 Start restoring the Windows/MSVC build. 2014-11-01 23:42:52 -04:00
Tyler Stachecki
1d339f8f74 Restructure a lot of OS-dependent stuff. 2014-11-01 14:36:48 -04:00
Tyler Stachecki
519f59f429 Start implementing some vector operators. 2014-10-22 18:15:44 -04:00
Tyler Stachecki
ee44e46abb os/windows: Add keyboard press and release events. 2014-08-27 19:10:03 -04:00
Tyler Stachecki
99a6b1ee28 os/unix: Add keyboard press and release events. 2014-08-26 22:44:27 -04:00
Tyler Stachecki
5f5d4da9a6 Commit preliminary (untested) TLB support. 2014-08-23 14:24:21 -04:00
Tyler Stachecki
2a7cbe9f20 Fix some Windows issues introduced in last commits. 2014-08-21 09:40:46 -07:00
Tyler Stachecki
ced4183158 More restructuring of arch/ and os/ code. 2014-08-18 16:54:01 +00:00
Tyler Stachecki
3e8ba50851 Add common arch/ folder, move headers out of os/.
Much of the architecture-specific code uses compiler-agnostic
intrinsics. For this reason, split it out into an arch/ folder,
leaving only the compiler and environment-specific code in os/.
2014-08-18 16:08:45 +00:00
Tyler Stachecki
ab941a6854 Add os/timer, implement backends. 2014-08-03 03:02:14 -04:00
Tyler Stachecki
4fcd566f02 Add os/rom_file, implement backends. 2014-08-03 01:53:19 -04:00
Tyler Stachecki
6f15585802 Cleanup Windows os/ code. 2014-08-02 23:44:13 -04:00
Tyler Stachecki
c28f74ba98 Fix up warnings, clean up initialization code. 2014-07-31 12:07:12 -04:00
Tyler Stachecki
50b1f40003 Fix bug in Windows's os_poll_events.
Thanks to krom for reminding me about this.
2014-07-29 01:19:55 -04:00
Tyler Stachecki
974757c5b9 Fix Windows inline assembly functions. 2014-07-28 22:09:02 -07:00
Tyler Stachecki
d1348c0000 Remove unused headers from Windows code. 2014-07-29 00:31:21 -04:00
Tyler Stachecki
ddb4626080 Change the FPU calling convention. 2014-07-29 00:13:39 -04:00
Tyler Stachecki
4502cc9435 Fix Windows FPU assembly stubs. 2014-07-28 20:35:11 -07:00
Tyler Stachecki
97ff3bbd6e Start unbreaking the Windows build. 2014-07-28 17:31:02 -04:00
Tyler Stachecki
c652f8359a Merge krom's FPU instructions.
Implements: ABS.D, ABS.S, CEIL.L.D, CEIL.L.S, CEIL.W.D
CEIL.W.S, FLOOR.L.D, FLOOR.L.S, FLOOR.W.D, FLOOR.W.S, NEG.D
NEG.S, ROUND.L.D, ROUND.L.S, ROUND.W.D, ROUND.W.S, SQRT.D
SQRT.S, TRUNC.L.D, and TRUNC.L.S!
2014-07-08 00:00:25 -04:00
Tyler J. Stachecki
96f219fb1a Unwanted reciprocals are bad. 2014-07-05 12:58:02 -04:00
Tyler J. Stachecki
665d7468f9 Add more FPU support for MSVC/x86_64. 2014-07-05 12:12:07 -04:00
Tyler J. Stachecki
6b0215a082 Start adding FPU support for MSVC/x86_64. 2014-07-05 11:35:06 -04:00
Tyler Stachecki
05db88349e Improve build environment.
* Add compiler version string macro.
  * Add REQUIRED tags to CMake packages.

Signed-off-by: Tyler Stachecki <tstache1@binghamton.edu>
2014-06-24 21:18:36 -04:00