News for hackers. Stuff that matters.
Re:War stories: how Crash Bandicoot hacked the original Play... by Narishma on Monday December 20, 2021 @12:26PM (#29627336)
> I always wonder about how the hell DOOM ran at 30 fps on a 33 Mhz system.

It didn't. It ran at ~25 FPS on a 66 Mhz 486 and only ~15 FPS on a 33 Mhz system. It needed a Pentium to reach half the refresh rate, which was 35 FPS at the time.

https://youtu.be/HNlcZetLzY8?t=209

Re:War stories: how Crash Bandicoot hacked the original Play... by Sohcahtoa82 on Monday December 20, 2021 @03:44PM (#29630053)
That's still only ~41 clocks per pixel. I wonder how many clocks multiple and add instructions took on a 486.
Re:War stories: how Crash Bandicoot hacked the original Play... by bonzini on Wednesday December 22, 2021 @01:57AM (#29646290)
You don't need to multiply in the inner loop if you draw along a constant-z line (which is easy to do if the walls are all horizontal or vertical).