<story><title>Gameboy Doctor: debug and fix your gameboy emulator</title><url>https://robertheaton.com/gameboy-doctor/</url></story><parent_chain></parent_chain><comment><author>chrsig</author><text>Personally, I&amp;#x27;ve had more trouble understanding the PPU behavior than i did about the cpu instructions and timings.&lt;p&gt;I&amp;#x27;d mostly been going off of The Ultimate Game Boy Talk[0] and the pandocs[1]. In trying to quickly dig up some resources now, I found what at first glance looks like a good blog series[2], so I might take some time to squint at them soon.&lt;p&gt;If any HNer has other good resources describing it, I&amp;#x27;d be thrilled.  It&amp;#x27;s been a couple years since I&amp;#x27;ve hacked on my own emulator, and I got through implementing quite a bit of the behavior.  As I recall, I was able to get serial output from the test roms, which was pretty cool.  I put it down after getting frustrated trying to render the screen.&lt;p&gt;[0] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.youtube.com&amp;#x2F;watch?v=HyzD8pNlpwI&amp;amp;t=2957s&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.youtube.com&amp;#x2F;watch?v=HyzD8pNlpwI&amp;amp;t=2957s&lt;/a&gt;&lt;p&gt;[1] &lt;a href=&quot;http:&amp;#x2F;&amp;#x2F;bgb.bircd.org&amp;#x2F;pandocs.htm#videodisplay&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;bgb.bircd.org&amp;#x2F;pandocs.htm#videodisplay&lt;/a&gt;&lt;p&gt;[2] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.tigris.fr&amp;#x2F;2019&amp;#x2F;09&amp;#x2F;15&amp;#x2F;writing-an-emulator-the-first-pixel&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.tigris.fr&amp;#x2F;2019&amp;#x2F;09&amp;#x2F;15&amp;#x2F;writing-an-emulator-the-fi...&lt;/a&gt;</text></comment>
<story><title>Gameboy Doctor: debug and fix your gameboy emulator</title><url>https://robertheaton.com/gameboy-doctor/</url></story><parent_chain></parent_chain><comment><author>Waterluvian</author><text>My gameboy emulator finally works fine CPU wise. The issue is making the sound work without eating up an entire core.&lt;p&gt;Maybe I’m saying the obvious to many but the biggest “broad” lesson I learned from the project wasn’t Rust. It was, “sound is harder than video.” And I feel that’s counter intuitive. Maybe some disagree but for me there’s something about processing raw sound that’s so much harder to implement and debug. I guess graphics lends itself far easier to debugging. You can see each frame. Can’t really hear each frame.</text></comment>