diff --git a/grafproc.asm b/grafproc.asm index e0b1411..f109b2b 100644 --- a/grafproc.asm +++ b/grafproc.asm @@ -2109,24 +2109,25 @@ YangleUnder90 sta vy lda #0 ; all arithmetic to zero - sta fx - sta fy sta vx+1 sta vy+1 +; lda #128 ; ; add 0.5 to fx and fy (not vx and vx) for better rounding - it's my opinion (Pecus) + sta fx + sta fy - ;; add 0.5 to vx and vy for better rounding - ;clc - ;lda vx - ;adc #128 ; 1/2 - ;sta vx - ;scc:inc vx+1 - ; - ;clc - ;lda vy - ;adc #128 ; 1/2 - ;sta vy - ;scc:inc vy+1 +/* ; add 0.5 to vx and vy for better rounding + clc + lda vx + adc #128 ; 1/2 + sta vx + scc:inc vx+1 + clc + lda vy + adc #128 ; 1/2 + sta vy + scc:inc vy+1 + */ ; draw by vx vy ; in each step ; 1. plot(xdraw, ydraw) diff --git a/scorch.bin b/scorch.bin index 9104064..026b8df 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index b213d4e..51842d1 100644 Binary files a/scorch.xex and b/scorch.xex differ