From a3925747cef0203d178091cdd827c50ded134484 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 23 Jan 2015 10:26:52 -0500 Subject: [PATCH] HWPriv OS Trap --- toolbox/dispatch.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/toolbox/dispatch.cpp b/toolbox/dispatch.cpp index e2579c1..82a9ab6 100644 --- a/toolbox/dispatch.cpp +++ b/toolbox/dispatch.cpp @@ -751,6 +751,16 @@ namespace ToolBox { d0 = OS::PrimeTime(trap); break; + + case 0xA0BD: + d0 = OS::FlushCodeCache(trap); + break; + + case 0xA098: + case 0xA198: // don't save a0 + d0 = OS::HWPriv(trap); + break; + // resource manager stuff. // Count1Resources (theType: ResType): Integer;