Commit graph

938 commits

Author SHA1 Message Date
queueRAM ac01d73146 Make save file warning messages consistent 2018-02-25 19:30:34 +00:00
queueRAM 93e956fba6 Verify calloc return value for RAM saves files 2018-02-24 18:29:09 -08:00
queueRAM 9c5c5bb1fb Verify save file options for entries in cart DB
If an entry in the cartridge database specifies use of a save type, then
verify that save type is present in the options. If not, warn and allocate
the save file in RAM.

Fixes #76
2018-02-20 05:55:20 +00:00
Tyler Stachecki 4ca25e09b7
Merge pull request #81 from queueRAM/registers
Correct T5 register identifier
2018-01-18 23:59:10 -05:00
queueRAM dc2489fb47 Correct T5 register identifier 2018-01-19 04:49:13 +00:00
PeterLemon 68d37fcb36 Add cen64 Usage to README.md 2018-01-10 00:22:53 +00:00
PeterLemon cca1071118 Add cen64 mini FAQ to README.md 2018-01-09 17:36:28 +00:00
PeterLemon 44465c7ada Add cen64 mini FAQ to README.md 2018-01-09 17:35:11 +00:00
PeterLemon 5f31c1cfdb Add cen64 mini FAQ to README.md 2018-01-09 17:33:17 +00:00
PeterLemon b2aaac0974 Add cen64 mini FAQ to README.md 2018-01-09 17:22:32 +00:00
PeterLemon a01862d9ba Add cen64 mini FAQ to README.md 2018-01-09 17:20:55 +00:00
PeterLemon b151ef5004 Add cen64 mini FAQ to README.md 2018-01-09 17:19:59 +00:00
PeterLemon 91642586ed Add cen64 mini FAQ to README.md 2018-01-09 17:18:40 +00:00
PeterLemon 87d2329dc9 Add cen64 mini FAQ to README.md 2018-01-09 17:15:54 +00:00
PeterLemon 34d640dcf8 Add cen64 mini FAQ to README.md 2018-01-09 17:12:27 +00:00
Tyler J. Stachecki 063f76a57e tab -> whitespace.
Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
2018-01-04 18:46:26 -05:00
Tyler J. Stachecki db6ea2029c vr4300: Fix whitespace
Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
2017-12-19 14:28:28 -05:00
Tyler Stachecki e2002fea9a
Merge pull request #79 from sp1187/div
vr4300: Fix (d)div(u) results for division by zero
2017-12-18 18:39:26 -05:00
Simon Eriksson 65b5a08cd6 vr4300: Fix (d)div(u) results for division by zero 2017-12-18 23:25:27 +01:00
Tyler J. Stachecki b0af355bc9 Add links to downloads 2017-07-17 07:21:01 -04:00
Tyler J. Stachecki 06d8028644 These aren't required anymore...
... and only hinder optimizations.
2017-07-16 20:51:02 -04:00
Tyler J. Stachecki 883ca7b2ac Update README.md
- Poor man's build trigger here.
2017-07-16 20:46:05 -04:00
Tyler J. Stachecki 888d4dd054 Bugfixes found during n64chain development.
Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
2017-07-01 10:18:09 -04:00
queueRAM d7339013a6 Don't make any OpenAL calls if -noaudio option is used.
Also returns error if some OpenAL initialization fails
during ai_context_create().

Fixes #68
2017-05-17 11:54:07 -05:00
Tyler Stachecki 62f0f9bc9e Merge pull request #67 from queueRAM/pif_init
Clear reset type bits in CIC seed values from PIF
2017-05-08 20:29:14 -04:00
queueRAM dd14dc9bbc Clear reset type bits in CIC seed values from PIF
Some CIC seed values had bit 0x20000 set which is the reset type
indicated from PIF (1 = NMI, 0 = Cold Reset). Some games
follow different initialization paths for NMIs which can cause
some unexpected boot behavior during a cold reset.

Fixes #58 Expansion Pak detection in Perfect Dark
2017-05-08 19:24:10 -05:00
Tyler Stachecki 30ce1c9acb Merge pull request #62 from hcorion/patch-1
Fix for building on MacOS
2017-04-23 19:16:55 -04:00
Zion 430c1546cf Fix for building on MacOS
This may screw up the windows build, I'm not sure.
2017-04-22 18:34:13 -07:00
Tyler J. Stachecki d58edd90d8 vr4300: Support system call exceptions. 2017-04-17 22:13:53 -04:00
Tyler J. Stachecki 8aff451c4b Partially fix Windows builds. 2017-03-19 02:27:53 +00:00
Tyler J. Stachecki b9e6d10341 Add macOS cross-build support. 2017-03-18 22:16:35 -04:00
Tyler J. Stachecki 82c2424c44 Fix macOS builds. 2017-03-18 22:11:42 -04:00
Mike Ryan 07301222dd build: add FindIconv cmake file
Forgot to add this file in previous commit. See #59.
2017-03-08 10:18:35 -08:00
Mike Ryan 8d0e7bb627 pi: add support for IS Viewer 64
When -is-viewer is passed on the command line, create an IS Viewer
object that intercepts writes at 0x13FF0000. This is used by Ocarina of
Time Master Quest Debug to log debug messages.

