diff --git a/graphics/gr/rotozoom/roto.s b/graphics/gr/rotozoom/roto.s index 4a97f4b9..3d022db2 100644 --- a/graphics/gr/rotozoom/roto.s +++ b/graphics/gr/rotozoom/roto.s @@ -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 diff --git a/graphics/gr/rotozoom/rotozoom.s b/graphics/gr/rotozoom/rotozoom.s index 6cfa16e5..14ccba65 100644 --- a/graphics/gr/rotozoom/rotozoom.s +++ b/graphics/gr/rotozoom/rotozoom.s @@ -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