The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
41C: XEQ a local label in a different (ROM) program?
06-02-2015, 02:16 PM
Post: #1
41C: XEQ a local label in a different (ROM) program?
Is that even possible without a lot of synthetic and/or MCODE stunts? I got a Math/Stat Pac recently, and I'd like to be able to call the solver from other programs. There's a global label ("SOL") you can call if you've provided the function name and initial guesses in the appropriate registers, skipping the user-prompting routines, but the result still gets displayed with a bunch of alpha prompts.

Looking at the module code, SOL is basically a wrapper that calls label C, which does all the work, sets flag 0 if a root is found, and leaves the results in X and Y. After C returns, the SOL routine proceeds with the display functions. It doesn't seem to be doing any flag checking that would suggest a way to run it in silent mode.

If I could XEQ C directly, then I could easily take the results and handle them accordingly. Any clever ways to pull that off?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
41C: XEQ a local label in a different (ROM) program? - Dave Britten - 06-02-2015 02:16 PM



User(s) browsing this thread: 1 Guest(s)