Author Topic: Speed of Asm(  (Read 5465 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Speed of Asm(
« 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?

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: Speed of Asm(
« Reply #1 on: December 16, 2010, 11:44:05 am »
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...)
« Last Edit: December 16, 2010, 11:45:20 am by lookitsan00b »
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Speed of Asm(
« Reply #2 on: December 16, 2010, 11:47:48 am »
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.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Speed of Asm(
« Reply #3 on: December 16, 2010, 11:54:24 am »
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!
« Last Edit: December 16, 2010, 11:54:43 am by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: Speed of Asm(
« Reply #4 on: December 16, 2010, 12:31:38 pm »
Use Doors CS; the Third-Party BASIC libraries offer both ExecHex via Celtic III (det(20,"CODE")) and ExecAsm via Omnicalc (real(33,"CODE")).



Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Speed of Asm(
« Reply #5 on: December 16, 2010, 12:34:32 pm »
Use Doors CS; the 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

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Speed of Asm(
« Reply #6 on: December 16, 2010, 12:37:54 pm »
Use Doors CS; the 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Speed of Asm(
« Reply #7 on: December 16, 2010, 09:19:30 pm »
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.