Author Topic: Is it Possible?  (Read 9669 times)

0 Members and 1 Guest are viewing this topic.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Is it Possible?
« on: April 01, 2011, 10:03:45 am »
Is it possible to make the calculator run part of an app (like a specific subroutine) when it turns on? Is it possible to do this in Axe? Assembly? How?

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Is it Possible?
« Reply #1 on: April 01, 2011, 10:33:55 am »
It has something to do with the OFFSCRPT appvar. When the calculator turns on and encounters this variable, it will run whatever is in it, which will allow you to run a program, app, or whatever. I don't know exactly how it works, though.
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Ashbad

  • Guest
Re: Is it Possible?
« Reply #2 on: April 01, 2011, 01:18:31 pm »
well, not exactly.  I can't explain the entire technical process, but it's more than just an appvar named that.  You need to write a program in assembly (possibly axe, though idk) that basically has a hook that detects when the calc is turned on - when it is, it runs the script.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Is it Possible?
« Reply #3 on: April 01, 2011, 02:59:40 pm »
You should actually ask KermM for some assembly code.
I'm not a nerd but I pretend:

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Is it Possible?
« Reply #4 on: April 01, 2011, 06:42:29 pm »
Yeah, MirageOS, DoorsCS, zStart, StartUp, and a few other programs employ this method. Ask their authors.

EDIT: Or better yet, dissassemble the OFFSCRPT appvar after creating one with any of those programs.
« Last Edit: April 01, 2011, 06:43:18 pm by Compynerd255 »
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



souvik1997

  • Guest
Re: Is it Possible?
« Reply #5 on: April 01, 2011, 07:47:12 pm »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Is it Possible?
« Reply #6 on: April 01, 2011, 08:34:04 pm »
It's possible. Create an OFFSCRPT that finds the application, switches to that page, then jumps to the label you want (basically going into the app without "actually" executing it).

You'll have to use ASM, of course, but it shouldn't be too messy.