Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: ACagliano on July 19, 2010, 12:03:49 pm

Title: Editing OFFSCRPT
Post by: ACagliano 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?
Title: Re: Editing OFFSCRPT
Post by: Silver Shadow 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?
Title: Re: Editing OFFSCRPT
Post by: ACagliano 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.
Title: Re: Editing OFFSCRPT
Post by: thepenguin77 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.
Title: Re: Editing OFFSCRPT
Post by: Builderboy 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?
Title: Re: Editing OFFSCRPT
Post by: DJ Omnimaga on July 19, 2010, 01:50:45 pm
I am pretty sure the APP needs to be run at least once to be activated
Title: Re: Editing OFFSCRPT
Post by: thepenguin77 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.
Title: Re: Editing OFFSCRPT
Post by: souvik1997 on August 04, 2010, 12:15:45 am
Look in the Axe subforum for my topic on " Axe and OFFSCRPT"
Title: Re: Editing OFFSCRPT
Post by: DJ Omnimaga 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.)
Title: Re: Editing OFFSCRPT
Post by: ztrumpet 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