• Axe Q&A 5 5
Currently:  

Author Topic: Axe Q&A  (Read 599163 times)

0 Members and 3 Guests are viewing this topic.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Q&A
« Reply #1125 on: November 30, 2011, 06:15:57 pm »
When you GetCalc() to find a variable in archive, you can store a sort of pointer to a "file", or Y0-9.
« Last Edit: November 30, 2011, 06:19:48 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1126 on: December 01, 2011, 05:31:26 am »
How do I save a variable to a var out of my program. Say str1?
And how can  I do the opposite too?


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #1127 on: December 01, 2011, 08:12:24 pm »
I'd like to know that too ^

Does pxl-test( interfere with grayscale?

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Axe Q&A
« Reply #1128 on: December 01, 2011, 08:13:48 pm »
How do I save a variable to a var out of my program. Say str1?
And how can  I do the opposite too?
Do you mean take the data at a pointer and put in an external var?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Q&A
« Reply #1129 on: December 01, 2011, 08:13:55 pm »
pxl-Test() only tests the pixel on the given buffer (usually L6).  It doesn't test the pixels actually drawn to the screen.
Vy'o'us pleorsdti thl'e gjaemue

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #1130 on: December 01, 2011, 08:16:43 pm »
I was assuming that. I wanted to make sure :)
« Last Edit: December 01, 2011, 08:16:49 pm by epic7 »

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1131 on: December 02, 2011, 01:25:54 pm »
How do I save a variable to a var out of my program. Say str1?
And how can  I do the opposite too?
Do you mean take the data at a pointer and put in an external var?
I'm already helped by Buttsfredskin and JustCause.
I just had to use an appvar and stuff. If Epic7 still wants to know he can look in the logs of yesterday. There should be also a link to a pastebin that may explain it.


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #1132 on: December 02, 2011, 03:56:45 pm »
What logs?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Q&A
« Reply #1133 on: December 02, 2011, 06:16:02 pm »
Well, if they're today's logs then this.
Yesterday's logs :P
« Last Edit: December 02, 2011, 06:17:03 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Axe Q&A
« Reply #1134 on: December 02, 2011, 06:18:33 pm »
How do I save a variable to a var out of my program. Say str1?
And how can  I do the opposite too?
Do you mean take the data at a pointer and put in an external var?
I'm already helped by Buttsfredskin and JustCause.
I just had to use an appvar and stuff. If Epic7 still wants to know he can look in the logs of yesterday. There should be also a link to a pastebin that may explain it.
So what are you unclear on? I'd be happy to help.
See you, space cowboy...

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1135 on: December 03, 2011, 11:07:22 am »
Here's the pastebin Epic7: http://pastebin.com/DgpfUP2P
Made by Buttsfredskin iirc. :)


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Axe Q&A
« Reply #1136 on: December 03, 2011, 04:49:48 pm »
Quote from: command index http://ourl.ca/8409
GetCalc(PTR,SIZE) | Creates an OS variable who's name is pointed to in RAM and makes it Size bytes large. Returns a pointer to the start of data, or zero if there was not enough RAM. Overwrites existing variable, even if it was in archive.
So, I take it it doesn't ERR:MEMORY anymore?  Sometimes an external buffer isn't created, to interesting results 0.o

I'm pretty sure I already asked this somewhere (but can't find it :P) but how can you find out how much RAM is free?
EDIT: Found a note to self XD "Asm(EFE542) amount of free ram"
« Last Edit: December 03, 2011, 04:54:41 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1137 on: December 05, 2011, 07:12:01 am »
Does that return in Ans? (I guess, but not sure since it could be >65535)
I'm not a nerd but I pretend:

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Axe Q&A
« Reply #1138 on: December 05, 2011, 07:29:52 am »
You can't have more than 24 K of free RAM. You seem to be thinking of free archive, not free RAM. Yes, it returns in Ans. It's just a standard bcall.
« Last Edit: December 05, 2011, 07:30:29 am by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1139 on: December 05, 2011, 07:31:24 am »
Oh lol, my bad. You are right, I was thinking of 240000 ram (best case ever )
I'm not a nerd but I pretend: