Commit graph

919 commits

Author SHA1 Message Date
Robin Jones 42509bb74d Merge branch 'n64dev:master' into github-actions 2021-05-17 12:58:52 +01:00
Simon Eriksson eb935a85f7 rsp: Align RSP memory address in DMA to 8 2021-05-04 18:45:54 +02:00
Giovanni Bajo 622dd402f0 vr4300: fix badvaddr register in TLB exceptions.
Currently, all load/store opcodes (with the exception of LWL/LWR) mask
the lowest bit of address that causes a TLB exception in the BADVADDR
COP0 register. This is wrong because the VR4300 reports the exact
faulting address in that register, the reason being that the exception
handler must require it.
2021-05-04 00:23:24 +02:00
James Lambert 1b31ca9b3c Report full pc instead of truncated address 2021-03-12 18:20:02 +01:00
Simon Eriksson 9316569eff pi: Fix PI DMA length alignment
Fixes Yoshi's Story, F-1 World Grand Prix and probably many other games
2021-03-09 22:20:12 +01:00
James Lambert deda9f9709 Have debugger handle memory exceptions 2021-03-08 20:17:17 +01:00
Simon Eriksson 27917c7df8 rsp: Fix VNOP and VNULL 2021-03-08 20:07:19 +01:00
Simon Eriksson 89e47d2968 Add Dinosaur Planet to cart DB 2021-02-20 18:39:05 +01:00
Simon Eriksson a54cbe042f si: Fix Memory Pak initialization
Thanks to bryc for researching this issue and reviewing this fix
2021-02-20 18:11:07 +01:00
Simon Eriksson 6f9f5784bf vr4300: Fix improper handling of valid bit in TLB probe function
This fix restores GoldenEye support (#78)
2021-02-19 23:42:00 +01:00
Robin Jones 18ea3be0fb Remove un-necessary cmake change. 2021-01-22 16:09:50 +00:00
Robin Jones e05b42fb9e Check linux workflow builds. 2021-01-22 14:06:52 +00:00
Robin Jones 000b620a3a Update iconv and openal links in readme. 2021-01-22 13:57:20 +00:00
Robin Jones ac4b35b618 Cleanup toolchain file. 2021-01-22 13:36:16 +00:00
Robin Jones f95259754d Add module path 2021-01-22 13:26:27 +00:00
Robin Jones 43160673bf Add Github Action workflows 2021-01-22 12:04:57 +00:00
Tyler Stachecki 3f865dcedf
Merge pull request #187 from lambertjamesd/implement-gdb
Implement gdb
2021-01-11 17:58:54 -05:00
James Lambert 41116c3943 Document using gdb with cen64 2021-01-10 19:12:05 -07:00
James Lambert ee3d2fcc47 Implement gdb debugger 2021-01-10 17:07:29 -07:00
James Lambert 2865d107e4 Implement debugging hooks into vr4300 2021-01-10 17:07:21 -07:00
James Lambert 13720b1e29 Implement hash table 2021-01-10 17:05:35 -07:00
Tyler Stachecki b96c022e43
Merge pull request #186 from clbr/ri
Implement Reserved Instruction exception
2020-12-28 21:12:50 -05:00
Lauri Kasanen 55a46f45da Implement Reserved Instruction exception 2020-12-28 09:42:55 +02:00
Tyler Stachecki b9c36a4e7f
Merge pull request #184 from clbr/fpu
Implement fpu prid
2020-12-27 12:42:33 -05:00
Tyler Stachecki 814c272ca4
Merge pull request #159 from lambertjamesd/implement-trap-instructions
Implement trap instructions
2020-12-27 12:41:58 -05:00
James Lambert ee9cd6f0da Add correct INFO to trap macros
Correctly annotate unused parameters in trap functions
2020-12-27 10:30:26 -07:00
Lauri Kasanen 1369c191a2 Implement fpu prid 2020-12-27 09:30:20 +02:00
Tyler Stachecki ed6462e365
Merge pull request #178 from clbr/profiler
Teach the profiler about L1D misses
2020-12-26 10:44:52 -05:00
Lauri Kasanen 4316ecd0dd Implement cp0 prid 2020-12-23 16:09:12 +01:00
Lauri Kasanen 81bf10960f Teach the profiler about L1D misses 2020-12-21 19:05:07 +02:00
Lauri Kasanen 9464379f8a rsp: Remove small IO writes RMW, hw does not do that 2020-12-21 16:28:53 +01:00
Tim Gates 2abc63d78a docs: fix simple typo, accesssor -> accessor
There is a small typo in bus/controller.h.

Should read `accessor` rather than `accesssor`.
2020-12-21 16:28:33 +01:00
James Lambert 054bcb90f7 Implement trap instructions 2020-09-05 17:46:10 -06:00
Simon Eriksson a109ac02de Cart DB updates 2020-05-31 20:55:02 +02:00
Simon Eriksson e340a74a26 rsp: Remove copy-paste leftover from LTV/STV code 2020-05-31 20:25:26 +02:00
Mike Ryan 736220010d
Merge pull request #152 from hcs64/clear-halt-save-pc
Preserve SP PC when clearing halt, don't re-init pipeline if not halted
2020-05-30 06:55:51 -07:00
Adam Gashlin 0c40ffdde2 Preserve SP PC when clearing halt
Also don't re-init pipeline if SP wasn't already halted.

Fixes #151
2020-05-29 23:49:32 -07:00
Simon Eriksson ec94eef39b
Merge pull request #142 from MIPT-ILab/develop
Update Travis images
2020-05-28 21:46:58 +02:00
Simon Eriksson 1176dae84a
Merge pull request #144 from MIPT-ILab/ubsan
Pass UB sanitizer flags to linker
2020-05-28 21:41:21 +02:00
Mike Ryan 15cf44f36f
Merge pull request #150 from sp1187/brpt
vr4300: Implement break instruction
2020-05-27 14:41:16 -07:00
Simon Eriksson fa73cbe0fe vr4300: Implement break instruction 2020-05-27 23:00:53 +02:00
Simon Eriksson fe81d08ca2 Remove unused global bus pointer variables 2020-05-15 21:28:24 +02:00
PeterLemon 94f1121cb3
Merge pull request #145 from sp1187/transpose
Basic RSP LTV/STV support
2020-04-15 07:23:03 +01:00
Simon Eriksson b08188f388 Basic RSP LTV/STV support 2020-04-15 07:38:09 +02:00
Pavel Kryukov 5d7acbd94c Pass UB sanitizer flags to linker 2020-03-27 23:53:49 +03:00
Simon Eriksson 50be16a0ef
Merge pull request #141 from pavelkryukov/patch-1
Define _DEFAULT_SOURCE
2020-03-26 22:41:32 +01:00
Pavel I. Kryukov f67a25a651 Update Travis images 2020-03-27 00:19:16 +03:00
Pavel I. Kryukov 8deed1f7b2
Define _DEFAULT_SOURCE 2020-03-27 00:15:55 +03:00
Simon Eriksson e9f54ae139
Merge pull request #71 from queueRAM/audio
Don't make any OpenAL calls if -noaudio option is used.
2020-03-26 20:03:48 +01:00
Jason Benaim b6466b5ecf
Merge pull request #127 from joeldipops/master
Implemented MBC1/MBC2/MBC5 bank switching in transfer pak code
2020-01-26 14:07:40 -08:00