The messages are encoded in EUC-JP, so we bring in iconv to convert that
to UTF-8 so the messages can be printed to modern consoles.

Props to jrra (@jkbenaim) and spinout for reverse engineering the
interface and documenting it: http://wiki.spinout182.com/w/IS64
2017-02-28 19:55:55 -08:00
Tyler J. Stachecki ac8f2283af Use a different version of cpuid functions. 2017-02-15 19:04:53 -05:00
Snowstorm64 e5061351a9 n64video.c: Sync up to r107.
(angrylion) rdp: fixed the interaction between x-scissoring and
the "texel 1" combiner input in one-cycle mode; fixed a bug in
x-scissoring that could occur when a coordinate was compared with
XH of the scissoring box (both bugfixes confirmed by a test rom).
2017-02-15 18:38:28 -05:00
Snowstorm64 e3a4ac04b9 n64video.c: Sync up to r106.
(angrylion) rdp: more accurate emulation of one-cycle LOD for the
final pixels of a span (based on hardware tests); some LOD
microoptimizations.
2017-02-15 18:38:28 -05:00
Snowstorm64 9e67a78b44 n64video.c: Sync up to r105.
(angrylion) rdp: fixed reads from the TMEM when the t coordinate is
greater than 0xff (confirmed by a test rom)
2017-02-15 18:38:28 -05:00
Snowstorm64 5ed1a9213e n64video.c: Sync up to r104.
(angrylion) rdp: fixed a bug in texture coordinate clamping (confirmed
by a test rom)
2017-02-15 18:38:28 -05:00
Snowstorm64 ad8c3f07ca n64video.c: Sync up to r103.
(angrylion) rdp: fixed a bug in the edgewalker, the distributive law
doesn't work here because of integer overflow (confirmed by a test rom)
2017-02-15 18:38:28 -05:00
Snowstorm64 36dcfdb932 n64video.c: Sync up to r102, skipping r101 (VI
emulation related)

(angrylion) rdp: fixed how the unscissored-major-x coordinate of a span
is processed (confirmed by a new test rom)
2017-02-15 18:38:28 -05:00
Snowstorm64 45f59e2ae2 n64video.c: Sync up to r100.
(angrylion) rdp: quick follow-up to r99
2017-02-15 18:38:28 -05:00
Snowstorm64 b592cf492c n64video.c: Sync up to r99, VI changes are skipped.
(angrylion) rdp: new approach to interlaced mode emulation, based on
improved understanding. Most interlaced mode games should look correct
with most emulators now. Removed a redundant sign-extension used on YUV
texels (idea by LegendOfDragoon, thanks). Minor refactoring.
2017-02-15 18:38:28 -05:00
Mike Ryan 367b77b134 build: build Release with Debug Info by default
We want builds to be fast out of the box, so this option will build a
Release binary using a default cmake configuation.
2017-02-14 20:38:46 -08:00
Mike Ryan d5dde96ecf build: enable VR4300 busy wait by default
This option increases performance without impacting emulation accuracy.
2017-02-14 20:38:46 -08:00
Mike Ryan 1a14936b4b build: reorder CPU extensions from newest to oldest, and change default
CPU extensions were previously ordered from oldest to newest, with
oldest (SSE2) being selected by default. This could cause poor
performance for less savvy users. Instead we use Native by default,
which will use the best available for the detected CPU, and list them in
descending order. If the compiled binary uses extensions not available
on the host CPU, the core will throw an error so user experience is not
significantly degraded.

See #56
2017-02-14 20:38:46 -08:00
Mike Ryan 6acc6931ee core: detect CPU extensions at runtime and throw warning/error
If cen64 is compiled with CPU extensions not supported by the running
CPU, throw an error. If the code is compiled with older extensions but
the running CPU supports faster ones, throw a warning.
2017-02-14 20:11:57 -08:00
Mike Ryan abca698a75 core: add cpuid fetching code from 4996031 2017-02-14 16:44:18 -08:00
Tyler Stachecki dcefa18582 Merge pull request #50 from sp1187/cic
si: Add support for 7102 CIC.
2016-10-21 10:19:08 -04:00
Simon Eriksson 51cd3eec1e si: Add support for 7102 CIC.
Fixes Lylat Wars (PAL).
2016-10-21 16:02:54 +02:00