### Site Tools

base:circle_routine

# Differences

This shows you the differences between two versions of the page.

 base:circle_routine [2020-04-12 18:57]verz base:circle_routine [2020-04-19 19:24] (current)verz Both sides previous revision Previous revision 2020-04-19 19:24 verz 2020-04-12 18:57 verz 2020-04-12 18:35 verz created 2020-04-19 19:24 verz 2020-04-12 18:57 verz 2020-04-12 18:35 verz created Line 3: Line 3: Circle routine, on the bitmap screen, based on algorithm at:  [[http://ffd2.com/fridge/chacking/c=hacking9.txt]]. Draws the Circle with 8 symmetric arcs. Circle routine, on the bitmap screen, based on algorithm at:  [[http://ffd2.com/fridge/chacking/c=hacking9.txt]]. Draws the Circle with 8 symmetric arcs. - + _Vic = \$d000 _Vic = \$d000 _Vmem= \$2000 _Vmem= \$2000 Line 159: Line 159: jsr CheckPlot jsr CheckPlot - lda yoMy        ; ****** 6. SSW, arc 5 + lda yoMy        ; ****** 6. ENE, arc 2 sta pY sta pY jsr CheckPlot jsr CheckPlot - lda xoMx        ; ****** 7. WSW, arc 6 + lda xoMx        ; ****** 7. WNW, arc 7 sta pX sta pX lda xoMx+1 lda xoMx+1 Line 169: Line 169: jsr CheckPlot jsr CheckPlot - lda yoPy        ; ****** 8. SSE, arc 4 + lda yoPy        ; ****** 8. WSW, arc 6 sta pY sta pY jsr CheckPlot jsr CheckPlot - lda xoPy        ; ****** 9. WNW, arc 7 + lda xoPy        ; ****** 9. SSE, arc 4 sta pX sta pX lda xoPy+1 lda xoPy+1 Line 185: Line 185: jsr CheckPlot jsr CheckPlot - lda xoMy        ; ****** 11. ENE, arc 2 + lda xoMy        ; ****** 11. NNW, arc 8 sta pX sta pX lda xoMy+1 lda xoMy+1 Line 191: Line 191: jsr CheckPlot jsr CheckPlot - lda yoPx        ; ****** 12. NNW, arc 8 + lda yoPx        ; ****** 12. SSW, arc 5 sta pY sta pY jsr CheckPlot jsr CheckPlot