Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Most PC games of the VGA DOS era did exactly that, though.

But, well, a lot can be done in 30 cycles. If it's a 2D game, then you're mostly blitting sprites. If there's no need for translucency, each row can be reduced to a memcpy (i.e. probably REP MOVSD).

Something like Doom had to do a lot more tricks to be fast enough. Though even then it still repainted all the pixels.



You might enjoy the Fridman interview of Carmack. He talks about that era’s repaint strategies.




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

Search: