mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +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:
|
||||
|
||||
; 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
|
||||
lda direction
|
||||
eor #$ff
|
||||
|
@ -219,6 +219,7 @@ rotozoom_xloop:
|
||||
; on the edges of the screen? Tricky due to Apple II
|
||||
; interlacing
|
||||
|
||||
roto_color_even_smc:
|
||||
lda #0 ; default color ; 2
|
||||
|
||||
ldy XPH ; 3
|
||||
@ -413,6 +414,7 @@ rotozoom_xloop2:
|
||||
; on the edges of the screen? Tricky due to Apple II
|
||||
; interlacing
|
||||
|
||||
roto_color_odd_smc:
|
||||
lda #0 ; default color ; 2
|
||||
|
||||
ldy XPH ; 3
|
||||
|
Loading…
Reference in New Issue
Block a user