Author Topic: Use Getcalc() and hacked variables  (Read 3012 times)

0 Members and 1 Guest are viewing this topic.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Use Getcalc() and hacked variables
« on: March 23, 2012, 03:50:06 am »
Hi guys !

I saw a few time ago that you can create hacked variables proceeding this way :
Code: [Select]
:[076000]→Str1
:.The hacked variable Pic1
:GetCalc(Str1,767)→A

And I also saw that :
  • HEX → TYPE
  • 00 → Real
  • 01 → List
  • 02 → Matrix
  • 03 → Equation
  • 04 → String
  • 05 → Program
  • 06 → Protected Program
  • 07 → Picture
  • 08 → Graph Database
  • 0B → New EQU 
  • 0C → Complex
  • 0D → Complex
  • 14 → Application
  • 15 → AppVar
  • 17 → Group

But if I try this :
Code: [Select]
:[14414141]→Str1
:.Create an app named AAA
:GetCalc(Str1,50)
It doesn't create anything and down my RAM to ≈ 4K.

What must I do to create an app named AAA ?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Use Getcalc() and hacked variables
« Reply #1 on: March 23, 2012, 08:51:02 am »
This is pretty much logical. Most likely your "app" is not in archive. Also this could be pretty dangerous for your calculator x.x
Pro tip: archive everything you want to keep and clear ram.
(Apps are very complicated and definately cannot be created using an axe program. The reason I think itcould be pretty dangerous is the fact that apps go in flash and if you corrupt your flash you are pretty much skrewed)
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Use Getcalc() and hacked variables
« Reply #2 on: March 23, 2012, 09:08:54 am »
Yes, you will not be able to use the routine to create an app. You can create a Group, but it will be in RAM and will be volatile unless you really know what you are doing. Otherwise, the other variables should work. So, for example, you can create Strings that are after 9 and as well, pictures :)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Use Getcalc() and hacked variables
« Reply #3 on: March 23, 2012, 09:10:34 am »
By the way you canz also create h4x3d p1x using this:
getCalc("Pic1215",768)
That will create pic1215 tho it wont be visible that way in the mem menu. (Will show up as pic1 duplicate)
« Last Edit: March 23, 2012, 09:11:02 am by aeTIos »
I'm not a nerd but I pretend:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Use Getcalc() and hacked variables
« Reply #4 on: March 23, 2012, 09:13:40 am »
That shouldn't actually work to my knowledge...

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Use Getcalc() and hacked variables
« Reply #5 on: March 23, 2012, 09:14:39 am »
It does :)
I'm not a nerd but I pretend:

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Use Getcalc() and hacked variables
« Reply #6 on: March 23, 2012, 09:44:18 am »
As for hacked variables, just keep in mind those cannot be transferred from the computer to the calc properly without grouping them first and will be hard to get to work in most emulators. I didn't keep that in mind with my old games and this severely limited Zelda audience until I completely revamped the install process.