single frame working with no audio

This commit is contained in:
Brooke Vibber 2022-12-07 18:25:27 -08:00
parent 76ebed5871
commit 454fa8ab50
2 changed files with 3 additions and 3 deletions

View file

@ -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)
);
}
}

View file

@ -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