Get the latest tech news

Inline Assembly Dangers


Resolving PS2SDK Soft Reset Issues

After cloning their code and adding some logging, sure enough after a soft reset the framebuffer and zbuffer were pointing to the same page address. I was in a good mood and decided I wanted to figure out what is happening so this footgun doesn’t blow another persons foot off. I tried adding nops, I tried changing the inputs and outputs, messing with volatile qualifiers, disabling optimizations, nothing worked.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Debugging Story

Debugging Story