Opcode to set a program as the startup program

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

Forum » Programming & Design / Assembly Programming » Opcode to set a program as the startup program
Started by: Roguebantha Roguebantha
Date: 08 Jan 2013 23:32
Number of posts: 21
rss icon RSS: New posts
Opcode to set a program as the startup program
Roguebantha Roguebantha 08 Jan 2013 23:32

Is there an opcode to set a certain program to start whenever you turn on the calculator? (minus APD)
You would submit the name of the program in Ans.

I really would like to use such an opcode for my Linux boot system so I don't have to use the startup app every time I want to set this as the default boot. Also, is there an opcode to disable the on break? I'm sure there is.


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 08 Jan 2013 23:32
Re: Opcode to set a program as the startup program
(account deleted) 08 Jan 2013 23:38

Hah! I was about 2 minutes from asking about that for Scope. :D


Coffee + Radiohead = ^^

Last edited on 08 Jan 2013 23:38 by (account deleted)
by (account deleted), 08 Jan 2013 23:38
Re: Opcode to set a program as the startup program
Silver Phantom Silver Phantom 09 Jan 2013 00:00

There is an app released by TI that does that, it's called start-up http://education.ti.com/en/us/software/details/en/77EC7DE5D3694F4595C262FDFC2ACC4B/83startupcustomization

Edit: never mind, I just noticed the part of not using the app


The Silver Phantom welcomes you

Last edited on 09 Jan 2013 00:04 by Silver Phantom
by Silver Phantom Silver Phantom , 09 Jan 2013 00:00
Re: Opcode to set a program as the startup program
Silver Phantom Silver Phantom 09 Jan 2013 03:37

i found the on break (for once yahoo answer helps!) http://www.ticalc.org/archives/files/fileinfo/330/33039.html


The Silver Phantom welcomes you

by Silver Phantom Silver Phantom , 09 Jan 2013 03:37
Re: Opcode to set a program as the startup program
Alwilso Alwilso 17 Sep 2021 22:46

Is there an option for Ti-84 Plus Ce? I tried it and it says, "ERROR: SYNTAX"

by Alwilso Alwilso , 17 Sep 2021 22:46
Boba Foxx (guest) 09 Jan 2013 01:57

I know I did a password thingy a while back with calcutil, where it used an onblocker to make it nearly impossible to bypass unless you double-pressed on to turn it on.
tl;dr Calcutil has a run on boot thing but I don't remember how.

by Boba Foxx (guest), 09 Jan 2013 01:57
Roguebantha Roguebantha 09 Jan 2013 03:18

Yeah, I'm thinking there must be an opcode for it. Even a non opcode would work, since I can always just have the program auto generate it. I know that it writes whatever it is to RAM, but nothing else.


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 09 Jan 2013 03:18
Silver Phantom Silver Phantom 09 Jan 2013 03:21

just out of curiosity, why dont you want to use the TI startup app


The Silver Phantom welcomes you

by Silver Phantom Silver Phantom , 09 Jan 2013 03:21
Roguebantha Roguebantha 09 Jan 2013 03:28

Oh! Well I'm doing this for my Linux OS and I want it to be able to this by itself for two reasons:
One, it will do it quietly and therefore look more professional and install more like an OS than just an emu
Two, I cannot guarantee that the user will have the startup app, especially those users who have 83's. Doing it from the program looks so much cooler than asking the user if they'd please download the startup app and set Linux as the startup program XD

I'm actually in the process of creating a BIOS for the system, so that when you boot it up, you have different options to choose from :)


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 09 Jan 2013 03:28
Silver Phantom Silver Phantom 09 Jan 2013 03:31

ah, i see, well i'll try my best to see if there are other communities who have discussed this, but i cant help, i dont do asm


The Silver Phantom welcomes you

by Silver Phantom Silver Phantom , 09 Jan 2013 03:31
Re: Opcode to set a program as the startup program
Xeda Elnara Xeda Elnara 09 Jan 2013 08:08

This is my first OFFSCRPT, so I am glad it is mostly working >.>

EFD74AFE04C0
EB4E234623
C5E5212C00
09E521CC9D
E7EFF1423803EFC64F
E1EF6A4E
1313
21D59D
012A00EDB0
E1C1
EDB0AF12
FDCB33CE
C9
154F46465343525054
2109807C
EF7B4FC9
83
FDCB09A6
EFD348
EF7E4F
212B80
E7EFF142D8
FDCB08CE
EF9B4A
FDCB088E
AF473CC9

