Author Topic: help me fix my calculator!  (Read 10087 times)

0 Members and 1 Guest are viewing this topic.

Offline TiAddict

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +0/-0
    • View Profile
help me fix my calculator!
« on: June 30, 2011, 01:01:43 pm »
i was reading the Ti 83+ developer (for learning ASM programming) and i was messing with OP registers, and archieving the program. So i made this program (dont really remember), and i executing using Asm(, and then it was archieving so i was like, "yay it's finally working" and i executed again, and then it said it was archieved, so i check the status, but then it wasn't so i was going to reset the calculator, and then when i tried reset, but suddenly, my calculator's screen went off. so i turned it on, and then it showed me, the messed up picture, and then turned off again by it self. Since i had many many  crash before making asm programs i knew what to do, so i took out all the battery and waited for 10 hours, and tried again. still the same, however, i manage to press clear many times, and then it worked. i was so happy until i saw all my archevied were hidden(maybe, dont know), or deleted.( but the memory didnt change and Apps were still there). and i tried Axe app, and it turned off again. so i dont know how to fix this.
Please help me fix this!
« Last Edit: June 30, 2011, 01:05:03 pm by TiAddict »

Ashbad

  • Guest
Re: help me fix my calculator!
« Reply #1 on: June 30, 2011, 01:04:03 pm »
Can you slow down, use some punctuation, and describe more clearly what happened?  No offense, but I can barely understand what you just said; well, at least I can't understand it enough to help you out.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: help me fix my calculator!
« Reply #2 on: June 30, 2011, 01:06:01 pm »
Yeah, describe it more clearly. Also, there's no need to leave the batteries out for that long. Taking out one battery, pressing [ON], and reinserting it is almost always enough. ;)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline TiAddict

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +0/-0
    • View Profile
Re: help me fix my calculator!
« Reply #3 on: June 30, 2011, 01:11:15 pm »
oh my bad. I was reading the Ti 83+ developer (for learning ASM programming), and learning about OP registers. i was trying to make a program that will archive itself. And i executing using Asm(, then it was archiving, but on the program menu, it wasnt. So i executed again, and then it said it was archived, so i check the status again, but then it wasn't. so i was going to reset the calculator, and then when i tried to reset, suddenly, my calculator's screen went off. so i turned it on, and then it showed me, the messed up picture, and then turned off again by it self. So i took out all the battery, waited for 10 hours, and tried again. It was still the same, however, i manage to press clear many times, and then it said, "memory cleared." i was so happy until i saw all my archived deleted.( but the memory didnt change). and i tried AXE app, and it turned off again, and i turn it on by pressing clear many times, but it kept turning off when i press any app.
Please help me fix this!

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: help me fix my calculator!
« Reply #4 on: June 30, 2011, 01:13:20 pm »
I think your have to delete your Archive and possibly reinstall the OS.
I hope you made backups.  :\
ld a, 0
ld a, a

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: help me fix my calculator!
« Reply #5 on: June 30, 2011, 01:13:45 pm »
The ASM program you were testing corrupted your archive. That much is clear, because that would explain why your calculator won't turn on and stay on, you're holding down the CLEAR button when you press ON, which disables archive parsing. (Normally, the OS parses the archive to find variables after a RAM clear; if there's a corruption somewhere this stage gets aborted and your calculator turns back off because it doesn't know what to do.)

So now you gotta ask yourself: Are there things in the archive you really desperately need?

If not, I recommend holding down CLEAR while pressing ON (turning it on while disabling archive parsing), then going to 2ND + [MEM] > 7:Reset... > ALL > 1:All memory > 2:Reset to clear it all. Then you should be fine.

If you need anything in the archive, there are ways to get it back. If you really need something, don't clear your archive yet and tell us.
« Last Edit: June 30, 2011, 01:14:18 pm by Deep Thought »




Offline TiAddict

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +0/-0
    • View Profile
Re: help me fix my calculator!
« Reply #6 on: June 30, 2011, 01:14:33 pm »
well i was recently working something, and i backed up my latest version, so i'm satisfied :P

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: help me fix my calculator!
« Reply #7 on: June 30, 2011, 01:15:03 pm »
well i was recently working something, and i backed up my latest version, so i'm satisfied :P

So it works?

EDIT: Just shows why people back up <.<
« Last Edit: June 30, 2011, 01:16:01 pm by Deep Thought »




Offline TiAddict

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +0/-0
    • View Profile
Re: help me fix my calculator!
« Reply #8 on: June 30, 2011, 01:17:38 pm »
haha, well didnt tried yet. I actually had a big project that i forgot to backup, but i guess i can stop that, since it was too big. so i think i should try it right now :P

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: help me fix my calculator!
« Reply #9 on: June 30, 2011, 01:18:00 pm »
Would you mind showing us the code?
The code to do this should simply be:
Code: [Select]
.org $9d93
  .db $bb,$6d
  bcall(_Arc_Unarc)
  ret
This works because the name of the original program is put into OP1 when the TI-OS starts the program.
« Last Edit: June 30, 2011, 01:18:37 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline TiAddict

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +0/-0
    • View Profile
Re: help me fix my calculator!
« Reply #10 on: June 30, 2011, 01:19:53 pm »
well i made it on mimas, and the crash deleted everything except apps. Now i'm kinda scared to even mess with ASM...and thanks for the code ;D


And thanks DeepThought! it worked. all i had to do was Clear All memory! :) Thanks!
« Last Edit: June 30, 2011, 01:27:30 pm by TiAddict »

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: help me fix my calculator!
« Reply #11 on: June 30, 2011, 01:50:07 pm »
Would you mind showing us the code?
The code to do this should simply be:
Code: [Select]
.org $9d93
  .db $bb,$6d
  bcall(_Arc_Unarc)
  ret
This works because the name of the original program is put into OP1 when the TI-OS starts the program.

That won't corrupt your archive. Firstly, that would just archive the current program, I don't even think you would get a crash. Second, _arc_unarc is pretty safe.

My guess is that TiAddict was using _archiveVar, _archiveVar will archive whatever you tell it to, even if it doesn't make sense. So lesson learned, don't use _archiveVar unless you absolutely have to, like when making groups. Any time else, you can just use _arc_unarc.
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 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: help me fix my calculator!
« Reply #12 on: June 30, 2011, 01:52:05 pm »
My guess is that TiAddict was using _archiveVar, _archiveVar will archive whatever you tell it to, even if it doesn't make sense. So lesson learned, don't use _archiveVar unless you absolutely have to, like when making groups. Any time else, you can just use _arc_unarc.

Oh, I've had fun times with _archiveVar <_<

I think that's why the developer's guide recommends _Arc_UnArc.
« Last Edit: June 30, 2011, 01:53:06 pm by Deep Thought »




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: help me fix my calculator!
« Reply #13 on: June 30, 2011, 01:53:10 pm »
By "this" I meant "to archive the original program." Sorry :/
Anyway, another advantage to using _arc_unarc is that it's smaller; you don't have to call _chkfindsym yourself.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: help me fix my calculator!
« Reply #14 on: June 30, 2011, 02:01:12 pm »
And it unarchives too, so you can use the same set of routines for both.