Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: Hot_Dog on December 16, 2010, 11:38:46 am
-
When used in a Ti-Basic program, how fast does something like Asm(FDCB368E) run in comparison with other lines in a Ti-Basic program? Meaning is it slowest? One of the slowest? Average speed? Fast?
-
as far as I am aware, that doesn't even work.
you have to put it in a program first. (either that or you have to put the header in...)
-
I'm pretty sure it must be in a program, but ignoring that, I think it takes some time to go look up the program, but after actually loading it, I think it is really fast.
-
lol, Axe addiction. ;)
I think its like a Goto for the Program Menus, so its slow, after it activates, it depends on the speed of the code. btw, maybe someone could make a program that allows hex to be put directly into the Asm token?
1111st post!
-
Use Doors CS; the Third-Party BASIC libraries (http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries) offer both ExecHex via Celtic III (det(20,"CODE")) and ExecAsm via Omnicalc (real(33,"CODE")).
-
Use Doors CS; the Third-Party BASIC libraries (http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries) offer both ExecHex via Celtic III (det(20,"CODE")) and ExecAsm via Omnicalc (real(33,"CODE")).
Thanks, Kerm! Although many calculators I'm aiming at won't have Doors CS
-
Use Doors CS; the Third-Party BASIC libraries (http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries) offer both ExecHex via Celtic III (det(20,"CODE")) and ExecAsm via Omnicalc (real(33,"CODE")).
I love whenever it's something about DCS, he just pops up out of nowhere! It's funny, really. I guess you could have your hex code in ans and have another asm program run it.
-
Yeah I think Hot Dog meant in BASIC. Also Asm() in BASIC is Asm(prgmNAME).
Speed varies. I think it depends of the ASM program size. If I remember, the code is copied in a specific memory address which can hold 8192 bytes of code and I always forget that address, and the longer the code, the longer it takes to copy. In addition to that, it searches the VAT for the program in question, so the more files there are on the calc, the longer it takes for Asm() to even respond at all.
With CODEX, with a calc free of any program, a flashing screen animation blinked extremly rapidly. So much that I almost had grayscale. However, with a calc filled with junk and running with limited RAM, the program took about 0.1 seconds to even launch. 0.1 seconds makes a huge difference when you're trying to draw a tilemap sprite by sprite. This is why The Reign of Legends 3 map loading took so long.
If you use Doors CS7 ExecAsm command (or the same command via any parser hook installer), it will launch the code instantly.