'wide pixels'
should get better color on the composite video because the scanlines will be fuller of data
This commit is contained in:
parent
f1ebb21bcb
commit
49fe315529
2 changed files with 8 additions and 12 deletions
17
mandel.s
17
mandel.s
|
|
@ -286,9 +286,9 @@ fill_masks:
|
|||
.byte %00000000
|
||||
|
||||
pixel_masks:
|
||||
.byte $ff
|
||||
.byte $0f
|
||||
.byte $03
|
||||
.byte %11111111
|
||||
.byte %11110000
|
||||
.byte %11000000
|
||||
|
||||
viewport_zoom:
|
||||
.byte 1
|
||||
|
|
@ -1188,18 +1188,15 @@ point:
|
|||
; pixel_mask <<= pixel_shift (shifting in ones)
|
||||
and #3
|
||||
sta pixel_shift
|
||||
lda #3
|
||||
sec
|
||||
sbc pixel_shift
|
||||
tax
|
||||
shift_loop:
|
||||
beq shift_done
|
||||
asl pixel_color
|
||||
asl pixel_color
|
||||
lsr pixel_color
|
||||
lsr pixel_color
|
||||
sec
|
||||
rol pixel_mask
|
||||
ror pixel_mask
|
||||
sec
|
||||
rol pixel_mask
|
||||
ror pixel_mask
|
||||
dex
|
||||
jmp shift_loop
|
||||
shift_done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue