From 15a6a85edc14eac17b7ab567ee6d546668a2a143 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sun, 10 Sep 2017 17:05:26 -0400 Subject: [PATCH] tfv: typoed SPACEY for SPACEX --- tfv/tfv_flying.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tfv/tfv_flying.s b/tfv/tfv_flying.s index 00577847..9beba8bb 100644 --- a/tfv/tfv_flying.s +++ b/tfv/tfv_flying.s @@ -362,6 +362,8 @@ screeny_loop: sta SPACEY_I sta SPACEX_I + ;; brk space_x = 06:bc + lda ANGLE ; fixed_temp.i=fixed_sin[(angle+4)&0xf].i; // cos clc adc #4 @@ -387,7 +389,7 @@ screeny_loop: lda RESULT+2 sta SPACEX_I lda RESULT+1 - sta SPACEY_F + sta SPACEX_F clc ; fixed_add(&space_x,&cx,&space_x); @@ -423,7 +425,7 @@ screeny_loop: lda SPACEX_F adc TEMP_F sta SPACEX_F - lda SPACEY_I + lda SPACEX_I adc TEMP_I sta SPACEX_I