Omnimaga

Calculator Community => Major Community Projects => The Axe Parser Project => Topic started by: c.sprinkle on December 10, 2010, 07:45:50 pm

Title: CALCnet support
Post by: c.sprinkle 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.
Title: Re: CALCnet support
Post by: Builderboy 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 :)
Title: Re: CALCnet support
Post by: DJ Omnimaga 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.
Title: Re: CALCnet support
Post by: c.sprinkle 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. ???
Title: Re: CALCnet support
Post by: Builderboy on December 10, 2010, 08:00:07 pm
Ah, it seems he is planning but hasn't implemented the command yet
Title: Re: CALCnet support
Post by: squidgetx 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
Title: Re: CALCnet support
Post by: c.sprinkle 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!
Title: Re: CALCnet support
Post by: squidgetx 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 ;)
Title: Re: CALCnet support
Post by: DJ Omnimaga 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
Title: Re: CALCnet support
Post by: Builderboy 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
Title: Re: CALCnet support
Post by: AngelFish 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
Title: Re: CALCnet support
Post by: DJ Omnimaga on December 11, 2010, 02:41:35 am
Axiom({L1+3},0,3? ??? I thought it was Axiom(NAME) ???
Title: Re: CALCnet support
Post by: AngelFish on December 11, 2010, 02:44:09 am
I know, but I couldn't come up with a token to use for it.
Title: Re: CALCnet support
Post by: Quigibo 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.
Title: Re: CALCnet support
Post by: Munchor 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
Title: Re: CALCnet support
Post by: ztrumpet on December 11, 2010, 10:58:29 am
I can't wait for variable re-allocation. :)
Title: Re: CALCnet support
Post by: DJ Omnimaga on December 12, 2010, 05:08:21 am
I know, but I couldn't come up with a token to use for it.
I am more confused now. Do you mean you can just put anything after the Axiom command? ???