Difference between revisions of "Talk:83Plus:OS:TIOS Alternatives"

From WikiTI
Jump to: navigation, search
(Thoughts on OS viability)
Line 18: Line 18:
  
 
:Since someone told me this might be a bit too technical, I'll rephrase: You can _always_ put TI-OS back on a calculator, no matter what a previous OS or other piece of software may do to the calculator. There is only one real way to break the calculator from software, and that is to overpower the LCD. [[User:AndyJ|Andy Janata]] 20:09, 11 July 2006 (PDT)
 
:Since someone told me this might be a bit too technical, I'll rephrase: You can _always_ put TI-OS back on a calculator, no matter what a previous OS or other piece of software may do to the calculator. There is only one real way to break the calculator from software, and that is to overpower the LCD. [[User:AndyJ|Andy Janata]] 20:09, 11 July 2006 (PDT)
 +
 +
:Also, the z80 itself may not have protections, but the calculator's hardware implements a few.  There are ROM read/write protections, and ROM and RAM execution protections. These can be used to your advantage when writing an OS. It's certainly true that you can crash the calculator from any program, but you could do that from early PCs too, and that didn't stop people from writing operating systems. As for "fubaring" the calculator, without too much trouble you could design an OS to be more secure than TIOS, and fubarity isn't particularly common in TIOS.  Obviously designing an operating system which implements all modern systems concepts is out of the question, but there's no reason why you couldn't replace TI-OS with a very functional alternative operating system. --[[User:Dan Englender|Dan Englender]] 20:13, 11 July 2006 (PDT)

Revision as of 19:13, 11 July 2006

Nostalgy

Well, I was on the team for that, and as far as I knew it died. I've not touched my parts of the code for about two years now. I'd be willing to take it back up if it's going to go anywhere, but... I just haven't touched it in so long I'd probably want to start over, especially since I've learned some things since I started working on it. Andy Janata 10:31, 27 March 2006 (PST)

Vera = exokernel?

In regards to Vera: this architecture is very similar to that of an exokernel operating system. Having briefly read up on Vera, it doesn't seem to me to be an exokernel. Even in its current form the operating system seems to do more than securely export hardware resources. However, I'm not intimately familiar with the project, so I'm leaving some time for someone to correct me before I change the text. --Dan Englender 12:25, 27 March 2006 (PST)

Vera seems to have died in her cradle... Anyway, the idea is to provide a filesystem (possibly integrated with memory management), a plugin system that would enable user code to extend the assembly interface, user program execution (naturally) and maybe a common link protocol and a customisable ISR at $0038. Everything above that, including the UI and maths capabilities is not an integral part of the system. CoBB 13:09, 27 March 2006 (PST)
Yeah, but providing a file system and memory management is beyond exokernel. Plus it doesn't seem to grant access to and revoke hardware resources. I would say it's more microkernelish than exokernelish, although probably provides more OS support than even a microkernel. --Dan Englender 13:29, 27 March 2006 (PST)
I based my text there on the comment left on the Vera wiki discussion page about their supposed "Core Design Principle". I'm not sure the traditional OS categories work very well for TI-83+ calculators in the first place. I have no particular attachment to that categorization, at any rate, so remove or alter it if you think it's inaccurate. --Premchai21 19:12, 27 March 2006 (PST)

Thoughts on OS viability

Well, I've been thinking myself about creating an OS for the calc. I've been discussing it with friends who are more "in the know" than I as well. In this time, I have come to realize the limitations of the z80 processor. It is now my firm belief that replacing the TI-OS simply isn't viable or worth it.

The z80 processor does NOT have a protected mode. *ANY* piece of software running on it has direct control over the hardware. There is absolutely NO workaround for this. A malicious piece of software, or just a severely glitchy piece of software, could completely fubar the calc and there isn't a damn thing you can do about it. Toksyuryel 12:53, 10 July 2006 (PDT)

Actually, the worst-case scenario is you are left with a calculator with no OS on it, but the boot page will still always be there and you'll be able to load an OS back on it. It would be very hard to permanently damage the calculator from software (blue lines excluded); you can always pre-empt the installed OS with the boot code when you insert a battery while holding DEL. Andy Janata 14:45, 11 July 2006 (PDT)
Since someone told me this might be a bit too technical, I'll rephrase: You can _always_ put TI-OS back on a calculator, no matter what a previous OS or other piece of software may do to the calculator. There is only one real way to break the calculator from software, and that is to overpower the LCD. Andy Janata 20:09, 11 July 2006 (PDT)
Also, the z80 itself may not have protections, but the calculator's hardware implements a few. There are ROM read/write protections, and ROM and RAM execution protections. These can be used to your advantage when writing an OS. It's certainly true that you can crash the calculator from any program, but you could do that from early PCs too, and that didn't stop people from writing operating systems. As for "fubaring" the calculator, without too much trouble you could design an OS to be more secure than TIOS, and fubarity isn't particularly common in TIOS. Obviously designing an operating system which implements all modern systems concepts is out of the question, but there's no reason why you couldn't replace TI-OS with a very functional alternative operating system. --Dan Englender 20:13, 11 July 2006 (PDT)