From 861e7eedb6f4560cc0c57d8e86a972ca207480b9 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Wed, 29 Jan 2020 21:31:11 +0100 Subject: [PATCH] preparation for the next math routines --- c64/basic/math/{ba8c.CONUPK.s => CONUPK.s} | 0 c64/basic/math/{bba2.MOVFM.s => MOVFM.s} | 0 c64/basic/math/b867.interop | 3 ++- c64/basic/math/ba8c.CONUPK.jmp.s | 7 +++++++ c64/basic/math/bba2.MOVFM.jmp.s | 7 +++++++ c64/basic/math/bba2.interop | 3 ++- 6 files changed, 18 insertions(+), 2 deletions(-) rename c64/basic/math/{ba8c.CONUPK.s => CONUPK.s} (100%) rename c64/basic/math/{bba2.MOVFM.s => MOVFM.s} (100%) create mode 100644 c64/basic/math/ba8c.CONUPK.jmp.s create mode 100644 c64/basic/math/bba2.MOVFM.jmp.s diff --git a/c64/basic/math/ba8c.CONUPK.s b/c64/basic/math/CONUPK.s similarity index 100% rename from c64/basic/math/ba8c.CONUPK.s rename to c64/basic/math/CONUPK.s diff --git a/c64/basic/math/bba2.MOVFM.s b/c64/basic/math/MOVFM.s similarity index 100% rename from c64/basic/math/bba2.MOVFM.s rename to c64/basic/math/MOVFM.s diff --git a/c64/basic/math/b867.interop b/c64/basic/math/b867.interop index 0d18777c..0975813a 100644 --- a/c64/basic/math/b867.interop +++ b/c64/basic/math/b867.interop @@ -1,3 +1,4 @@ This is an important floating point math routine, documented in many places. -XXX - try to find real-life example +Routine probably used very often, it's call can be seen in a tutorial here: +- https://codebase64.org/doku.php?id=base:generating_sines_with_basic diff --git a/c64/basic/math/ba8c.CONUPK.jmp.s b/c64/basic/math/ba8c.CONUPK.jmp.s new file mode 100644 index 00000000..53809055 --- /dev/null +++ b/c64/basic/math/ba8c.CONUPK.jmp.s @@ -0,0 +1,7 @@ +// #LAYOUT# STD * #TAKE +// #LAYOUT# * BASIC_0 #TAKE +// #LAYOUT# * * #IGNORE + +// Just a compatibility jump - our routine is longer than original one + + jmp CONUPK diff --git a/c64/basic/math/bba2.MOVFM.jmp.s b/c64/basic/math/bba2.MOVFM.jmp.s new file mode 100644 index 00000000..d62c457d --- /dev/null +++ b/c64/basic/math/bba2.MOVFM.jmp.s @@ -0,0 +1,7 @@ +// #LAYOUT# STD * #TAKE +// #LAYOUT# * BASIC_0 #TAKE +// #LAYOUT# * * #IGNORE + +// Just a compatibility jump - our routine is longer than original one + + jmp MOVMF diff --git a/c64/basic/math/bba2.interop b/c64/basic/math/bba2.interop index 0d18777c..0975813a 100644 --- a/c64/basic/math/bba2.interop +++ b/c64/basic/math/bba2.interop @@ -1,3 +1,4 @@ This is an important floating point math routine, documented in many places. -XXX - try to find real-life example +Routine probably used very often, it's call can be seen in a tutorial here: +- https://codebase64.org/doku.php?id=base:generating_sines_with_basic