Calculator Community > ASM

Stable offscript for TI-83+

(1/4) > >>

Cholsrea:
Probably will be done in assembly but even if i just changed 1 variable to a set thing id be happy

I found one online (assembly, i wanna avoid the official app is so big) but my calc keeps crashing and it REALLY gets funky when i look at the program that i have booting on startup and almost always crashes
(All crashes lead to ram clear when starting up)

So im assuming all the breaking is from that program.
The official startup app has an offscript and a bootscript as appvars but i cant find any way to actually read those, because if those do what im looking for in a stable way that would be great because i wouldn't need to have the whole program while still having a stable bootscript, or even better have 2 programs load on startup instead of 1

Im pretty new to all this and man is it hard to find info on this stuff. So explaining any solutions you have a bit would be super helpful (mainly assembly, i have no idea about z80asm or any asm for that matter)

Im on a TI-83+ btw


For anyone who did click on this i have a second idea

Possibly make a program that is hidden in the prgm menu? That way the user cannot run it manually only an external thing can?

Edit (Eeems): Merged double post

E37:
@Cholsrea I'm not sure what you are trying to do. Are you trying to run a program on startup? zStart is a really awesome tool that lets you run programs on startup (among other things). The download has two different apps, one for the 84 and one for the 83 so make sure you install the right one. If that isn't what you are looking for, a lot more details would be helpful.

Cholsrea:
well yes running a program on startup would be nice i dont even need that much

But Zstart again has the issue of the main one of having way to many extra features i dont need that takes up alot of space (for gui, other start up stuff, and general interface changes that i don't need) along with issues with crashing

So like do you know of any more specific apps that can run programs on startup, or an assembly code that can change a variable on startup or run a program

E37:
I believe zStart is only one app page. Since app sizes must be a multiple of 16384, it can't be any smaller. (If it is two pages, ignore that) I have used it extensively on the 84+ and not had any issues. What part is crashing?

I get that you are on a 83+ and flash space is tight but you pretty much have to use an App (and pay the full 16k for it) or do it the hard way in asm. Here is the WikiTi page that covers Onscript/Offscript. Note that the code for them is limited to 255 bytes and needs to have its origin at appData+1. That means you can't use Axe since it doesn't let you change the origin from 0x9D95. (Very basic Axe programs would work as long as the compiler doesn't use any position dependent instructions) You will also need to restore the appvar every RAM clear (which zStart does by modifying the OS itself).

There are other features in the OS. If you tell me what your goal is, I may be able to suggest some other feature to do what you are trying to do.

Cholsrea:
Actually Offscript would work just as well

Whenever i looked up stuff on offscript in the past nothing showed up. I just need to know the asm code and how to use it properly. If you know how to do that, or just how to decompile, modify, and/or use AppVars within TI-basic (if possible)

My calculator i set up with a user system for dms, message board and whatever other functions i decide later. But i limit people to one dm and one message board message per login (people dumb they'd think it actually is per day bc why would they log out and back in and assume it works) and i have everything locked when you aren't logged in.

The only way to log out is changing Str0 to "-" which again, how would they know, its hidden plus they dont know TI-basic. So if you log in you cant log in again bc Str0 stores your username already decoded for use in any program quicker than re-decoding it

If i can use Offscript to change Str0 to "-" on power off that would work just the same as changing it to that on startup


Thanks for your help btw!

Navigation

[0] Message Index

[#] Next page

Go to full version