Author Topic: Editing OFFSCRPT  (Read 6305 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
Editing OFFSCRPT
« on: July 19, 2010, 12:03:49 pm »
I plan on using Celtic3 to directly edit the appvar OFFSCRIPT. I need to know exactly what code should be written into OFFSCRIPT to make it run a program called BLAST5 on startup. And, is it possible to make OFFSCRIPT unarchive it first, then run it, then rearchive it?

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Editing OFFSCRPT
« Reply #1 on: July 19, 2010, 12:09:37 pm »
Couldn't you just use TI's StartUp app to create the needed appvar and then use that appvar with your program?
Former Coder of Tomorrow


Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Editing OFFSCRPT
« Reply #2 on: July 19, 2010, 12:26:01 pm »
YOUR A GENIUS. THANK YOU. IT WOULD WORK.

I will use it to create the appvar. Then I will used Celtic3's "det(0,"rowSwap(OFFSCRPT",6)-->Str1. Then, I'll use that to edit OFFSCRPT on the receiving calc.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Editing OFFSCRPT
« Reply #3 on: July 19, 2010, 12:33:17 pm »
Couldn't you just use TI's StartUp app to create the needed appvar and then use that appvar with your program?

Not quite... The Start-up appvar runs start-up, it doesn't run a program, the start-up app takes care of that. But don't worry, I'm working on it.
« Last Edit: July 19, 2010, 12:34:02 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Editing OFFSCRPT
« Reply #4 on: July 19, 2010, 01:22:01 pm »
Are there any hooks that need to be installed?  Or does the TiOS automatically run OFFSCRPT under all circumstances?

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: Editing OFFSCRPT
« Reply #5 on: July 19, 2010, 01:50:45 pm »
I am pretty sure the APP needs to be run at least once to be activated

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Editing OFFSCRPT
« Reply #6 on: July 19, 2010, 02:31:09 pm »
You have to set 1, (iy + $33).

Here it is, just unsquish it and copy it to OFFSCRPT. It installs a GetCSC hook that on startup, puts prgmBLAST5 in the recall queue. It then restores the GetCSC hook to whatever it was before it was run and BLAST5 is executed. But don't forget to set 1, (iy + $33). (FD CB 33 CE).

Believe it or not, unless textInsMode, (iy + textFlags) is reset, it doesn't run the program. It has something to do with adding a $3F to the end of the program name. If the flag is reset, the $3F tells the queue to press enter. If it's set, it puts a '?' in.

The last program was my test one, it has code to install the OFFSCRPT, though it won't work from inside a basic program.

Edit:
    If you ever make a blast6, change the 3rd to last number, which is a 5 to a 6.
« Last Edit: July 19, 2010, 02:33:14 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

souvik1997

  • Guest
Re: Editing OFFSCRPT
« Reply #7 on: August 04, 2010, 12:15:45 am »
Look in the Axe subforum for my topic on " Axe and OFFSCRPT"

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: Editing OFFSCRPT
« Reply #8 on: August 04, 2010, 12:37:29 am »
Oh hi, welcome back souvik1997. Did you have any luck visiting the board where you were, by the way? My apologies about that banned message x.x

(For those who don't understand, there are 4 african/asian ISPs that were the source of most of our spambot problems in a not-so-distant past and due to dynamic IP addresses used by those bots, we were forced to ban those internet providers completly. Sadly, last month, Souvik1997 was in vacation at a place that was affected by one of these 4 ISP-wide bans. I then received an e-mail from him, and after trying to figure out a solution for 2 hours, I finally setup the bans so they allow visiting the board and logging in to post, but not register new accounts. I never knew if it worked at all, though.)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Editing OFFSCRPT
« Reply #9 on: August 04, 2010, 11:13:28 am »
The Penguin, that's for your work on this.  It's great to have people like yourself helping others. ;D