diff --git a/tools/palm/muExpansionDriver/patcher.c b/tools/palm/muExpansionDriver/patcher.c index 01abd98..3d1e2ac 100644 --- a/tools/palm/muExpansionDriver/patcher.c +++ b/tools/palm/muExpansionDriver/patcher.c @@ -243,7 +243,7 @@ void initBoot(uint32_t* configFile){ else debugLog("Storage free:check failed, Storage biggest block:check failed\n"); - /*installResourceGlobals();*/ + installResourceGlobals(); if(enabledFeatures & FEATURE_DEBUG) installDebugHandlers(); diff --git a/tools/palm/muExpansionDriver/traps.c b/tools/palm/muExpansionDriver/traps.c index 9576932..54e7a41 100644 --- a/tools/palm/muExpansionDriver/traps.c +++ b/tools/palm/muExpansionDriver/traps.c @@ -92,6 +92,14 @@ void emuErrDisplayFileLineMsg(const Char* const filename, UInt16 lineNo, const C debugLog("Error at:%s, Line:%d, Msg:%s\n", filename, lineNo, msg); } +void emuSysUnimplemented(void){ + uint16_t apiNum; + + /*need to find a way to catch the last called API*/ + + debugLog("Unimplemented API called:0x%04X\n", apiNum); +} + Err emuHwrDisplayAttributes(Boolean set, UInt8 attribute, void* dataPtr){ /*this function is exempt from formatting standards, it is meant as an exact C reconstrution of the Tungsten W HwrDisplayAttributes patched to work on an m515*/ static const char lcdControllerName[] = "MQ11xx LCD Controller"; diff --git a/tools/palm/muExpansionDriver/traps.h b/tools/palm/muExpansionDriver/traps.h index 87bfaac..81528bf 100644 --- a/tools/palm/muExpansionDriver/traps.h +++ b/tools/palm/muExpansionDriver/traps.h @@ -6,6 +6,7 @@ UInt32 emuPceNativeCall(NativeFuncType *nativeFuncP, void *userDataP); UInt32 emuKeyCurrentState(void); void emuErrDisplayFileLineMsg(const Char* const filename, UInt16 lineNo, const Char* const msg); +void emuSysUnimplemented(void); Err emuHwrDisplayAttributes(Boolean set, UInt8 attribute, void* dataPtr); void emuScrDrawChars(WinPtr pWindow, Int16 xLoc, Int16 yLoc, Int16 xExtent, Int16 yExtent, Int16 clipTop, Int16 clipLeft, Int16 clipBottom, Int16 clipRight, Char* chars, UInt16 len, FontPtr fontPtr);