That is a bit long, but it works (unless I made a typo). Just put the name of the program in Ans (put an E before it, actually) and run the program. Now turn your calc off, then back on.

Z80 Assembly>English>TI-BASIC>Python>French>C>0

Last edited on 31 May 2013 17:21 by Xeda Elnara
by Xeda Elnara Xeda Elnara , 09 Jan 2013 08:08
Re: Opcode to set a program as the startup program
Roguebantha Roguebantha 09 Jan 2013 15:04

It looks like it works, but I ended up accidentally crashing my calc twice ><
I did it, it created an offscrpt, I turned off and on, and the program ran, but on the BIOS screen, appeared for just a second, then immediately went to the actual program. I peered into the OFFSCRPT and found that the last five chars were U.more, which is one of my linux programs. When I did dim(21,"U.more, the calculator crashed. I also crashed it again, when I created an offscrpt using startup, then displayed it, then clicked on its entry. That was a really weird crash actually.


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 09 Jan 2013 15:04
Re: Opcode to set a program as the startup program
Xeda Elnara Xeda Elnara 09 Jan 2013 15:47

Try to run a regular BASIC program and see if you can run the appvar from that (using BatLib or whatever).


Z80 Assembly>English>TI-BASIC>Python>French>C>0

by Xeda Elnara Xeda Elnara , 09 Jan 2013 15:47
Re: Opcode to set a program as the startup program
Roguebantha Roguebantha 09 Jan 2013 20:20

Okay, I'm gonna have to retype in the program again XD Oh well lol


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 09 Jan 2013 20:20
Re: Opcode to set a program as the startup program
(account deleted) 09 Jan 2013 21:33

Another reason that I do not want to use Start-Up is that for some reason, it does not work for Scope… I just get some random symbols when I turn it on instead. :/


Coffee + Radiohead = ^^

by (account deleted), 09 Jan 2013 21:33
Re: Opcode to set a program as the startup program
Roguebantha Roguebantha 10 Jan 2013 01:02

O_O Is Scope in Pure TI-BASIC right now?

What OS/calc do you have?
I've never had that problem, even using an asm library like BatLib.


3wvkXbDeJCAreYKoJYS5ZR
by Roguebantha Roguebantha , 10 Jan 2013 01:02
Re: Opcode to set a program as the startup program
(account deleted) 10 Jan 2013 01:14

Yes, it still is.


Coffee + Radiohead = ^^

by (account deleted), 10 Jan 2013 01:14
Re: Opcode to set a program as the startup program
(account deleted) 10 Jan 2013 01:15

I have 2.30 installed on my TI-84 Plus SE.


Coffee + Radiohead = ^^

by (account deleted), 10 Jan 2013 01:15
Re: Opcode to set a program as the startup program
Roguebantha Roguebantha 10 Jan 2013 18:35

That's odd…try updating to 2.55

Also, I was able to make it work by using the startup app to generate an offscrpt, then copying and pasting the offscrpt into my code (as a list so I don't need to store data in an unstable, tokenized fashion). Then I just have the program generate an offscrpt using that. Works like a charm. :D

EDIT:
No wait, this doesn't really work, the person still needs to have start up installed for this to work…:/


3wvkXbDeJCAreYKoJYS5ZR
Last edited on 10 Jan 2013 20:30 by Roguebantha
by Roguebantha Roguebantha , 10 Jan 2013 18:35
Re: Opcode to set a program as the startup program
(account deleted) 12 Jan 2013 15:11

After the thread "Glitch in TI-84 Plus SE?," I do not intend to update that high.


Coffee + Radiohead = ^^

by (account deleted), 12 Jan 2013 15:11
Re: Opcode to set a program as the startup program
(account deleted) 12 Jan 2013 15:14

I also found another weird bug: I left the Start Up code on for a while with Scope and then, my calc went nut's. Whenever I entered something like a program name, it would start flashing black squares (like the symbols that sometimes appear for a moment when you exit the BatLib app) and would not do anything. I had to reset the RAM to get it to go away.


Coffee + Radiohead = ^^

by (account deleted), 12 Jan 2013 15:14
/forum/t-613598/opcode-to-set-a-program-as-the-startup-program#post-
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /