Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: FinaleTI on February 22, 2011, 09:37:30 am
-
When you use Text(20,30), I understand that it stores 20 to somewhere that denotates the Xpos, and 30 to somewhere that denotates the Ypos.
What I would like to know is what memory location are those coordinates stored to?
-
From ti83plus.inc:
penCol equ 86D7h
penRow equ 86D8h
Also, a little-known fact regarding printing text at constant coordinates:
.Coordinate=Y*256+X
Text(30*256+20)
Text "Stuff"
Is 7 bytes smaller than:
Text(20,30,"Stuff")
The same applies for text drawn to the home screen:
.Coordinate=X*256+Y
Output(20*256+30)
Disp "Stuff"
Is smaller than:
Output(20,30,"Stuff")
By even more, 8 bytes.
-
The same applies for text drawn to the home screen:
.Coordinate=X*256+Y
Output(20*256+30)
Disp "Stuff"
Is smaller than:
Output(20,30,"Stuff")
By even more, 8 bytes.
And to think Quigibo almost took Output(one argument) out at one point...
-
From ti83plus.inc:
penCol equ 86D7h
penRow equ 86D8h
Also, a little-known fact regarding printing text at constant coordinates:
.Coordinate=Y*256+X
Text(30*256+20)
Text "Stuff"
Is 7 bytes smaller than:
Text(20,30,"Stuff")
The same applies for text drawn to the home screen:
.Coordinate=X*256+Y
Output(20*256+30)
Disp "Stuff"
Is smaller than:
Output(20,30,"Stuff")
By even more, 8 bytes.
Why are the two different (7 bytes vs. 8 bytes)? I thought it did pretty much the same thing, but just to a different address.
-
Runer, what do you mean by Text "Stuff"? Do you mean Text("Stuff")? (Which doesn't seem to work btw) I mean, how do you get Text without parentheses?
-
Runer, what do you mean by Text "Stuff"? Do you mean Text("Stuff")? (Which doesn't seem to work btw) I mean, how do you get Text without parentheses?
2nd + PRGM + 6. It's normally DrawF.
-
From ti83plus.inc:
penCol equ 86D7h
penRow equ 86D8h
Also, a little-known fact regarding printing text at constant coordinates:
.Coordinate=Y*256+X
Text(30*256+20)
Text "Stuff"
Is 7 bytes smaller than:
Text(20,30,"Stuff")
The same applies for text drawn to the home screen:
.Coordinate=X*256+Y
Output(20*256+30)
Disp "Stuff"
Is smaller than:
Output(20,30,"Stuff")
By even more, 8 bytes.
O.O I didn't know you could use Text "Stuff" syntax
-
Huh. Well, you learn something new every day!
/me goes off to optimize
Wow, this opt is incredible O.o
-
O.O I didn't know you could use Text "Stuff" syntax
Yep, it's like Disp "STUFF", but with graph text.