diff --git a/Atari/gr_basics.asm b/Atari/gr_basics.asm index 8df39d1..c2bd0ef 100644 --- a/Atari/gr_basics.asm +++ b/Atari/gr_basics.asm @@ -756,16 +756,17 @@ loop sta (temp),y 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 diff --git a/C64/gr_basics.asm b/C64/gr_basics.asm index d7af368..06a1242 100644 --- a/C64/gr_basics.asm +++ b/C64/gr_basics.asm @@ -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 diff --git a/constants.asm b/constants.asm index 07f9674..404ae09 100644 --- a/constants.asm +++ b/constants.asm @@ -200,8 +200,8 @@ sintable ; :screenheight+1 .by >(display+screenBytes*#) ;---------------------------- ; now long (256 bytes) bittables are generated in RAM based on one bittable: -bittable - .by $80,$40,$20,$10,$08,$04,$02,$01 +;bittable +; .by $80,$40,$20,$10,$08,$04,$02,$01 ;bittable2 ; .by $7f,$bf,$df,$ef,$f7,$fb,$fd,$fe ;---------------------------- diff --git a/scorch.bin b/scorch.bin index a327583..0778971 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index f7acd70..9038505 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/scorchC64.prg b/scorchC64.prg index 138b57f..0a3c4ff 100644 Binary files a/scorchC64.prg and b/scorchC64.prg differ