From: Jake Bordens (newton_at_allaboutjake.com)
Date: Thu Aug 18 2005 - 16:31:33 PDT
Does anyone know how to call an arbitrary function in ROM? For
example, there is a function at 0x12345 and I know its function
prototype. How might I go about calling it from C++ code.
The compiler is more restrictive than I'm used to. Normally I'd just
cast a constant long value to a function pointer. However, the
Newton C++ tools don't apparently allow this.
Alternatively, Is there a way to tell the Linker where to find a
function by its memory location?
Thanks for any insight.
Jake
-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
This archive was generated by hypermail 2.1.5 : Thu Aug 18 2005 - 18:30:01 PDT