Author Topic: Correlation Progress  (Read 60026 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #135 on: March 21, 2011, 09:26:25 pm »
SOOOOOO Close to the beta!

COMPATABILITY WITH OTHER LIBRARIES FULLY IMPLEMENTED!

The below screenshot uses Celtic III to draw a box.  Then Correlation is used to turn the run indicator off--so when the "Pause" command is reached, you don't see the little "pause" bar in the upper corner.

As you can see from the screenshot, it is very important that Celtic III is installed at the start.  When the program is finished, Celtic III is restored so that you can use it normally.

Instead of 800 bytes of RAM, compatability will now require only 100 bytes of RAM to save important data, just in case a library or another ASM program uses smallEditRAM.

Source Code
--------------------

1:Asm(pgrmCORELATE
int("CN       ;Stands for "Correlation No," as in "Do not use Correlation."  Turns control to whatever was previously installed.  Also makes it safe
                ;to run other Asm( programs.
real(12,9,5,5,90,58,1    ;Uses Celtic III to draw the box
int("CY       ;Hands control back to Correlation
int("RN       ;Turn off the run indicator
Pause
« Last Edit: March 21, 2011, 09:27:29 pm by Hot_Dog »

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Correlation Progress
« Reply #136 on: March 21, 2011, 09:30:20 pm »
That's actually pretty cool.  So, basically, you still have the hook, but you immediately pass it to correlation.  Does this slow it down?  What if there is no other hooks and it runs across int("CN ?

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #137 on: March 21, 2011, 09:33:25 pm »
There is definitely a length of time from switching from one to the other, but you can switch back and forth 1000 times and Correlation will never slow down.

If no other hooks are installed, Correlation simply will not run.  But data will still be copied safely.  This is for people who don't need parser hook libraries but have their own Asm( programs.
« Last Edit: March 21, 2011, 09:33:47 pm by Hot_Dog »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Correlation Progress
« Reply #138 on: March 21, 2011, 09:39:01 pm »
WONDERFUL

and sorry for not having noticed you released the alpha, Hot_Dog. i was out of town and only saw the message just now, meaning i haven't done anything towards a demo program yet.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #139 on: March 21, 2011, 09:46:24 pm »
sorry for not having noticed you released the alpha, Hot_Dog. i was out of town and only saw the message just now, meaning i haven't done anything towards a demo program yet.

The alpha was optional.  Some people wanted to start early, but you don't have to start a demo program until the beta version comes out.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Correlation Progress
« Reply #140 on: March 22, 2011, 11:06:53 am »
ERKH! That's awesome :D




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55933
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Correlation Progress
« Reply #141 on: March 24, 2011, 11:17:50 pm »
Wow awesome, I'm glad it's gonna be in beta soon!

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #142 on: April 14, 2011, 07:31:42 pm »
Due to the things I have to change to speed up ln(, I will be able to add at least three more features:

1. (Requested by DJ)   int("GN will turn off certain error checking sections of code, speeding up the process of drawing text.  You should only disable error checking when you know for sure that your code has no errors, meaning it's ready to be distributed

2. ln( nomally displays 6x8 text on 16 columns and 8 rows.  int("H1 will allow you to draw 8x8 text on 12 columns and 8 rows.  While this does not allow you to draw 8x8 text anywhere you want, it will be MUCH faster than e^( for 8x8 sprites.  Similarily, int("H2 will allow you to draw fast 16x16 text on 6 columns and 4 rows.

3. To speed things up for "homescreen" fonts, ln( and e^( cannot normally be used together anymore.  You can, however, use ln( to draw a quick background, and then copy it to the graph screen using int("JJ.  Then e^( will draw on this background.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Correlation Progress
« Reply #143 on: April 14, 2011, 08:16:00 pm »
I definitely like these additions! Number three is fine (to me), and the other two are great!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Correlation Progress
« Reply #144 on: April 14, 2011, 08:45:43 pm »
I like the fast 16x16 grid and int("JJ thing. That'll be helpful for the game I'm considering doing, though I don't wanna say anything about it yet.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #145 on: April 14, 2011, 09:09:51 pm »
I'm glad people are voting "yes" for these features.  To that end, upon further planning, I've had to make a couple of adjustments to imporve this further:

1. int("H1 and int("H2 are completely unnecessary, Correlation will automatically detect 8x8 and 16x16 fonts
2. 6x8 fonts will always be drawn to the homescreen and requires int("JJ to draw it to the graph screen.  However, if you use int("HN  (meaning Homescreen NO), 8x8 fonts and 16x16 will draw to the graph screen instead of the homescreen, even though they still use 6/12 columns and 4/6 rows.  This makes int("JJ unnecessary, and also allows XOR, OR, AND and MASK, which cannot be done on the homescreen.  Drawing to the graphscreen directly doesn't slow things down, and indeed is faster than int("JJ
« Last Edit: April 14, 2011, 09:10:42 pm by Hot_Dog »

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3005
  • Rating: +445/-10
    • View Profile
Re: Correlation Progress
« Reply #146 on: April 21, 2011, 07:56:43 pm »
Attempt #1 at speeding up Ln( -- failed.

 :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:      :banghead:


Okay, so Attempt #2 should not take nearly as long, which will speed up Correlation progress if it works.  Attempt #2 will be changing the way displaying to the screen works:

1.  As always, you can choose to not show text on the screen until you are done drawing completely.  With this mode, as always, you can use all features, such as map mode.
2. BUT, you might want text, such as single characters, to display immediately, which is faster than updating the entire screen just for one character of text.  This mode was always available in Correlation, but this time, NO FEATURES will be available except for bitmasking, animated text and negative coordinates for e^(.  No lowercase letters, no word wrap, no map mode, etc.  ln( will be fixed at wrap mode, and e^( will be fixed at clip mode.

You can switch back and forth between these two as many times as you want, as always.