Commit graph

1830 commits

Author SHA1 Message Date
Dillon Beliveau b7b2a12f32 Remove pkgs.hello 2024-05-13 23:18:47 -07:00
Dillon Beliveau b40a30f6ff Fix all remaining warnings on clang 17 2024-05-13 23:09:17 -07:00
Dillon Beliveau 03d655ff6c better ABI compliance 2024-05-12 17:07:07 -07:00
Dillon Beliveau 2e9e0bd744 refactor block lookup to be more flexible 2024-05-12 16:58:51 -07:00
Dillon Beliveau 55939a662d write perf map file on linux 2024-05-09 21:13:31 -07:00
Dillon Beliveau 08ec8b6eb5 add glibc headers to CPATH, suppress including mainfile in preamble clangd warning 2024-05-09 21:06:10 -07:00
Dillon Beliveau 7dc0777a8d add vulkan loader to LD_LIBRARY_PATH 2024-05-09 20:43:36 -07:00
Dillon Beliveau 6e40a93ea1 add direnv config and shell.nix 2024-05-09 20:40:08 -07:00
Dillon Beliveau 1e461dc014 implement data cache 2024-04-14 16:12:15 -07:00
Dillon Beliveau 4a727909bd remove junk print statements 2024-04-13 21:18:13 -07:00
Dillon Beliveau 2e8feaff18 fix case labels 2024-04-13 20:57:24 -07:00
Dillon Beliveau 5e785b09c3 implement icache 2024-04-13 18:03:41 -07:00
Dillon Beliveau 393d9c9ca6 cleanup 2024-04-13 18:02:45 -07:00
Dillon Beliveau 24776897ea resolving a virtual address also returns whether it's cached 2024-04-13 14:22:53 -07:00
Dillon Beliveau d69b075524 remove unused and unimplemented prototype 2024-04-13 13:43:47 -07:00
Dillon Beliveau bfcf63989e fix formatting 2024-02-24 18:53:55 -08:00
Dillon Beliveau 7e948b8217
Merge pull request #49 from xkevio/patch-1
fix: `pack` -> `pak`
2024-02-24 18:52:12 -08:00
Kevin K 4ed6ae72d2
fix: pack -> pak 2024-02-25 03:49:32 +01:00
Dillon Beliveau 6f651209d4 add include 2023-12-28 17:05:57 +01:00
Dillon Beliveau 9181f5445c Remove SCHEDULER_HANDLE_INTERRUPT event before queueing a new one 2023-10-18 00:55:17 -07:00
Dillon Beliveau 42e5ad9887 Fix RSP tests 2023-09-04 21:59:45 -07:00
Dillon Beliveau cf9a1bde4a switch DMEM back to big endian 2023-09-04 16:55:45 -07:00
Dillon Beliveau 737c9b05a6 optimize slightly 2023-08-29 23:42:20 -07:00
Dillon Beliveau 70f467421b vectorize RSP code cache checking 2023-08-29 20:50:29 -07:00
Dillon Beliveau 012b1c9d40 RSP codecache rework to reduce thrashing 2023-08-29 01:13:36 -07:00
Dillon Beliveau bdc075a8a3 common path for setting cp0 status reg for both 32 and 64 bit sizes 2023-08-28 23:43:33 -07:00
Dillon Beliveau b96f176cb3 replace magic number 2023-08-28 23:36:40 -07:00
Dillon Beliveau f9543f3cdf remove bad checks now that the PI bus is handled 2023-08-28 21:40:05 -07:00
Dillon Beliveau d15e893ce3 fix comment 2023-08-28 21:37:58 -07:00
Dillon Beliveau 2edf1d669a Handle PI bus more completely. Fixes Paper Mario. 2023-08-28 21:37:04 -07:00
Dillon Beliveau 9acfc0b68c only build dynarec_compare if dynarec is enabled 2023-08-28 00:10:12 -07:00
Dillon Beliveau 91c198fe60 support fully disabling dynarec 2023-08-27 23:46:50 -07:00
Dillon Beliveau 9f1e3f0df7 Allow building without dynarec v1 2023-08-27 23:21:01 -07:00
Dillon Beliveau 72252bcff0 move v2_compiler_x64.c to a platform specific section 2023-08-27 22:19:04 -07:00
Dillon Beliveau 70a48ef315 move platform specific JIT code to platform specific file 2023-08-27 22:08:22 -07:00
Dillon Beliveau b831c8e8e9 include failure message in the crash dump 2023-08-27 21:00:13 -07:00
Dillon Beliveau 3c43811109 Automatically regenerate version.h if the git commit hash changes 2023-08-27 20:51:11 -07:00
Dillon Beliveau ca9585b526 Support for saving crash dumps 2023-08-27 20:40:51 -07:00
Dillon Beliveau 06dd84da3f implement c_nge and c_ngt in jit 2023-08-27 14:47:24 -07:00
Dillon Beliveau a3e4b3c77e remove some FGR size checks 2023-08-27 13:20:11 -07:00
Dillon Beliveau a271682719 rename N64_USE_SIMD directive to N64_HAVE_SSE 2023-08-27 13:10:55 -07:00
Dillon Beliveau 182b7e2b92 Fix build on Linux 2023-08-26 23:17:18 -07:00
Dillon Beliveau f08c2ee007 Cache TLB resolutions 2023-08-26 18:17:29 -07:00
Dillon Beliveau 390beaf4d7 swap a function pointer for virtual address resolution when changing modes 2023-08-26 13:47:21 -07:00
Dillon Beliveau 53ceffaaa3 fix unused variable warning when N64_LOG_COMPILATIONS is not defined 2023-08-25 23:44:15 -07:00
Dillon Beliveau e30194a2bc detect idle loops with J self; nop 2023-08-25 22:06:56 -07:00
Dillon Beliveau 2b91032156 remove defunct gamepad trim test 2023-08-25 20:47:01 -07:00
Dillon Beliveau 53bb7f4863
Merge pull request #48 from kev4cards/control-stick-change
Change control stick approach
2023-08-25 20:45:21 -07:00
kev4cards e9154acc5e
Change control stick approach
- Enlarge initial range to encompass octagon
- Use a small axial deadzone instead of a large circular one
- Move deadzone and scaling to new deadzone_corrected_response function
- Clamp input to intersecting coordinate with octagonal edge
- Replace math functions with built-in ones
- Change trim_gamepad_axis to return type double from s8
2023-08-25 23:32:16 -04:00
Dillon Beliveau d16a934c58 enable idle loop detection by default 2023-08-25 20:30:18 -07:00