Commit Graph

87 Commits (9d40164f84b15338f6df9a6c64a4a2cd973d071b)

Author SHA1 Message Date
Stenzek 9d40164f84
CPU/Recompiler: Offset LUT fastmem pointers 2 years ago
Stenzek a062b00c1a
Bus: Protect main RAM buffer
Get rid of write-time checks.
2 years ago
Stenzek 7625d4769c Bus: Keep old behavior of memory being readable when Isc
Some games (e.g. Parasite Eve) write to cache control with Isc on.
Need some hardware tests here.
2 years ago
Stenzek 6fd7eda68f Misc: Fix build on Debian Bullseye 2 years ago
Stenzek a96111eaeb Misc: Swap make_array() for size deduction 2 years ago
Stenzek 56fc207af6 CPU: Use lookup tables for memory access 2 years ago
Stenzek dd204d116e CPU: Warning fix 2 years ago
Stenzek 2171fd9a6f Bus: Fix RAM mirrors with LUT fastmem 2 years ago
Stenzek 8822698eaf Bus: Fix running multiple DuckStation instances 2 years ago
Stenzek ac0601f408 Common: Drop String, add SmallString 2 years ago
Stenzek 3c68543491 Bus: 16KB page compatibility for mmap fastmem 2 years ago
Stenzek c25c7070b6 Bus: Make variable prefixes consistent 2 years ago
Stenzek 68b59ee748 CMake: Swap USE_ and WITH_ for ENABLE_
Consistency.
2 years ago
Stenzek 199c53f3af BIOS: Replace TTY patch with syscall hook 2 years ago
Stenzek 5b980dafa5 System: Refactor main loop
Reduces JIT exits.
Improves runahead performance.
2 years ago
Stenzek 84e5fbe0c6 CPU: HLE implementation of PCDrv (host file access) 3 years ago
Stenzek 33f5d9cb9c System: Remove BIOS from save state
Makes the states smaller, as well as not creating potential piracy
issues when sending across the wire.
3 years ago
Stenzek 1fcf16fc81 System: Store BIOS image info/hash after loading 3 years ago
Connor McLaughlin 3e16746e85 Pad: Convert to namespace 3 years ago
Connor McLaughlin 835834f8f4 SIO: Convert to namespace 3 years ago
Connor McLaughlin 0683b9fa0e InterruptController: Convert to namespace 3 years ago
Connor McLaughlin db364d0e95 Timers: Convert to namespace 3 years ago
Connor McLaughlin 3acf569d67 DMA: Convert to namespace 3 years ago
Connor McLaughlin dd73811628 CDROM: Convert to namespace 3 years ago
Connor McLaughlin 1c8ef86f12 MDEC: Convert to namespace 3 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
3 years ago
Connor McLaughlin 5b2c18e27c SPU: Convert to namespace 3 years ago
Silent c98e0bd096
Bus: Added RAM, RAM_SIZE and RAM_MASK exports for external debugger usage
Useful e.g. for Cheat Engine.
3 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 3 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 3 years ago
Silent 270899dbdb
Make DoSafeMemoryAccess return true properly for RAM, BIOS, dcache writes
Fixes broken cheats when writing to unaligned addresses,
maybe also achievements.
4 years ago
Connor McLaughlin f7f121f036 Bus: Handle unaligned accesses in safe memory routines 4 years ago
Connor McLaughlin 8dcd68b0a8 CPU: Make Safe{Read,Write}Memory{Byte,Halfword,Word} truely safe 4 years ago
Connor McLaughlin 1ed1d641a6 CPU/Recompiler: Don't use intepreter icache when falling back
Fixes broken rendering in TOCA 2.

It has self-modifying code every frame, which gets falled back to the
interpreter, and using the interpreter's icache, which resulted in
stale code executing.
5 years ago
Connor McLaughlin 729675f497 Bus: Fix memory reserving when 8MB RAM is enabled 5 years ago
Connor McLaughlin e382df0d41 Support expanding RAM to 8MB (dev console) 5 years ago
Connor McLaughlin 40731b49fc Bus: Handle CPU-internal narrow writes
The full 32-bits of the GPR are used.

Fixes SoundScope in the BIOS Shell.
5 years ago
Connor McLaughlin 3106c797d9 CPU: Reduce severity of some log statements 5 years ago
Connor McLaughlin 6868ad4326 Bus: Don't reserve entire fastmem region on Android 5 years ago
Connor McLaughlin 58f5c99100 Bus: Fix incorrect EPC for IBE exceptions 5 years ago
Connor McLaughlin e087e6f3a2 CPU/Recompiler: Prevent using fastmem when cache is isolated
No point even trying since it's just going to fault.
5 years ago
Connor McLaughlin 922d320523 CPU/Recompiler: Reserve whole fastmem region to avoid clashes 5 years ago
Connor McLaughlin 701edb335a Various warning fixes 5 years ago
C.W. Betts 662d6e9711 Fix possible log formatting errors. 5 years ago
Connor McLaughlin f832dca975 Bus: Don't force inline EXP1/EXP2 access 5 years ago
Connor McLaughlin f3cdfe97a7 Bus/EXP2: Support openbios putc address 5 years ago
Connor McLaughlin e3262fc0a4 CPU: Compile fix for debug builds 5 years ago
Connor McLaughlin 68dc052432 Bus: Don't leak shared memory when starting->stopping->starting 5 years ago
Connor McLaughlin 9fd1d606d7 Bus: Add memory region access helpers 5 years ago
Connor McLaughlin 9089c97339 CPU: Drop cache control log to dev level 5 years ago