Author Topic: CALCnet support  (Read 5452 times)

0 Members and 1 Guest are viewing this topic.

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
CALCnet support
« on: December 10, 2010, 07:45:50 pm »
So, Kerm asked to cross-post this.
He wants Axe to move the variables' location in saferam so that Axe is compatible with CALCnet.
That would be really cool. :) :hyper:
I lost the game.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: CALCnet support
« Reply #1 on: December 10, 2010, 07:56:46 pm »
I believe there is already a command that can be used to move the variables location to wherever you want them to be :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: CALCnet support
« Reply #2 on: December 10, 2010, 07:57:56 pm »
Really? I wonder what is the command...

That said, I think a temporary workaround is to simply not use variables altogether. CALCnet support nice, though.
« Last Edit: December 10, 2010, 07:58:07 pm by DJ Omnimaga »
Dream of Omnimaga

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: CALCnet support
« Reply #3 on: December 10, 2010, 07:58:22 pm »
And include CALCnet support?
Well, I'm not totally sure what I'm talking about, but Kerm wanted this put up.
Oh well. ???
« Last Edit: December 10, 2010, 07:58:42 pm by c.sprinkle »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: CALCnet support
« Reply #4 on: December 10, 2010, 08:00:07 pm »
Ah, it seems he is planning but hasn't implemented the command yet

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: CALCnet support
« Reply #5 on: December 10, 2010, 08:50:05 pm »
Also, I think the rand seed is in SaveSScreen as well, so not only do you have to not use vars for now, but also not ever call the rand command :P

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: CALCnet support
« Reply #6 on: December 10, 2010, 08:53:28 pm »
Only problem is that using that is important. Could you have done Space Dash without vars?
(No)
Also, I really like Space Dash and Cuberunner. They are among my top five favorite games.
Nice job.
And they both got ticalc.org features!

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: CALCnet support
« Reply #7 on: December 10, 2010, 08:56:49 pm »
Actually I think I use very few vars in Space Dash, except in some For loops where that was unavoidable (although i could turn them into While {Ptr}<Max : {Ptr}+1->{Ptr}. For some reason I had it in my head at the time that single byte ops were faster than two byte operations so I changed almost all of my variable references to saferam references. I should probably change that sometime :P

And thanks btw ;)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: CALCnet support
« Reply #8 on: December 11, 2010, 01:54:38 am »
Only problem is that using that is important. Could you have done Space Dash without vars?
(No)
Also, I really like Space Dash and Cuberunner. They are among my top five favorite games.
Nice job.
And they both got ticalc.org features!
You can just use pointers and store to safe RAM areas instead of using vars. However, the problem is that you cannot use For with anything else than vars, last time I tried.

I also agree these two games are amazing! ;D
« Last Edit: December 11, 2010, 01:54:56 am by DJ Omnimaga »
Dream of Omnimaga

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: CALCnet support
« Reply #9 on: December 11, 2010, 02:29:59 am »
Yeah if you wanted to do a for loop but didn't have any variables, you would be forced to build one yourself out of RAM locations and a different type of loop like while or repeat x.x

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: CALCnet support
« Reply #10 on: December 11, 2010, 02:33:00 am »
Yeah if you wanted to do a for loop but didn't have any variables, you would be forced to build one yourself out of RAM locations and a different type of loop like while or repeat x.x

Someone could probably write an Axiom to take care of it.

Code: [Select]
Axiom({L1+3},0,3
Code
:Second Axiom to increment counter RAM location and check for condition
« Last Edit: December 11, 2010, 02:34:29 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: CALCnet support
« Reply #11 on: December 11, 2010, 02:41:35 am »
Axiom({L1+3},0,3? ??? I thought it was Axiom(NAME) ???
Dream of Omnimaga

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: CALCnet support
« Reply #12 on: December 11, 2010, 02:44:09 am »
I know, but I couldn't come up with a token to use for it.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: CALCnet support
« Reply #13 on: December 11, 2010, 07:12:46 am »
Yeah, variable reallocation will be available next release so it should be compatible with CALCnet.

Also, I think you mentioned on Cemetech that the On key detection was not working?  I though the same thing initially because I was using wabbitemu which for some reason doesn't recognize the on key when pressed.  But I've tried it on hardware and it seems to work correctly.
« Last Edit: December 11, 2010, 07:14:20 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: CALCnet support
« Reply #14 on: December 11, 2010, 07:14:18 am »
Yeah, variable reallocation will be available next release so it should be compatible with CALCnet.

Also, I think you mentioned on Cemetech that the On key detection was not working?  I though the same thing initially because I was using wabbitemu which for some reason does not recognize the on key when I press it.  But I've tried it on hardware and it works correctly.

ON Key works perfectly Quigibo, don't worry. However, I think a new version of WabbitEmu should be released allowing us to press the ON key too :D