mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 15:30:55 +00:00
rotozoom: add bg color change
This commit is contained in:
parent
97f20e3c0c
commit
cba3b2865c
@ -93,6 +93,21 @@ refresh_image:
|
|||||||
|
|
||||||
at_far_end:
|
at_far_end:
|
||||||
|
|
||||||
|
; change bg color
|
||||||
|
lda roto_color_even_smc+1
|
||||||
|
clc
|
||||||
|
adc #$01
|
||||||
|
and #$0f
|
||||||
|
sta roto_color_even_smc+1
|
||||||
|
|
||||||
|
lda roto_color_odd_smc+1
|
||||||
|
clc
|
||||||
|
adc #$10
|
||||||
|
and #$f0
|
||||||
|
sta roto_color_odd_smc+1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; reverse direction
|
; reverse direction
|
||||||
lda direction
|
lda direction
|
||||||
eor #$ff
|
eor #$ff
|
||||||
|
@ -219,6 +219,7 @@ rotozoom_xloop:
|
|||||||
; on the edges of the screen? Tricky due to Apple II
|
; on the edges of the screen? Tricky due to Apple II
|
||||||
; interlacing
|
; interlacing
|
||||||
|
|
||||||
|
roto_color_even_smc:
|
||||||
lda #0 ; default color ; 2
|
lda #0 ; default color ; 2
|
||||||
|
|
||||||
ldy XPH ; 3
|
ldy XPH ; 3
|
||||||
@ -413,6 +414,7 @@ rotozoom_xloop2:
|
|||||||
; on the edges of the screen? Tricky due to Apple II
|
; on the edges of the screen? Tricky due to Apple II
|
||||||
; interlacing
|
; interlacing
|
||||||
|
|
||||||
|
roto_color_odd_smc:
|
||||||
lda #0 ; default color ; 2
|
lda #0 ; default color ; 2
|
||||||
|
|
||||||
ldy XPH ; 3
|
ldy XPH ; 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user