Smarter bittable generation (thanks @jhusak)

This commit is contained in:
Pecusx
2023-06-21 14:06:26 +02:00
parent 189d3ed593
commit 7eef3851e7
6 changed files with 16 additions and 14 deletions
+7 -6
View File
@@ -659,16 +659,17 @@ next8lines
iny
cpy #screenheight+1
bne @-
; and bittables for fastes plot and point
; and bittables for fastest plot and point (thanks @jhusak)
ldy #0
@ tya
and #%00000111
tax
lda bittable,x
lda #$40
@ asl
adc #0
sta bittable1_long,y
tax
eor #%11111111
sta bittable2_long,y
iny
txa
dey
bne @-
rts
.endp