Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: willrandship on April 12, 2011, 11:35:41 pm

Title: Correlation + Axe?
Post by: willrandship on April 12, 2011, 11:35:41 pm
How hard would it be to implement the font switching of correlation in an Axe prog? I think you could do it thru BASIC, have a BASIC prog run correlation's font switch, then have the axe prog run, but that assumes Axe uses the TIOS text writing routines. The reason I ask is because it's an easy way to get smaller sprites than 8x8, like 6x8 or 4x6 (small text) it also assumes axe doesn't overwrite anything correlation uses.

Also, would it be eligible for the contest?  ;D If not, I guess I could use my own routine.

On that note, are axioms disallowed from the contest?
Title: Re: Correlation + Axe?
Post by: Freyaday on April 12, 2011, 11:40:25 pm
Axe does use the OS's font writing routines, so Correlation should work.
Title: Re: Correlation + Axe?
Post by: Hot_Dog on April 12, 2011, 11:52:15 pm
Axe programs are, of course, translated to machine code and run with Asm( ;D

With that said, you always want to use int("CN before the Asm( command.  Then you use int("CY when you want to return to Correlation.  This keeps things compatible and protects your data.  Axe programs are bound to use certain areas of RAM that Correlation uses.

It is important to note that switching between Correlation and Axe several times a second is highly discouraged if you're aiming at a fast program.

EDIT: I just reread your question.  When it comes to Correlation, it's better to run an Axe program from Ti-Basic than it is to run a Ti-Basic program from Axe.  But indeed, what you want to do can be done.
Title: Re: Correlation + Axe?
Post by: willrandship on April 13, 2011, 12:01:56 am
Well, I was thinking of having only the font part used, and use the fonts in axe. There are tons of symbols in TI-Basic that I will never use in a program as display text, like the r for backbuffer drawing, and various other greek/math symbols.

I guess I'll just have to try and see :P
Title: Re: Correlation + Axe?
Post by: Munchor on April 13, 2011, 04:16:06 am
Well, I was thinking of having only the font part used, and use the fonts in axe. There are tons of symbols in TI-Basic that I will never use in a program as display text, like the r for backbuffer drawing, and various other greek/math symbols.

I guess I'll just have to try and see :P

Great, I'd like to see stuff made with this :)
Title: Re: Correlation + Axe?
Post by: Hot_Dog on April 13, 2011, 09:52:50 am
Oh, THAT?  Sorry, that's not possible.  Amongst other reasons, Correlation fonts use a different file format than the standard Ti-83+ font--or for that matter, Omnicalc and Batlib fonts.  You would need an axiom, although my schedule doesn't make it possible for me to make one.

On another note, I did my homework, and apparently there's more to Correlation + Axe than meets the eye.  I'll have to document this.
Title: Re: Correlation + Axe?
Post by: Munchor on April 13, 2011, 10:25:05 am
Wasn't this post moved, it doesn't seem like it.