0 Members and 3 Guests are viewing this topic.
Axe no longer uses the last 54 bytes as of Axe 1.2.0, so feel free to use L1 to 768 bytes. L2 is more or less stable for the first 800 bytes or so, but remember to run ClrDraw(L2) at the end of your program. Volatility doesn't refer to whether or not your data will get messed up during the program runtime, it refers to how screwed up bits of your OS will get after you quit out of the program (L2 has the chance of messing up tables and such).
Quote from: leafy on December 20, 2012, 08:50:04 pmAxe no longer uses the last 54 bytes as of Axe 1.2.0, so feel free to use L1 to 768 bytes. L2 is more or less stable for the first 800 bytes or so, but remember to run ClrDraw(L2) at the end of your program. Volatility doesn't refer to whether or not your data will get messed up during the program runtime, it refers to how screwed up bits of your OS will get after you quit out of the program (L2 has the chance of messing up tables and such).Ah OK, that's really good to know then. And hmm that's itneresting about L2 as it says only 512bytes, but anyway thanks for the information. I'd upvote or thank, or whatever they call it on here but I can't seem to find it... Now onto finishing up the range encoder!(Worst case scenario, estimated as a reduction of ~16% on 768byte thing.)
.AAClrDrawrrRect(0,0,32,32)rfnInt(A,6).MainRepeat getKey(0)EndLnRegReturnLbl A.Pause 75DispGraphr
..1→I .The counterfnInt(A,0) .I increased the interrupt speed for more counter precision..Lbl ADS<(I,4) .Only execute the body every 4 interrupt calls; play with this amountDispGraphʳEndReturn .Axe automatically adds a final return if you don't, but it's still good practice to include it