Author Topic: 8X+ > questions about archive structure  (Read 9267 times)

0 Members and 2 Guests are viewing this topic.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: 8X+ > questions about archive structure
« Reply #15 on: July 05, 2014, 08:47:16 am »
Alright, since i didn't find much doc about that, here is the thing :

Normally, apps are automatically defragmented by the TI-OS when deleted.
However, that's not the case when they are deleted by a user program or app using _deleteapp (it just marks the app as deleted, $00 at 1st byte of 1st page).
Now, let's say i want to code a routine that will defragment the apps area.
In the case i have to erase page $68 or $69 (or both), i will of course have to erase the whole sector.
The thing is, that will include pages $6A & $6B (described as "certificate list" in the SDK).
Anybody knows what kind of data those pages are supposed to hold ?
Of course, i intend to restore them after the erase procedure, but is erasing them a problem ?

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: 8X+ > questions about archive structure
« Reply #16 on: July 05, 2014, 09:01:42 pm »
The thing is, that will include pages $6A & $6B (described as "certificate list" in the SDK).
Anybody knows what kind of data those pages are supposed to hold ?
Nobody knows. The only thing BrandonW knows about it is that the OS will preserve any data in there when defragmenting apps. Since the OS does it, you should do it too---after all, something like zStart might decide to put something there.

Deleting it probably won't cause any problems, except for things that do weird hacks.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: 8X+ > questions about archive structure
« Reply #17 on: July 06, 2014, 04:55:31 am »
Ok...
I had to ask, since wabbit says those 2 pages are empty...
I just hope it is not supposed to include such infos as app locations, cause that would mean i'd have to update that stuff, and i'm definitely lazy about that =P