Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: ACagliano on June 29, 2010, 01:02:09 am

Title: Calc System Restore- Is it Possible?
Post by: ACagliano on June 29, 2010, 01:02:09 am
I have posted this both here and on cemetech.


Would it be possible to have a patch made for a TI-84+ SE or any type of graphing calc so that you create a System Restore point, just like on Windows. And that this "restore point" should encompass the OS itself, archive, RAM (optional), and the certificate. And, if anything should happen that would make your calc's OS go down or even the certificate be damaged, the calc intercepts the corresponding error message and gives you the option of entering System Restore, and undoing whatever caused the problem.
Title: Re: Calc System Restore- Is it Possible?
Post by: JonimusPrime on June 29, 2010, 01:12:08 am
See omnicalcs Ram Recovery, though if you have an 84+ that is missing the extra ram you are out of luck, for that option. There is also the Archive Undeleter which can be found on ticalc.org if you search for it.
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on June 29, 2010, 04:48:31 am
I gave my two cents on cemetech ;) System restore points will really be hard/not efficient in calcs...
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on June 29, 2010, 06:25:29 am
You'd need a lot of memory (hopefully in flash) to store all of that. On the other hand, you can store the following without much empty space:

1. All of RAM (assuming you have one of those old SE calcs with the extra RAM pages)
2. Certificate (since it's not that big (I think; does someone know exactly how large it is?))
3. Any Archive you accidentally deleted (not cleared) since your last Garbage Collect (before that, it's gone :()

On the other hand, if you really corrupted your calc, the restore point itself would likely be ruined, so there'd be no point in trying. (Unless, of course, you somehow stored that in a separate driver or something, unaffected by crashes -- don't know how you'd do that, though.)

Anyway, why not just use the built-in computer backup function? I realize it'd be tedious to do a lot of backups, but complete crashes don't happen that often, either...
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on June 29, 2010, 07:10:21 am
Certificate is 16KB, like an app.
Title: Re: Calc System Restore- Is it Possible?
Post by: Raylin on June 29, 2010, 08:32:22 am
If you wanted to calc restore, would you lack the space for it because it encompasses so much? (RAM, OS, Archive)
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on June 29, 2010, 10:41:45 am
I'm pretty sure the OS is way too big to backup (I think it's 540 KB for just the 83 Plus :(), RAM could potentially be stored in either the extra RAM pages (if you have those :(), and archive is just too big to duplicate (unless you had almost nothing there :().

Besides, where would you store it?

EDIT: BRILLIANT IDEA: USB8X, maybe?
Title: Re: Calc System Restore- Is it Possible?
Post by: Raylin on June 29, 2010, 11:15:05 am
^++
This.
Title: Re: Calc System Restore- Is it Possible?
Post by: DJ Omnimaga on June 29, 2010, 11:17:30 am
Restoring to USB8x would be nice
Title: Re: Calc System Restore- Is it Possible?
Post by: ztrumpet on July 01, 2010, 10:33:44 am
That's a neat idea, only how would you get the data off the flash drive and onto the calc if the calc is "destroyed"? :)
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 01, 2010, 09:17:40 pm
Is there some way to make the calculator boot off a thumb drive? Or maybe some new 3rd-party OS could add that functionality. (If I'm wrong, please correct me! (Sorry for stealing your line, ztrumpet, but there's a really good chance I'm wrong since I have absolutely no idea what I'm talking about.))
Title: Re: Calc System Restore- Is it Possible?
Post by: DJ Omnimaga on July 01, 2010, 09:41:01 pm
that would rule ^^
Title: Re: Calc System Restore- Is it Possible?
Post by: ztrumpet on July 01, 2010, 10:24:08 pm
Is there some way to make the calculator boot off a thumb drive? Or maybe some new 3rd-party OS could add that functionality.
It's possible.  I'm pretty sure you could hook into the OS just right to make it boot off a flash drive.  However, I'm pretty sure it would be incredibly complex but it would be awesome. ;D

(If I'm wrong, please correct me! (Sorry for stealing your line, ztrumpet, but there's a really good chance I'm wrong since I have absolutely no idea what I'm talking about.))
lol, that's pretty much why I leave that line there.  I do things like this too... ;D
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 01, 2010, 10:36:13 pm
/me asks SirCmpwn if this could be added as a potential KOS feature request?
Title: Re: Calc System Restore- Is it Possible?
Post by: ztrumpet on July 01, 2010, 10:36:50 pm
/me asks SirCmpwn if this could be a potential KOS feature request?
* ZTrumpet seconds this awesome request. ;D
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 01, 2010, 10:43:45 pm
* Deep Thought likes ZTrumpet's awesome /me color
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on July 02, 2010, 06:50:19 am
... and then Mapar busted the bubble.

Sadly, the boot code (as the name says, this piece of code is responsible for booting up the machine) will never let you boot over USB. You can't modify the boot code, it's written on normal ROM, not EEPROM.

The reverse is possible: you can make a PC boot off a calculator, in theory :D
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 02, 2010, 07:43:08 am
Aww, why'd you do that? :(

Okay, fine. Another idea:

I've heard that BrandonW's OS2 supports dual-booting. Maybe try making the restore point part of the TI-OS, then use OS2 as the main OS?

Once again, I have no idea what I'm talking about :)
Title: Re: Calc System Restore- Is it Possible?
Post by: TC01 on July 02, 2010, 11:20:44 am
Could you write an OS for the calculator that would do nothing other than call other programs (programs that would "act" as the OS) on the flash drive?

Or is that impossible?
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on July 02, 2010, 11:26:35 am
Yes. It is possible, at least in theory. It would be hard to code, and it is certainly beyond me at this point. Also, I think multiple practical issues will show up over time.
Title: Re: Calc System Restore- Is it Possible?
Post by: DJ Omnimaga on July 02, 2010, 05:07:34 pm
The issue is that such OS would have limited audience. Not everyone is allowed by his parents to buy online and not everyone lives near a Radio Shack store to buy adapters. Such OS would require to support both non-USB and USB mode for people who don't want to use a jumpdrive.
Title: Re: Calc System Restore- Is it Possible?
Post by: ztrumpet on July 02, 2010, 05:20:51 pm
not everyone lives near a Radio Shack store to buy adapters.
Actually I went to my local Radio Shack and they didn't even have the adapter. :P

Thanks for clarifying Mapar! ;D
Title: Re: Calc System Restore- Is it Possible?
Post by: DJ Omnimaga on July 02, 2010, 05:34:00 pm
That sucks x.x

Where I live, there are no longer any Radio Shack stores. They were all bought by Circuit City in 2005 and renamed to The Source by Circuit City and then became independent from the American branch. It's pretty much the same, but some adapters are ridiculously expensive x.x
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 03, 2010, 09:34:38 am
Circuit City's still around over there? o.O I thought it went out of business.
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on July 03, 2010, 10:23:44 am
I bought one of those USB adapters online via Het Computerwinkeltje. Belgium rules :P
Title: Re: Calc System Restore- Is it Possible?
Post by: ztrumpet on July 03, 2010, 10:25:55 am
I bought this ( https://serialio.com//store/product_info.php?products_id=456&osCsid=7386c8b72d3d3738d41885be5c210cd5 ) one.  It just arrived and seems to fit both my calc and my flash drive. :D
Title: Re: Calc System Restore- Is it Possible?
Post by: mapar007 on July 03, 2010, 10:26:27 am
Identical to what I got.
Title: Re: Calc System Restore- Is it Possible?
Post by: matthias1992 on July 03, 2010, 10:50:40 am
I don't think backing up the OS is NOT

a) useful
b) possible

You could backup all the system flags and entry points and you could possibly make a "snapshot" of the machine's state (as the restore point). Compression techniques will be have to put to their limits to get all the information sqeeuzed in and then yet there is the question hw useful it is. Saving the current state of the machine as I mentioned earlier seems more useful.
 
You would store all the current programs, apps, appvars, user vars, system flags etc. And you'd backup all the registers. That should/might fit into Flash and it would be enough to recover from a RAM clearance (but then again groups will do that as well).
Title: Re: Calc System Restore- Is it Possible?
Post by: DJ Omnimaga on July 03, 2010, 03:21:53 pm
Circuit City's still around over there? o.O I thought it went out of business.
Well, not Circuit City stores by themselves. There were never any in Canada I think. The Source By Circuit City stores were owned by them, though, and when Circuit City went under, this Canadian branch stayed alive (altough they had lots of 80% sales for a while). Now some stores were just renamed to "The Source", while some still has "The Source By Circuit City" banner

http://www.google.com/images?client=opera&rls=en&q=the%20source%20by%20circuit%20city&oe=utf-8&um=1&ie=UTF-8&source=og&sa=N&hl=en&tab=wi
Title: Re: Calc System Restore- Is it Possible?
Post by: Deep Toaster on July 04, 2010, 05:10:23 am
I don't think backing up the OS is NOT

a) useful
b) possible

Yeah, good point. Instead of creating some sort of "restore point" that would be pretty easy to corrupt anyway, it'd be a lot easier just to transfer backups to/from computers/other calculators.