TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Edge of Emulation

245 点作者 meithecatte超过 5 年前

6 条评论

wgjordan超过 5 年前
&gt; If we latch too late, after cycle 40, Full Throttle Racing will glitch. But if we guess a value too soon, say on cycle 0, that might be too early, and it might cause issues in another game.<p>&gt; We would have to retest the entire SNES library to be sure such a change did not cause any regressions, which just isn&#x27;t practical with a library of 3,500+ game titles.<p>Running automated regression-tests against a library of known-accurate titles actually sounds extremely practical. This sounds like standard software-engineering practice to me.<p>I&#x27;m surprised that a test-harness like this doesn&#x27;t already exist by now given the relatively mature state of SNES emulation. It seems like it would be an extremely helpful tool to benchmark accuracy of new or existing emulators, prevent regressions from advanced optimizations, etc.<p>Automated testing could transform the &#x27;blind guessing&#x27; approach on tweaking PPU timings from a game of &#x27;whack a mole&#x27; to a structured, iterative linear algebra solver. Which could end up being quite a bit more feasible than acquiring 100x die scans of the chip and tracing the logic from the hardware directly.
评论 #22115668 未加载
评论 #22115519 未加载
评论 #22115020 未加载
评论 #22114763 未加载
评论 #22137111 未加载
nitrogen超过 5 年前
One of the later comments on the article offers custom PCB design to make a test harness for the PPUs. It seems like a perfect partner for a manually controllable clock for the whole SNES, e.g. as Ben Eater&#x27;s 6502 demos use. If you can freeze the clock at will, you can more easily inspect the data and address lines. But this wouldn&#x27;t work if the PPU latch timing depends on analog effects or the PPUs have an internal clock.<p>Combine the test harness with a USB logic analyzer and signal generator, and borrow some concepts from fuzzers like AFL, and it should be possible to automatically identify critical phases of the PPU operations.<p>Question: do the PPUs themselves generate analog video, or is there a separate DAC whose bus could be tapped to figure out what color the PPU is producing?
评论 #22115638 未加载
krallja超过 5 年前
I love that there are people whose hobby is preserving things. SNES was an important part of so many 80s and 90s kids’ childhoods! But how many of them have digital logic experience, especially at the reverse engineering level? And actually want to do it outside of compensated labor?
评论 #22115610 未加载
gregoryl超过 5 年前
What&#x27;s the barrier to getting the chip decapped and scanned at the needed resolution?
评论 #22119262 未加载
peter_d_sherman超过 5 年前
Excerpt:<p>&quot;If we could recruit a talented electrical engineer, I believe that a custom PPU breakout board could be designed that would aid us substantially in reverse engineering...&quot;<p>Perhaps Andrew &quot;Bunnie&quot; Huang -- would be someone to go to, for this?:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Andrew_Huang_(hacker)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Andrew_Huang_(hacker)</a>
jimmaswell超过 5 年前
Why are test roms too slow if there are at most 41 cases to try? Is getting a game on an snes cart arduous?
评论 #22115551 未加载
评论 #22115524 未加载