Author Topic: Memkit issues  (Read 5936 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Memkit issues
« on: February 13, 2011, 02:57:35 am »
Hmm, not sure if this should belong in this forum or the other one...

Any reason why this won't compile?  It says 'BAD SYMBOL' right at 'dim()r'.  (Am I right in assuming that the 'r' is the radians symbol?)
dim() and dim()rr work fine, though.

Code: [Select]
.TEST
#Axiom(MEMKIT)
Fix 5

For(A,0,710)
    0->{L1+A}
End

Load()
Next()
Next()
Next()

dim()r->{L1}r
Print(L1+2)

ClrDraw
DispGraph

Text(5,5,L1+2)
Text(30,5,{L1}r->Dec)

Repeat getKey(15)
    DispGraph
End

Also,  what happens if I try to use dim()r on an archived program/appvar?

Also, in the [VARS] [2] menu, why are there more commands not mentioned in the readme?  (Render, DrawL, DrawR, DrawS, Up, Down, Left, Right)
« Last Edit: February 13, 2011, 02:59:01 am by Michael_Lee »
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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: Memkit issues
« Reply #1 on: February 13, 2011, 03:20:18 am »
Those tokens are not specific to MemKit, they are for any Axiom to use which is why there are so many (with more coming).

I found the source of the bug; 1 bit needed to be changed in the Axiom engine because it was assuming that routines with arguments and r modifiers had to be inline, fixed it now, I'll make sure to update soon with the patch.
« Last Edit: February 13, 2011, 03:20:36 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Memkit issues
« Reply #2 on: February 13, 2011, 10:39:53 am »
'kay.  Thanks.

What do you mean by inline?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Memkit issues
« Reply #3 on: April 02, 2011, 12:25:53 pm »
In Memkit, what are valid "Buffers" for the Print( command? Will Str0AC work? And does the string need to be defined beforehand?

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: Memkit issues
« Reply #4 on: April 02, 2011, 06:12:12 pm »
You can use any free ram you'd like.  Anywhere in L1-L6 is valid, or memory within the program if its a non-application.  Just make sure that you have 9 bytes free there to write over.
___Axe_Parser___
Today the calculator, tomorrow the world!