Author Topic: 84+/SE Boot Pages Modified  (Read 39352 times)

0 Members and 1 Guest are viewing this topic.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #15 on: June 27, 2011, 01:10:41 pm »
So we can boot Windows Vista now! :D
why would you want to do that. Lets go with Damn Small Linux(smallest current OS I know)
« Last Edit: June 27, 2011, 01:10:56 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

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: 84+/SE Boot Pages Modified
« Reply #16 on: June 27, 2011, 01:35:24 pm »
Well that's nice. Can't wait to see this on the other 83+ calcs. And that would allow for custom boot code?

This won't work on 83+'s because on those, TI most likely locked the boot code the proper way with the flash chip itself. Here is the only reason that it actually works on an 84+: (new paragraph so people can quote me :))

On the 84+, for whatever reason, TI decided not to hardware write protect the boot code sectors. The flash chip supports this feature, but TI didn't do it. So TI just programs the boot sectors and puts the flash chip in the calculator. That was mistake number one, but here comes mistake number two. Next, probably in order to save money, TI decided to make the circuit boards of the 84+ and 84+SE exactly the same, the only difference of course is the flash chip. So, to make sure that the boot sectors can't be overwritten, TI had to come up with a way to block different sectors on the flash chip for each model even though the hardware was exactly the same. Their solution was to make a port on the calculator that protects different flash pages based on its value. And finally, since the boot codes were programmed differently on the flash chips, TI put in code to set this port to different values based on the size of the flash chip. This way, as long as no one touches that port, the calculator will look like the boot code is write protected. However, we discovered what this port was and removed their boot code protection.

After writing this, I feel like this would work on the 83+SE also.

(Now, after all of that, if you know a bit of assembly, I'm sure you can figure out how to do it.)

« Last Edit: June 27, 2011, 01:38:00 pm by thepenguin77 »
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 calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 84+/SE Boot Pages Modified
« Reply #17 on: June 27, 2011, 01:37:39 pm »
(Now, after all of that, if you know a bit of assembly, I'm sure you can figure out how to do it.)
It's not that simple to do -- it is a protected port, after all.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: 84+/SE Boot Pages Modified
« Reply #18 on: June 27, 2011, 01:39:56 pm »
I didn't say you could do it, I just said you know how to do it. :P Or you at least have some ballpark idea.
« Last Edit: June 27, 2011, 01:40:12 pm by thepenguin77 »
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 the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #19 on: June 27, 2011, 02:02:53 pm »
So we can boot Windows Vista now! :D
* Deep Thought runs

You better run fast =]

Anyway, that's amazing news.
Just hope noone will be legally hurt after this discovery...

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #20 on: June 27, 2011, 02:04:20 pm »
So we can boot Windows Vista now! :D
* Deep Thought runs

You better run fast =]

Anyway, that's amazing news.
Just hope noone will be legally hurt after this discovery...

I believe any threats they sent would be totally unfounded, and probably just ignored. It's fully legal to replace code on your own device, as long as you're not replacing it with unlicensed copyrighted code.
Omnimaga Admin

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #21 on: June 27, 2011, 02:20:00 pm »
I believe any threats they sent would be totally unfounded, and probably just ignored. It's fully legal to replace code on your own device, as long as you're not replacing it with unlicensed copyrighted code.

You never know what a company which has just been raped can do =]

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #22 on: June 27, 2011, 02:31:25 pm »
TI has essentially no legal case in this situation. Even if they wanted to go after BrandonW or thePenguin (which I doubt they do), they can't make a case against this. For once, the law is actually in our favor here because this hack allows us to actually remove all copyrighted code from the device. Previously, TI could have made a [tenuous] case against all 3rd party OSes because the boot code was still present.

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #23 on: June 27, 2011, 02:32:28 pm »
TI has essentially no legal case in this situation. Even if they wanted to go after BrandonW or thePenguin (which I doubt they do), they can't make a case against this. For once, the law is actually in our favor here because this hack allows us to actually remove all copyrighted code from the device. Previously, TI could have made a [tenuous] case against all 3rd party OSes because the boot code was still present.


so this code has effectively taken out TI's ability to bring lawsuits against us for 84+/84+SE programs/OS's
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #24 on: June 27, 2011, 02:36:48 pm »
If and only if new OSes also overwrite the boot code. Needless to say, that's not exactly a desirable thing, for reasons previously mentioned by thepenguin77. However, I think the danger of the process could be somewhat mitigated if someone wrote a good alternative boot code and open sourced it.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: 84+/SE Boot Pages Modified
« Reply #25 on: June 27, 2011, 02:37:57 pm »
Call me a n00b, but what's the function of the existing boot code?
Vy'o'us pleorsdti thl'e gjaemue

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: 84+/SE Boot Pages Modified
« Reply #26 on: June 27, 2011, 02:39:33 pm »
Call me a n00b, but what's the function of the existing boot code?
I believe it is the code for loading the OS(guess)
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

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: 84+/SE Boot Pages Modified
« Reply #27 on: June 27, 2011, 02:39:59 pm »
Call me a n00b, but what's the function of the existing boot code?
To boot the calculator. It's run when the calculator turns on for the first time, after a battery change, or after a crash/clear of any sort. I guess it checks if the OS is valid.




Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 84+/SE Boot Pages Modified
« Reply #28 on: June 27, 2011, 02:42:03 pm »
It's also able to receive new OSes over I/O and USB. Kind of important.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: 84+/SE Boot Pages Modified
« Reply #29 on: June 27, 2011, 02:43:50 pm »
Ok, so it's just code that's not part of TIOS, but still interacts with some of the dirtier aspects?
Vy'o'us pleorsdti thl'e gjaemue