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

As a reminder, the 6502 doesn't even have integer multiply or divide.


Over the years, some pretty good routines have been developed.

http://codebase64.org/doku.php?id=base:6502_6510_maths

Tons of great little tricks in there. 6502 math coding is kind of fun in this way.

A look at old games, such as "Elite" ( http://www.iancgbell.clara.net/elite/) show many trade offs being used to make simple wireframe 3D plausible at some few frames per second.


and, as a remainder only applies to divide.




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

Search: