Commit graph

380 commits

Author SHA1 Message Date
Bobby Smiles
16f6e4dc71 Move dma_si_{read,write} into the SI module. 2015-01-24 15:52:12 +01:00
Bobby Smiles
1259e3b37b Move SI regs into the SI subsystem. 2015-01-24 15:52:07 +01:00
Bobby Smiles
226b21f017 Move flashram into the PI subsystem. 2015-01-24 15:51:58 +01:00
Bobby Smiles
84b259bb20 Move sram into the PI subsystem. 2015-01-24 15:51:52 +01:00
Bobby Smiles
2b184eeb4b Move cart rom access stuff into the PI subsystem.
-> Prefixed global rom{,_size} with g_.
2015-01-24 15:51:42 +01:00
Bobby Smiles
5e75a99dea Move PI regs into the PI subsystem. 2015-01-24 15:51:37 +01:00
Bobby Smiles
7226dd62fa Move framebuffers into the RDP subsystem. 2015-01-24 15:51:33 +01:00
Bobby Smiles
674e26b6d8 Move RDP regs into the RDP subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
3db6358388 Move RSP regs/mem into the RSP subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
5961ef0c94 Move AI regs into the AI subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
c173426f2f Move VI regs into the VI subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
cc645522fe Move MI regs into the R4300 subsystem. 2015-01-24 15:51:23 +01:00
Bobby Smiles
9e833a5f9f Move RDRAM regs and dram into the RI subsystem. 2015-01-24 15:51:12 +01:00
Bobby Smiles
9da8b6586f Move RI regs into the RI controller. 2015-01-24 15:51:01 +01:00
gizmo98
2cfd1bd5d5 Makefile: Add VFP hardfloat as a option
1cf54788f6
2015-01-21 20:24:22 +01:00
Richard Goedeken
9e5e1da896 update makefile, bundle build script, and instructions for OSX builds 2014-12-26 14:34:47 -06:00
zephyr1988
ca660580b8 [NEW DYNAREC ARM] Use ARM mode explicitly - some systems use -mthumb by default 2014-12-09 22:03:05 +02:00
Frajo Haider
9282c95b11 add an option to build against GLES2 instead of OpenGL 2014-11-09 23:24:38 +01:00
Richard Goedeken
5acdc99347 Merge pull request #21 from bsmiles32/r4300_organization
R4300 organization
2014-05-04 13:00:56 -07:00
Richard Goedeken
8961d45c5a SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:19:08 -07:00
Ursula Abendroth
80e1fd5d0a Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-05-03 08:24:22 -07:00
Bobby Smiles
9fa86cd68f Put CP1 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
5c247de4b1 Put CP0 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
e8328c3439 Move TLB to r4300 directory. 2014-04-25 10:06:10 +02:00
Bobby Smiles
9ef534e0c8 Put instruction counters into its own module. 2014-04-25 10:06:10 +02:00
Bobby Smiles
2d19e8ea78 Put cached interpreter into its own module. 2014-04-25 10:06:00 +02:00
Bobby Smiles
d9191cd668 Pure Interpreter has its own header now. 2014-04-24 19:54:22 +02:00
Bobby Smiles
ab650859ef Extract profile functions.
Move profile.c outside of r4300. Provide a proper header.
2014-04-16 09:54:35 +02:00
Richard Goedeken
2b8ec1005a remove old mupen64plus.cht file, fix install/uninstall script to use now mupencheat.txt file instead 2014-04-07 22:03:22 -07:00
Franz-Josef Haider
64d5cb22b3 add option to build for hard floating point arm environments 2014-02-04 20:07:20 +01:00
Sven Eckelmann
fe9c08ba83 Force line ending type for specific files
Different operation systems (Unix vs. Windows) use different line ending types.
It can easily happen that users from different systems edit files and replace
all line endings of a file with the system specific version. This screws up
diffs and makes merges harder.

Git can normalize line endings for specific files and avoid this problem.
Binary files should be marked to avoid accidentally normalization.
2013-12-18 15:23:06 +01:00
Sven Eckelmann
f01319ee3b Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:38 +02:00
richard42
88df3e78c8 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:32:53 -07:00
Sven Eckelmann
58c98a03a3 Use SDL1.2 keysym in the config when using SDL2
It is easier for a user to keep the old SDL1.2 values for the keys in the
config instead of converting them by hand. This is extreme important when the
default (automatic) config is used.
2013-06-22 14:11:10 +02:00
richard42
23f6da0502 1. Update msvc11 project file to visual studio 2012 (msvc11)
2. remove unnecessary 'inline' declarations
3. fix warnings reported by vs2012
2013-06-01 07:55:18 -07:00
richard42
61cd368bc3 removed -lstdc++ flag in makefile, I just need to use CXX=clang++ instead 2013-05-30 07:56:27 -07:00
richard42
8d4a11c530 we need to link against C++ standard library for OGLFT (required for clang under OSX) 2013-05-29 08:45:32 -07:00
Sven Eckelmann
04499d09a7 Don't use pkg-config on OSX to detect zlib 2013-05-12 12:03:15 +02:00
Sven Eckelmann
347fb5b270 Allow to statically set *_(CFLAGS|LIBS) without pkg-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 14:59:55 +02:00
Sven Eckelmann
5c37d968f8 Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:11 +02:00
Sven Eckelmann
3bc6c38def Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:25:47 +02:00
Sven Eckelmann
984d74b2b3 Add CXXFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CXXFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 11:02:16 +02:00
Richard Goedeken
870c4c0906 add msvc11 project file from mudlord 2013-03-20 22:23:39 -07:00
Sven Eckelmann
f7adbee2a4 Revert "Enable link time garbage collection when link time optimization is enabled"
Some linker on different platforms don't handle the garbage collection
correctly and create extreme bloated binaries. Therefore, leave it to the user
to enable this feature or not.
2013-03-14 08:00:59 +01:00
Richard Goedeken
4d70a77201 merged heads 2013-02-02 22:28:06 -08:00
richard42
e1701fc6c5 OSX build fix 2013-02-02 22:21:33 -08:00
Richard Goedeken
9f1df227da merge patches from npepinpe: new-dynarec-u_int-fix branch and osx-use-system-zlib branch 2013-02-02 21:58:07 -08:00
Sven Eckelmann
a27c5858ea Enable link time garbage collection when link time optimization is enabled 2013-02-01 10:01:53 +01:00
Sven Eckelmann
6ae50d5972 Enable the workqueue under MSVC 2013-01-02 22:16:51 +01:00
Sven Eckelmann
bdb56c605b Remove unavailable src\r4300\regimm.c from msvc8 project 2013-01-02 21:56:45 +01:00