diff --git a/tfv/tfv_flying.s b/tfv/tfv_flying.s index b45f1787..7325b592 100644 --- a/tfv/tfv_flying.s +++ b/tfv/tfv_flying.s @@ -556,6 +556,7 @@ lookup_map: asl ; multiply by 8 clc adc TEMPY ; add in X value + ; (use OR instead?) ldy SPACEX_I cpy #$8 diff --git a/tfv/tfv_multiply.s b/tfv/tfv_multiply.s index ab6bd80c..a1333002 100644 --- a/tfv/tfv_multiply.s +++ b/tfv/tfv_multiply.s @@ -1,6 +1,7 @@ ; http://www.llx.com/~nparker/a2/mult.html ; MULTIPLY NUM1H:NUM1L * NUM2H:NUM2L -; NUM2 is zero in end +; NUM2 is zeroed out +; result is in RESULT3:RESULT2:RESULT1:RESULT0 NUM1L: .byte 0 NUM1H: .byte 0