In this thread: post stories where you accidentally shipped software with broken code that by some stroke of luck happened to work fine anyway.
In the original run of the 2A03 Puritans music cartridge, I forgot to use a DPCM-safe controller read routine. I was shocked when I noticed, because the music is full of DPCM samples! How did I forget that??
I quickly fixed the code and ROM when I found it, but I was terribly embarrassed that carts had already gone out. Why hadn't we seen it in testing? When I got my finished copy of the cartridge, I couldn't believe it, but there were no signs of the spurious right press symptom I was expecting. The album played fine, no problems at all!
I didn't understand it until Rahsennor discovered last year that OAM DMA could be used to align controller reads to fall between DPCM clocks and avoid the glitch. I'd accidentally implemented this in my ROM!!!
Have you ever shipped bad code that still ran good? Please share!
In the original run of the 2A03 Puritans music cartridge, I forgot to use a DPCM-safe controller read routine. I was shocked when I noticed, because the music is full of DPCM samples! How did I forget that??
I quickly fixed the code and ROM when I found it, but I was terribly embarrassed that carts had already gone out. Why hadn't we seen it in testing? When I got my finished copy of the cartridge, I couldn't believe it, but there were no signs of the spurious right press symptom I was expecting. The album played fine, no problems at all!
I didn't understand it until Rahsennor discovered last year that OAM DMA could be used to align controller reads to fall between DPCM clocks and avoid the glitch. I'd accidentally implemented this in my ROM!!!
Have you ever shipped bad code that still ran good? Please share!