Commit Graph

2869 Commits

Author SHA1 Message Date
Jaklyy 52e14612b1 probably faster to directly access main ram? 2024-12-09 12:25:23 -05:00
Jaklyy 0111ee7fac micro-optimization 2024-12-09 11:11:24 -05:00
Jaklyy 918df047b8 cache line boundary align condition lut table 2024-12-09 10:03:47 -05:00
Jaklyy cbdd6a0faf cacheline align register array
IM SORRY GENERIC
2024-12-09 09:10:24 -05:00
Jaklyy fe9a9ee27d actually those do literally nothing 2024-12-09 00:39:24 -05:00
Jaklyy 33f6218972 avoid checking T bit every instruction 2024-12-09 00:31:21 -05:00
Jaklyy aa2cdc37a1 optimize one of the main loops 2024-12-08 23:10:53 -05:00
Jaklyy f823a92020 fix branches being able to break the queue system
fixes bw2
2024-12-08 22:41:32 -05:00
Jaklyy 7a4234dcd8 fix writeback when rn is also rd in ldr
something *has* to rely on this, as stupid as it seems
2024-12-08 19:49:08 -05:00
Jaklyy 1a1934df00 ...removing the (s32) fixes sign extension? ig??? 2024-12-08 19:24:19 -05:00
Jaklyy 0df4369305 tweak scheduler for better performance
might be less accurate
2024-12-08 15:25:18 -05:00
Jaklyy 91752c1925 fix emulator hanging under certain circumstances 2024-12-08 14:24:33 -05:00
Jaklyy 8e6755ce2c jakly pls 2024-12-08 11:20:36 -05:00
Jaklyy bda05a756e only recalc mpu lut if it changed 2024-12-08 11:19:49 -05:00
Jaklyy 8209fdebb4 fix main ram timestamp
i hate order of operations
2024-12-08 10:02:25 -05:00
Jaklyy e69a2aa1b5 write buffer shouldn't continue resolving main ram accesses if it passes the a7 ts 2024-12-08 09:05:33 -05:00
Jaklyy 68b4d96f0d Queue ICache Prefetch 2024-12-08 00:25:44 -05:00
Jaklyy b40c6bc41d implement write buffer 2024-12-08 00:19:43 -05:00
Jaklyy d14c5ea246 re-add itcm delay for ldm/stm 2024-12-07 10:07:57 -05:00
Jaklyy 98f24d05c7 reimplement forced interlocks 2024-12-07 09:56:19 -05:00
Jaklyy 9a4dc94910 reimplement interlocks 2024-12-07 09:36:33 -05:00
Jaklyy 3d6ebc1d2b rework tracking of overlap 2024-12-07 00:43:36 -05:00
Jaklyy 698d78bc8d do dcache; tweak some contention handling logic 2024-12-06 21:55:21 -05:00
Jaklyy db7eb564f0 handle uncached/buffered accesses for arm9 2024-12-06 19:22:59 -05:00
Jaklyy 70dca68de2 improve accuracy of contention resolution 2024-12-06 18:15:58 -05:00
Jaklyy a049c43e27 finish arm7 contention 2024-12-06 17:45:54 -05:00
Jaklyy 08435d2272 implement arm7 code fetches 2024-12-06 17:01:02 -05:00
Jaklyy 6f0a76d130 Merge remote-tracking branch 'upstream/master' into chemical-x2 2024-12-06 12:20:15 -05:00
Jaklyy ebc1168b60 implement queueing ldr RORs and sign extension 2024-12-05 15:47:53 -05:00
Jaklyy 5698cf1862 lay ground work for main ram contention TAKE 2
alt title: ITS WORKING! ITS WORKING!!!
2024-12-05 13:29:32 -05:00
Nadia Holmquist Pedersen 7d718ada39 cmake: set default CMAKE_OSX_DEPLOYMENT_TARGET before project()
project() appears to set it to an empty string (the value of nonexistent
$ENV{MACOSX_DEPLOYMENT_TARGET}?), causing our attempt to set its default
to fail. CMake bug?
2024-12-05 15:40:29 +01:00
Jaklyy 9f04905672 fix mcr 2024-12-01 15:28:46 -05:00
Jaklyy 0f20230a90 fix cache streaming 2024-12-01 15:03:14 -05:00
Jakly 817b409ec8
ah. (#2225) 2024-11-30 02:54:54 +01:00
Rayyan Ansari cba838dd52
TitleManager: fix handling of title string
Truncate the title at the first occurrence of \0, as title strings
should be null-terminated.

Fixes #2219 (Weird characters on DSi Title Manager on melonDS 1.0RC)
2024-11-27 13:15:18 +00:00
Nadia Holmquist Pedersen 730b488fe3 vcpkg 2024.11.16 & update nixpkgs 2024-11-23 14:41:25 +01:00
Nadia Holmquist Pedersen 1d6c9023ff get rid of the incorrect CLOCK_MONOTONIC redefinition 2024-11-23 12:43:06 +01:00
Nadia Holmquist Pedersen 0db536c063 Set _WIN32_WINNT to Windows 8 when JIT is enabled (fixes #2209) 2024-11-23 12:40:02 +01:00
RSDuck 6a15dbfa12 unmappinged everything 2024-11-22 03:34:18 +01:00
Nadia Holmquist Pedersen e3fa6f4224 Fix version number in the generated Windows resource 2024-11-21 01:10:13 +01:00
Arisotura 98ceadd44c really?! 2024-11-21 00:37:22 +01:00
Arisotura dc10df0796 FUCK THAT SHIT 2024-11-21 00:27:30 +01:00
Arisotura 97a00e3137 BAHAHAHAHAHAHSKSHFOS-#%~/%% 2024-11-21 00:21:47 +01:00
RSDuck d0d010b09d don't use std::map and std::function in scheduler 2024-11-20 02:55:40 +01:00
Arisotura f6f993cb41 Merge remote-tracking branch 'origin/master' 2024-11-19 01:07:39 +01:00
Arisotura 86c6740b24 fuck that shit 2024-11-19 01:07:27 +01:00
Nadia Holmquist Pedersen 1b3f4664d8 fix order of ScreenLayoutType 2024-11-19 00:57:58 +01:00
Arisotura 13096f9fdc add warnings to the LAN dialogs 2024-11-19 00:50:42 +01:00
Nadia Holmquist Pedersen c4f7c1bff7 fix compiling without JIT 2024-11-19 00:34:16 +01:00
Arisotura 317b91533b avoid spawning message boxes from the emuthread 2024-11-19 00:33:39 +01:00