Commit graph

595 commits

Author SHA1 Message Date
Dillon Beliveau
38e845db7b this is compiling as an if/else chain anyways, so make it a little less complex and reorder it in order of most likely branch to be hit 2020-09-24 18:21:50 -04:00
Dillon Beliveau
bbe1bca189 no separate function for cp0_step, don't calculate CP0 random 2020-09-23 23:16:53 -04:00
Dillon Beliveau
e1d2b824ed optimizing 2020-09-23 22:51:40 -04:00
Dillon Beliveau
6bb62ddbfa changes to CPU/RSP syncing 2020-09-23 22:28:39 -04:00
Dillon Beliveau
ae99c546f7 memcpy to read words from byte array 2020-09-23 22:28:07 -04:00
Dillon Beliveau
b9d718fd61 remove some indirection around reading words 2020-09-23 22:27:18 -04:00
Dillon Beliveau
a729d71dee don't check this in debug mode 2020-09-23 21:16:51 -04:00
Dillon Beliveau
78e6d9fb97 little bit faster virtual to physical translation, I hope 2020-09-23 21:16:42 -04:00
Dillon Beliveau
57052d717f Stop checking logs in RSP tests 2020-09-23 00:59:27 -04:00
Dillon Beliveau
d98b15150f remove double definition 2020-09-23 00:54:02 -04:00
Dillon Beliveau
4325daec02 vsync back on, better cycles_per_instr support 2020-09-23 00:44:39 -04:00
Dillon Beliveau
9a3b118bbd turn on parallel for angrylion 2020-09-23 00:25:20 -04:00
Dillon Beliveau
e4b694e7ec N64_DEBUG_MODE define, use two PCs in the RSP as well 2020-09-23 00:25:12 -04:00
Dillon Beliveau
28056f1f2a r4300i: change to a double-pc method of handling branch delay 2020-09-23 00:05:23 -04:00
Dillon Beliveau
a65a507692 pc is a word 2020-09-22 22:31:00 -04:00
Dillon Beliveau
50b86aea73 don't check verbosity unless logging enabled 2020-09-22 22:30:54 -04:00
Dillon Beliveau
2eb9a59e35 die on cp0 r7 write 2020-09-22 21:01:45 -04:00
Dillon Beliveau
c683e694db angrylion calls both VidExt_GL_SwapBuffers and our RenderingCallback, so just push a frame from one place. 2020-09-22 21:01:08 -04:00
Dillon Beliveau
579fb3c83b 1cpi, 1 rsp instruction per cpu instruction (incorrect, but it'll do for now) 2020-09-22 20:58:25 -04:00
Dillon Beliveau
9a0a74dd67 count is a dword and inc'd/checked differently than I thought 2020-09-22 20:58:07 -04:00
Dillon Beliveau
2e4b2749df no VSYNC 2020-09-20 15:03:10 -04:00
Dillon Beliveau
fb592a1d99 timing changes 2020-09-20 15:03:05 -04:00
Dillon Beliveau
8b1feaf5b2 map z trigger 2020-09-20 15:02:55 -04:00
Dillon Beliveau
bd2ab7571b inline RSP decoding stuff 2020-09-20 12:46:04 -04:00
Dillon Beliveau
68cebca279 inline cp0_step 2020-09-20 11:26:04 -04:00
Dillon Beliveau
794bde7792 inline some decoding stuff 2020-09-20 11:22:06 -04:00
Dillon Beliveau
9149e6c12d better name for vatopa and inline it 2020-09-20 11:17:51 -04:00
Dillon Beliveau
e91c78b683 inline some RSP branch stuff 2020-09-20 11:17:51 -04:00
Dillon Beliveau
2151c3ba41 inline some branch stuff 2020-09-20 11:17:51 -04:00
Dillon Beliveau
c6cdb60b87 cached RSP instruction decoding 2020-09-20 11:17:51 -04:00
Dillon Beliveau
5cbd800daa disable logs without a define 2020-09-20 11:17:51 -04:00
Dillon Beliveau
a068e55732 wasd = analog stick instead of dpad 2020-09-20 11:17:51 -04:00
Dillon Beliveau
cd24e806e1 pass system to rdp_run_command 2020-09-20 11:17:51 -04:00
Dillon Beliveau
e4c3dee0d7 logtester read and process MAME logs 2020-09-20 11:17:51 -04:00
Dillon Beliveau
f0c9af2cdd
Update README.md 2020-09-19 22:41:55 -04:00
Dillon Beliveau
00ad3a2646
Update README.md 2020-09-19 22:36:04 -04:00
Dillon Beliveau
c470d20694 closer on the VRCP family of instructions, not quite there yet 2020-09-19 21:21:43 -04:00
Dillon Beliveau
079e046d41 get_vte takes a pointer 2020-09-19 20:40:44 -04:00
Dillon Beliveau
bab25d5ffa rewrite VCH 2020-09-19 20:31:18 -04:00
Dillon Beliveau
d73ecf01de fix LTE compare in VCL 2020-09-19 20:10:03 -04:00
Dillon Beliveau
5acc66a105 hacky hack, but don't run the RSP for a second step if it's halted 2020-09-19 14:49:56 -04:00
Dillon Beliveau
3c5af03124 fix VCR 2020-09-13 16:31:29 -04:00
Dillon Beliveau
db8ce9e6c3 fix VCL 2020-09-13 13:46:18 -04:00
Dillon Beliveau
7449bebf55 fix VNE 2020-09-13 13:26:51 -04:00
Dillon Beliveau
6159fa9a0f fix VMOV 2020-09-13 13:07:50 -04:00
Dillon Beliveau
0312bf80c2 set vco.h to zero in VCR 2020-09-13 12:16:49 -04:00
Dillon Beliveau
e4e49cef01 split up vsvtvd macro 2020-09-13 11:54:57 -04:00
Dillon Beliveau
0b889cda77 NOR in a slightly better spot 2020-09-12 19:17:30 -04:00
Dillon Beliveau
c1dfea1716 RSP JALR and NOR 2020-09-12 17:42:33 -04:00
Dillon Beliveau
db58f828d2 add -march=native to compile flags. 2020-09-12 17:30:14 -04:00