Demo Code #2 – Circle
Short post today; updated the libraries and demo code to include the following: math.asm – Added sqrt and multiply routines (thanks to the Internet). vector.asm – Added circle, optimised horizontal line & wireframe triangle routines. screen_buffer.asm – Added fast stack pointer clear screen routine. The source for demo_vector.asm has also been updated to allow the user to select which point on the triangle to move with the cursor by pressing the space bar, and drawing …