diff --git a/dither-image.js b/dither-image.js index b448098..d6898ce 100644 --- a/dither-image.js +++ b/dither-image.js @@ -669,7 +669,6 @@ function genAssembly(width, height, nbits, lines, reps) { }; for (let y = 0; y < linesEach; y++) { let base = linesEach * i; - console.log(i, y, base); frame.palette1[y] = lines[y + base].palette[1]; frame.palette2[y] = lines[y + base].palette[2]; frame.palette3[y] = lines[y + base].palette[3]; @@ -677,7 +676,7 @@ function genAssembly(width, height, nbits, lines, reps) { width, nbits, lines[y + base].output, - frame.bitmap.subarray(y * stride, y + 1 * stride) + frame.bitmap.subarray(y * stride, (y + 1) * stride) ); } } diff --git a/dither4.s b/dither4.s index d5acd40..a6e6360 100644 --- a/dither4.s +++ b/dither4.s @@ -69,8 +69,9 @@ displaylist: .endrep .byte $41 ; jump and blank - .addr displaylist_part2 + .addr displaylist +;fixme use displaylist_part2: ; 40 lines overscan .repeat 5