diff --git a/mode7/scroll_demo.s b/mode7/scroll_demo.s index 77543c00..43cfcd05 100644 --- a/mode7/scroll_demo.s +++ b/mode7/scroll_demo.s @@ -13,12 +13,12 @@ ;=============== lda #0 sta DISP_PAGE - sta TEMP + sta ANGLE scroll_loop: ldx #0 - ldy TEMP + ldy ANGLE lda DISP_PAGE beq draw_page2 @@ -81,16 +81,16 @@ sm4: ; loop forever ;================== clc - lda TEMP + lda ANGLE adc #40 cmp scroll_length bne blah lda #0 - sta TEMP + sta ANGLE jmp scroll_loop blah: - inc TEMP + inc ANGLE jmp scroll_loop ; 3 ;=============================================== diff --git a/tfv/tfv_flying.s b/tfv/tfv_flying.s index 818936ff..ac5fa953 100644 --- a/tfv/tfv_flying.s +++ b/tfv/tfv_flying.s @@ -24,6 +24,7 @@ flying_start: jsr clear_screens jsr set_gr_page0 + ; Initialize the 2kB of multiply lookup tables jsr init_multiply_tables ;=============== @@ -44,13 +45,13 @@ flying_start: sta SPEED sta SPLASH_COUNT - lda #1 + lda #1 ; slightly off North for better view of island sta ANGLE lda #2 ; initialize sky both pages sta DRAW_SKY - lda #4 ; starts out at 4.5 + lda #4 ; starts out at 4.5 altitude sta SPACEZ_I lda #$80 sta SPACEZ_F