Sandmath Mod Question



#2

This is directed toward Angel Martin:

I'm trying to use the Sandmath Module on i41CX and the EV3X3 function in particular. I input "XEQ ALPHA EV3X3 ALPHA" with the output "Nonexistent". Not sure why the function can't be found.


Note: the Advantage and I41CX-MATH modules are installed as well.


#3

If this helps:

Port1 = I41CX-MATH
Port2 = Advantage
Port3 = Sandmath
Port4 = No Module


#4

The only dependency is for the Advantage module, and a SIZE large enough to hold the matrix data if not in XMEM.

Also make sure you have FLAG 6 CLEAR in order to use a new matrix.


#5

I'm not sure what size is required to run (didn't find this info in the docs) but I set it to 28. Also checked flag 6 was clear. Still no luck.


#6

I looked at the Matrix ROM in Sandmath 7A 3.pdf, and although the header is EV3X3, the function name is VP3X3. I tried executing that and it works.

One observation: It doesn't appear to print the results in normal or trace mode.


#7

VP3X3 was the previous name for that program, so it's likely you're running a rather old version of the Module. The current one is version 8.

I'm not sure how often they get updated at TOS for download on i41CX though. I checked on my i41CX and it already has version 7, which has the new name so you could also update it.

Edited: 23 Feb 2011, 1:18 a.m.


#8

i41CX only came with the i41CX-Math module, and I had to download Sandmath from TOS. There are 3 different modules; can you explain the differences?



Sandmath (currently loaded in Port 3) Older version?



Sandmath 8k



Sandmath 12k


#9

This is probably what caused the issue. The "sandmath" rom is an older version, for all that matter you can delete it as it has old revisions of the programs, superceded by the "SandMath_8k" , or the "SandMath_12k" - which is a superset of the 8k version, plus another 4k containing the "Algebra" section (i.e. matrix, vectors and polynomial programs).

In summary:

Sandmath - old and superceded.

SandMath_8k = Main Module, does not need Advantage

SandMath_12k = SandMath_8k + Algebra ROM.

Only the programs in the Algebra part require the Advantage ROM.

Hope this clarifies.


#10

Yes it does, Thanks.


Is it my imagination, or does there seem to be a (calculation) speed gain in the newer module?

Edited: 24 Feb 2011, 9:49 a.m.


#11

Quote:
Is it my imagination, or does there seem to be a (calculation) speed gain in the newer module?

Well, yes! I optimized things a bit between both revisions, like I wrote a couple of functions to simplify the code and expedite things - so that may be what you're noticing.

It really is a much improved version - not perfect quite yet but I'm working on it :-)


#12

Can the output be sent to the printer? I haven't found a way to do that.

Edited: 25 Feb 2011, 11:35 a.m.


#13

Have you tried setting the printer in NORM mode?


#14

I tried both trace and norm. The matrix inputs are printed, and after that a series of "RUN" statements, and a single "RUNNING..." statement. However, output results are not printed for some reason.

Edited: 25 Feb 2011, 11:40 p.m.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Last call for 41Z/SandMath Overlays... plus new ones Ángel Martin 0 118 12-12-2013, 10:27 AM
Last Post: Ángel Martin
  Sandmath/41Z overlays Bernd Grubert 1 105 10-29-2013, 03:32 PM
Last Post: 'Angel Martin
  [i41CX+] Sandmath 4.4 David Maier 1 119 09-03-2013, 02:50 AM
Last Post: Ángel Martin
  41Z / SandMath Overlays: Ready at last! Ángel Martin 3 138 07-23-2013, 01:30 PM
Last Post: Ángel Martin
  Latest & Last SandMath is released Ángel Martin 0 92 07-02-2013, 12:44 AM
Last Post: Ángel Martin
  What happened to the SandMath manual page? Garth Wilson 3 137 06-21-2013, 05:18 PM
Last Post: aurelio
  Case mod Andrew Nikitin 0 55 06-09-2013, 04:51 PM
Last Post: Andrew Nikitin
  Poll: SandMath and 41Z Overlays anyone? Ángel Martin 20 474 05-20-2013, 04:13 PM
Last Post: aurelio
  Question For Angel - SandMath 2x2 John Abbott (S. Africa) 6 212 05-13-2013, 11:52 AM
Last Post: John Abbott (S. Africa)
  SandMath-44_2x2: New version now available Ángel Martin 2 117 04-17-2013, 01:44 AM
Last Post: Angel Martin

Forum Jump: