From 26978a00fb59bd18d09b1489f046d95efa7e3dba Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Mon, 25 Sep 2017 22:19:24 +0800 Subject: [PATCH] Update SANE (PACK 7) and get it building SANE is the Standard Apple Numeric Environment (a float library deprecated in favour of the native PowerPC float unit). The only change to the PACK 7 resource was in the vicinity of a _StripAddress call. SANE also had to be added to the reconstructed Toolbox.make file. --- Toolbox/SANE/Str2Dec.a | 4 +--- Toolbox/Toolbox.make | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Toolbox/SANE/Str2Dec.a b/Toolbox/SANE/Str2Dec.a index d0aff04..30bdfea 100644 --- a/Toolbox/SANE/Str2Dec.a +++ b/Toolbox/SANE/Str2Dec.a @@ -249,9 +249,7 @@ Start MOVEM.L D2-D7/A2-A3,-(SP) ; save working registers MOVEM.L D(A6),D4-D6 ; D4<--&D, D5<--&INDEX, D6<--&S - MOVE.L D6,D0 ; D0 <--&S - _StripAddress ; sanitized address - MOVEA.L D0,A0 ; &S for calc of first char + MOVE.L D6,A0 ; D0 <--&S MOVEA.L D5,A1 ; copy &index for indirect ref MOVEQ #0,D6 ; prepare to reuse D6 MOVE.B (A0),D6 ; length byte of S diff --git a/Toolbox/Toolbox.make b/Toolbox/Toolbox.make index 1bb23bc..c38ba05 100644 --- a/Toolbox/Toolbox.make +++ b/Toolbox/Toolbox.make @@ -58,6 +58,7 @@ DialogDir = "{ToolBoxDir}DialogMgr:" ResourceMgrDir = "{ToolBoxDir}ResourceMgr:" ScriptMgrDir = "{ToolBoxDir}ScriptMgr:" FontMgrDir = "{ToolBoxDir}FontMgr:" +SANEDir = "{ToolBoxDir}SANE:" #include "{AliasMgrDir}AliasMgr.make" #include "{ComponentMgrDir}ComponentMgr.make" @@ -73,3 +74,4 @@ FontMgrDir = "{ToolBoxDir}FontMgr:" #include "{ResourceMgrDir}ResourceMgr.make" #include "{ScriptMgrDir}ScriptMgr.make" #include "{FontMgrDir}FontMgr.make" +#include "{SANEDir}SANE.make"