(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=44027768

这个Hacker News帖子讨论了Area 5150的“湖泊效应”(Lake Effect)演示,这是一个视觉效果令人印象深刻的软件。该演示最初需要在MartyPC模拟器中进行“hack”才能正确运行,模拟了原始硬件行为中的不准确性。然而,GloriousCow通过对MartyPC的广泛调试,找到了并修复了模拟器中的多个bug,从而无需再进行hack。这使得MartyPC成为目前唯一能够准确再现演示效果的模拟器,其效果与真实硬件的行为非常接近。讨论中的用户强调了实现这种精确度水平的难度和意义,将模拟从操作码级别提升到了准确模拟物理硬件状态的级别。此前,该演示只能在真实硬件上正确运行,这证明了MartyPC的显著进步。

相关文章
  • 模拟器调试:5150 区的湖泊效应 2025-05-19
  • 2025-05-20
  • (评论) 2025-05-07
  • (评论) 2025-03-30
  • (评论) 2025-03-28

  • 原文
    Hacker News new | past | comments | ask | show | jobs | submit login
    Emulator Debugging: Area 5150's Lake Effect (martypc.blogspot.com)
    67 points by rbanffy 2 days ago | hide | past | favorite | 9 comments










    Love this write up (and one's like it - there's so much good stuff in their archives). The stuff GloriousCow is doing with MartyPC is just so impressive.


    What impresses me most is that, back then, we thought the PC to be an extremely boring machine with absolutely crappy graphics.

    We didn't have hackers like these, it'd seem. Or they were (understandably) distracted by Amigas and Ataris.



    I might be wrong but doesn’t he mention at the start that the effect isn’t possible on real hardware? Like there’s an emulator trick happening? I’m not diminishing the skill involved in this but if it requires a trick in the emulator it can’t be said that a person could have accomplished this on the hardware at the time


    Video footage of it running on real hardware: https://www.youtube.com/watch?v=BdM5j96tEpE

    Back when the demo was released, there were no emulators capable of running it all the way through. People are free to believe what they want, but as we presented it at a demoparty (Evoke 2022), I can tell you that the organizers wouldn't have allowed it in the compo lineup if they didn't see it running on the hardware in person. :)

    I am in awe of GloriousCow's crazy achievement in debugging it on MartyPC and making it work to perfect accuracy... that's true next-level skill, and the rest of the group would undoubtedly echo my sentiment!



    No. The author is saying that, in order to run the demo on MartyPC, the emulator previously required a small "hack" (in this context, that means a slight inaccuracy in emulation) to get the effect started. The post then covers the process of fixing multiple bugs such that the "hack" is no longer needed to match behavior on hardware, and thus MartyPC's behavior now more accurately models hardware.

    Offtopic: in recent years, I've stopped saying "real hardware" unless also using the term "emulated hardware". To me, it's either "hardware" vs "emulator", or "real hardware" vs "emulated hardware".



    Not really sure I see the benefit to the linguistic choices there. It makes sense, but I just don't see the point. Doesn't help that you can implement emulators in hardware (e.g. FPGA-based emulation), and that the "emulated hardware" phrase can be misinterpreted as a reference to the real device in question.


    I can see the point of trying to make a distinction, but it is muddy.

    An emulator can operate on many different levels of trying to match the behavior of the underlying hardware. CPU emulators can emulate at the opcode level (easier) or try to increase accuracy by emulating the CPU pipeline cycle by cycle (harder).

    In this particular case, the distinction between an "emulator" and a "hardware emulator" seem apt because the article discusses that the required fixes needed to start tracking the state of individual pins of the hardware chips. This, to me, represents that the emulation needed to "go down another level" and model the physical hardware to a certain degree to gain the needed accuracy.

    Having a way to mark that difference is useful.



    No, the main thing to take away is that MartyPC is the only emulator that can accurately run this demo. Before that, the demo would only run on real hardware.


    The "hack" needed to be there for the emulator to reproduce the effect as it happens on real hardware, before the author managed to fix those last few bugs.

    >Historically, many famous emulators have relied on title patches to work around bugs or inaccuracies to get games to play. As emulators have improved in accuracy and research has uncovered more details about how systems work, gradually these title hacks became less necessary.







    Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



    Search:
    联系我们 contact @ memedata.com