Author Topic: Correlation Progress  (Read 68312 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Correlation Progress
« on: December 14, 2010, 11:04:30 pm »
Still looking at next January for the testing period!

I finished the AND, OR, XOR, Mask routines, my next step is using e^( to display small text.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation Progress
« Reply #1 on: December 14, 2010, 11:05:29 pm »
Awesome! I'll have to re-practice my TI-BASIC to remind myself of how to use getkey and stuff to try this. :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #2 on: December 15, 2010, 09:08:43 pm »
GOOD NEWS!

I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.

But I forgot that one can use Asm( to run hex code.  So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed.  When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Correlation Progress
« Reply #3 on: December 15, 2010, 09:36:49 pm »
GOOD NEWS, EVERYBODY!

I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.

But I forgot that one can use Asm( to run hex code.  So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed.  When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.

Fixed.
« Last Edit: December 15, 2010, 09:37:03 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Correlation Progress
« Reply #4 on: December 15, 2010, 09:47:03 pm »
GOOD NEWS, EVERYBODY!

I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.

But I forgot that one can use Asm( to run hex code.  So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed.  When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.

Fixed.

Futurama reference?

Edit:
Except I just realized that the professor says "Good news, everyone!" instead.
« Last Edit: December 15, 2010, 09:51:54 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #5 on: December 15, 2010, 09:58:29 pm »
GOOD NEWS, EVERYBODY!

I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.

But I forgot that one can use Asm( to run hex code.  So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed.  When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.

Fixed.

Ha ha ha

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation Progress
« Reply #6 on: December 16, 2010, 04:54:02 am »
Nice Hot Dog. I think the slowdown is not as bad with some parser hooks than others, though. I think Omnicalc was the worst of all for that.

The only thing, though: Using Asm() is a bit slow by itself, so maybe sometimes you will be best not disabling hooks altogether even when Correlation isn't needed. It will depend how many sub-programs do you have and how much RAM left.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #7 on: December 16, 2010, 11:21:48 am »
The only thing, though: Using Asm() is a bit slow by itself, so maybe sometimes you will be best not disabling hooks altogether even when Correlation isn't needed. It will depend how many sub-programs do you have and how much RAM left.

I'm thinking something along the lines of Asm(FDCB368E).  I'll have to check this out, I didn't think that it could be slow like this.  I thought, though maybe I'm wrong, that using this would be a good idea if there were at least 6 lines of code that didn't need Correlation

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Correlation Progress
« Reply #8 on: December 16, 2010, 01:06:39 pm »
GOOD NEWS, EVERYBODY!

I had someone ask me at one point if Correlation would slow down Ti-Basic programs, to which I had to reply that all parser hooks slow down Ti-Basic programs, even if slightly.

But I forgot that one can use Asm( to run hex code.  So I'll place guidance in the Correlation Manual to turn the parser hook off when not needed, and turn it on again when needed.  When used properly, TI-BASIC TEXT-BASED GAMES WILL ALWAYS, ALWAYS RUN FASTER WITH CORRELATION THAN WITHOUT IT.

Fixed.

Futurama reference?

Edit:
Except I just realized that the professor says "Good news, everyone!" instead.

DAMN.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #9 on: December 16, 2010, 03:47:46 pm »
DJ, I forgot that Asm( can only run programs, not hex code.  However, I found that I can use the regraph hook to turn on the parser hook when it's been turned off.  Since I can prevent the graph screen from being drawn at all, I'll use a command -- so far, ZoomSto -- to turn on the parser hook.  That way, Ti-Basic Text-Based games will STILL run faster with Correlation than without it.  (If this doesn't make sense, just trust me :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation Progress
« Reply #10 on: December 16, 2010, 11:04:24 pm »
Seems good to me. Good luck! :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #11 on: December 20, 2010, 09:41:46 am »
I'll be doing the rest of my in-house testing/coding next January.  I have been working on the Correlation Manual, and I plan to have it released before the end of the month.  Those of you hoping to test Correlation might want to read through the manual when it's released ;D
« Last Edit: December 20, 2010, 09:42:36 am by Hot_Dog »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation Progress
« Reply #12 on: December 20, 2010, 01:56:01 pm »
Aah ok. Just one thing, though, especially since it's an utility to help programmers: try to not make the readme excessively long. A lot of people are turned away by Celtic III readme because it's too long and they use xLIB readme instead. Some people prefer larger readmes, though, so it's a good idea to maybe include two versions. Some people just get lost when they see a wall of text. X.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #13 on: December 20, 2010, 02:07:14 pm »
Aah ok. Just one thing, though, especially since it's an utility to help programmers: try to not make the readme excessively long. A lot of people are turned away by Celtic III readme because it's too long and they use xLIB readme instead. Some people prefer larger readmes, though, so it's a good idea to maybe include two versions. Some people just get lost when they see a wall of text. X.x

Rather than a read-me, it's like a "For dummies" book, in pdf.  However, if people find it too long during the testing period, I will take your advice and include a quick readme.  Like Axe, though, the concept requires a lot of "how to do" rules, and thuse more documentation is required
« Last Edit: December 20, 2010, 02:09:08 pm by Hot_Dog »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Correlation Progress
« Reply #14 on: December 20, 2010, 02:48:17 pm »
Aah ok. Just one thing, though, especially since it's an utility to help programmers: try to not make the readme excessively long. A lot of people are turned away by Celtic III readme because it's too long and they use xLIB readme instead. Some people prefer larger readmes, though, so it's a good idea to maybe include two versions. Some people just get lost when they see a wall of text. X.x
My favorite readme ever is the one for Celtic III. ;D
I like the huge ones.  The DCS SDK is also one of my favorites. O0

This sounds great, Hot Dog.  As for running raw hex, you can use this program by Zeda: http://www.ticalc.org/archives/files/fileinfo/425/42536.html