Omnimaga
Calculator Community => Major Community Projects => The Axe Parser Project => Topic started 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.
-
I believe there is already a command that can be used to move the variables location to wherever you want them to be :)
-
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.
-
And include CALCnet support?
Well, I'm not totally sure what I'm talking about, but Kerm wanted this put up.
Oh well. ???
-
Ah, it seems he is planning but hasn't implemented the command yet
-
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
-
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!
-
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 ;)
-
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
-
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
-
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.
Axiom({L1+3},0,3
Code
:Second Axiom to increment counter RAM location and check for condition
-
Axiom({L1+3},0,3? ??? I thought it was Axiom(NAME) ???
-
I know, but I couldn't come up with a token to use for it.
-
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.
-
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
-
I can't wait for variable re-allocation. :)
-
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? ???