From 675f36368be11ba73de48205586da78e3b3a66a3 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Wed, 26 Jun 2013 23:24:03 -0400 Subject: [PATCH] MM toolcalls --- toolbox/toolbox.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/toolbox/toolbox.cpp b/toolbox/toolbox.cpp index 118fff0..3a54474 100644 --- a/toolbox/toolbox.cpp +++ b/toolbox/toolbox.cpp @@ -203,6 +203,11 @@ namespace ToolBox { case 0xa9e3: d0 = MM::PtrToHand(trap); + + case 0xa126: + d0 = MM::HandleZone(trap); + break; + // ReadDateTime (VAR sees: LONGINT) : OSErr; case 0xa039: d0 = OS::ReadDateTime(trap); @@ -244,6 +249,10 @@ namespace ToolBox { d0 = MM::DisposePtr(trap); break; + case 0xa065: + d0 = MM::StackSpace(trap); + break; + // NewHandle (logicalSize: Size) : Handle; case 0xA122: case 0xa322: