diff options
| author | 2026-03-07 06:54:36 -0800 | |
|---|---|---|
| committer | 2026-03-07 09:54:36 -0500 | |
| commit | b7c814a4a35fa22a07950a9a29dd2a75bd237b35 (patch) | |
| tree | d727844ceae58552a676d381f72923c87f96e180 /scripts | |
| parent | 14cec11c19130e4074070da1f15397c283d30f05 (diff) | |
cpu/sh: Add cv1k SH7709S cache handling behavior for slowdown emulation (#15054)
* Add cv1k SH7709S cache handling behavior for slowdown emulation
- Handles some basic caching for the sh7709s used for cv1k titles so that they run at more appropriate speeds
* sh7709s.cpp: Fix up a couple of timing handling bugs
- Use the writeback flag instead of write flag as the access to external memory is what matters for those
- Fix up the writeback buffer timing, we don't need to precharge twice for writes. Also rolled up the command costs the SDRAM region handling so the writes only need to add trwl to the penalty
- Check for burst mode availability when determining the base cycle cost, only burst ROM and sdram can use burst access to each other area requires 4 separate accesses
* sh7709s.cpp: Add some comments explaining missing/unimplemented features
- Add the non-burst timing table for WCR2
- Updates and adds a couple of extra comments related to the penalties/timing
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/src/cpu.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 570d2bd1b87..967f01e75ee 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -943,6 +943,8 @@ if CPUS["SH"] then MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.h", MAME_DIR .. "src/devices/cpu/sh/sh7604.cpp", MAME_DIR .. "src/devices/cpu/sh/sh7604.h", + MAME_DIR .. "src/devices/cpu/sh/sh7709s.h", + MAME_DIR .. "src/devices/cpu/sh/sh7709s.cpp", } end |
