User Tools

Site Tools


base:circle_routine

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
base:circle_routine [2020-04-12 18:57] verzbase:circle_routine [2020-04-19 19:24] (current) verz
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.
  
-<code>+<code 6502acme>
 _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
base/circle_routine.1586710647.txt.gz · Last modified: 2020-04-12 18:57 by verz