Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 138 users online: 1 member, 103 guests and 34 bots. Members: HOMER-16. Bots: VoilaBot (3), Spinn3r (1), Magpie Crawler (3), VoilaBot (6), Googlebot (19), MSN/Bing (1), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
SirCmpwn

Coding Knight

Joined: 06 Feb 2010 Posts: 1477 Location: Colorado Springs
|
Posted: 08 Mar 2011 12:39:30 pm Post subject: Restricting Pages from TIOS |
|
|
Is it possible to stop TIOS from modifying certain flash pages? It was suggested that I mark them as having apps on them. Would that be messed up by defragmentation? _________________ Drew "Sir Cmpwn" DeVault |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55882 Location: Earth, Sol, Milky Way
|
Posted: 08 Mar 2011 01:39:38 pm Post subject: Re: Restricting Pages from TIOS |
|
|
| SirCmpwn wrote: | | Is it possible to stop TIOS from modifying certain flash pages? It was suggested that I mark them as having apps on them. Would that be messed up by defragmentation? | That's a good question. I'm pretty sure that during the defragmentation process, the TI-OS examines the 128-byte (or is it 256?) (no, it's not) header on each page of each app. You could fake your app pages to make it look like one big contiguous app, which would probably prevent the TI-OS from separating them, but probably would NOT prevent it from trying to move it. _________________
 |
|
| Back to top |
|
|
SirCmpwn

Coding Knight

Joined: 06 Feb 2010 Posts: 1477 Location: Colorado Springs
|
Posted: 08 Mar 2011 01:42:31 pm Post subject: |
|
|
Perhaps it is possible to make it look like a single, enormous app. Would it show up in the app menu, and the memory menu? _________________ Drew "Sir Cmpwn" DeVault |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1685 Location: Aufhelperstan, Utopian Republic
|
Posted: 08 Mar 2011 01:44:48 pm Post subject: |
|
|
At the beginning of the sector, you have a status byte... Setting it to 0xFC, 0xF0, 0xFF marks it as valid, but I don't know what the other bytes will cause the OS to do... You may want to poke around here, but just a thought _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55882 Location: Earth, Sol, Milky Way
|
Posted: 08 Mar 2011 02:52:43 pm Post subject: |
|
|
| SirCmpwn wrote: | | Perhaps it is possible to make it look like a single, enormous app. Would it show up in the app menu, and the memory menu? | Which I just said. I'd imagine that it would indeed show up in the app and memory menu. _________________
 |
|
| Back to top |
|
|
_player1537

Guru-in-Training

Joined: 25 Nov 2009 Posts: 2958
|
Posted: 08 Mar 2011 02:54:22 pm Post subject: |
|
|
iirc, someone once said that you can't hide apps the same way you hide programs (first character minus 40h). So I don't think there is a way to hide them :/ _________________ http://tanner.myserverathome.com
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55882 Location: Earth, Sol, Milky Way
|
Posted: 08 Mar 2011 02:56:41 pm Post subject: |
|
|
| _player1537 wrote: | | iirc, someone once said that you can't hide apps the same way you hide programs (first character minus 40h). So I don't think there is a way to hide them :/ | Correct, you cannot do so. Remember that whole topic about increasingly awkward ways to hide Apps?  _________________
 |
|
| Back to top |
|
|
DrDnar
Member

Joined: 05 Jan 2010 Posts: 112
|
Posted: 09 Mar 2011 04:29:46 pm Post subject: |
|
|
Sector headers only apply to the archive. The first byte of a sector has no special meaning for applications, and applications can cross sector boundaries. Applications and the archive cannot share a sector.
You can mark multiple sectors as being swap sectors. It's possible that if you do that, TIOS will only use the first sector marked as a swap sector, and ignore the rest, showing their space as being absent, and not erasing them during garbage collection. |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55882 Location: Earth, Sol, Milky Way
|
Posted: 09 Mar 2011 07:50:19 pm Post subject: |
|
|
It's possible but not definite? SirCmpwn, sounds like you just need to do some experimentation based on your educated guesses. . _________________
 |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1685 Location: Aufhelperstan, Utopian Republic
|
Posted: 28 Mar 2012 11:43:40 am Post subject: |
|
|
(Epic bump). From my notes about dual booting OSes, are there any parts of TIOS that do not base the model off of port 0x21? If I can modify that port and fake TIOS into thinking that the calc's flash chip is smaller, I could shove in some code to get 2 OSes working.
I don't know if there are other ways used by TIOS in getting flash sizes, so... _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
Tari

Systems Integrator

Joined: 03 Jul 2006 Posts: 2121 Location: Always-winter, Michigan
|
Posted: 28 Mar 2012 11:50:41 am Post subject: |
|
|
Still won't work without weird hacks. You might clone the certificate and boot code to a lower page, but then very bad things will happen when it goes to erase one of the certificate sectors, as those are unique in that they're half the size of the other flash pages. _________________
Ask questions the smart way · タリ |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1685 Location: Aufhelperstan, Utopian Republic
|
Posted: 28 Mar 2012 11:52:08 am Post subject: |
|
|
When would t clear those pages? Only on OS transfer?or... _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
Tari

Systems Integrator

Joined: 03 Jul 2006 Posts: 2121 Location: Always-winter, Michigan
|
Posted: 28 Mar 2012 12:01:05 pm Post subject: |
|
|
IIRC, there are all sorts of poorly-justified reasons for it to muck about with the certificate. I want to say it even goes erasing and rewriting the certificate sectors when validating a freshly-received app, but not sure about that. _________________
Ask questions the smart way · タリ |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1685 Location: Aufhelperstan, Utopian Republic
|
Posted: 28 Mar 2012 12:03:59 pm Post subject: |
|
|
What exactly does it do to the certificate? If it tries to read/write on it, would it be possible to intercept writes/erases to the page? I am sure that whatever call is used can be modified to check the target pages first  _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.033201 seconds.
|