Author Topic: Faster Flash Access for the 83+/84+  (Read 22396 times)

0 Members and 1 Guest are viewing this topic.

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
Faster Flash Access for the 83+/84+
« on: November 10, 2012, 10:06:59 pm »
So I was in an OS-patching mood, and speeding up flash access was an idea I've had for about a year. After you apply this patch, reading data from flash (unarchiving) will take 1/3 as long as it normally would and writing data to flash (archiving) will take 2/3 as long as it normally would. These effects will take place across the entire OS (including basic and assembly programs).

As always, I made a patch for OS's 1.19_BE, 1.19_SE, 2.43, 2.53, and 2.55 (yes, the 83+BE and 83+SE require different patches). I was lazy and didn't include any kind of progress bar, so, you'll just have to wait in fear. I feel bad for the 83+BE users though because they have to wait far longer than what is acceptable.

Before:
After:


As far as I can tell, this mod is stable. I currently have it installed on my calculator and the only thing I've noticed is that stuff basically unarchives instantly. I didn't include an option to unpatch your calculator this time since an unpatch isn't really feasible (one part of the patching involves a find/replace of a certain OS call), but that's ok, because if you are unhappy with this mod, you'll probably need an OS reinstall anyways ;D

Lastly, I'd like to mention that there are a few things this won't speed up. Most notably: Axe when it writes an app, OS modding programs, and receiving OS's. All of these tasks still use the old WriteFlash routine and there's nothing I can do to change that (besides mod the boot code (and I'm not going to)).

Oh, and as far as compatibility is concerned. Both version of the universal flash unlock still work (that was annoying) and this patch fixes the 2.55 fraction glitch (in a different way).

So, install and enjoy your faster calculator.

Edit:
    I cannot forget Runer112 who optimized the new _flashToRam routine and cut off like 20 bytes. So he gets credit too.

Edit2:
   This program takes a long time to run and gives no display of progress, give it a solid 3 minutes before you assume it crashed.
« Last Edit: November 11, 2012, 03:56:55 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 DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Faster Flash Access for the 83+/84+
« Reply #1 on: November 10, 2012, 10:19:12 pm »
I think The Reign of Legends 2 fans will love this... O.O

That seems really cool. I might give it a try at one point. By the way you should really bundle your patches together or in packages (eg those together and your other patches in another package) and put them in Omni download section or add a link to them there. It would give them more visibility.

Does that speed up Garbage Collecting too?

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: Faster Flash Access for the 83+/84+
« Reply #2 on: November 10, 2012, 10:20:38 pm »
I think The Reign of Legends 2 fans will love this... O.O

That seems really cool. I might give it a try at one point. By the way you should really bundle your patches together or in packages (eg those together and your other patches in another package) and put them in Omni download section or add a link to them there. It would give them more visibility.

Does that speed up Garbage Collecting too?

That's going to be a mega .zip file ;D

And yes, Garbage Collection should take around 2/3 the normal amount of time.
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 Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #3 on: November 10, 2012, 10:22:52 pm »
Wow those patches are rolling! ;D
Nice to see yet another one.
Sig wipe!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Faster Flash Access for the 83+/84+
« Reply #4 on: November 10, 2012, 10:27:28 pm »
I think The Reign of Legends 2 fans will love this... O.O

That seems really cool. I might give it a try at one point. By the way you should really bundle your patches together or in packages (eg those together and your other patches in another package) and put them in Omni download section or add a link to them there. It would give them more visibility.

Does that speed up Garbage Collecting too?

That's going to be a mega .zip file ;D

And yes, Garbage Collection should take around 2/3 the normal amount of time.
Actually I would keep the Faster FLash ones in one zip file/separate file and only put the OS patches that fix bugs or compatibility issues together (along with the OS 2.71MP joke)

Also I think this pretty much deserves news. What do others think? (It would be even greater if there were two ROL2 screenshots side by side, one with the patch and the one without it)
« Last Edit: November 10, 2012, 10:28:00 pm by DJ_O »

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #5 on: November 10, 2012, 10:44:47 pm »
Sweetness, downloading this now. Awesome work penguin :D

Edit: Installed, seems to work very well indeed. It's especially nice using it in tandem with edit-from-archive.
« Last Edit: November 10, 2012, 10:53:17 pm by squidgetx »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Faster Flash Access for the 83+/84+
« Reply #6 on: November 10, 2012, 11:27:38 pm »
You might want to specify in red/bold that it will take a long while to load (it took me 1 minute on WabbitEmu), so people don't think their calc crashed and remove a battery :P

Offline TexasInstruments84

  • LV2 Member (Next: 40)
  • **
  • Posts: 24
  • Rating: +0/-0
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #7 on: November 10, 2012, 11:30:07 pm »
Sorry for being a noob, but how do I install it on my calc?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Faster Flash Access for the 83+/84+
« Reply #8 on: November 10, 2012, 11:51:07 pm »
Just send it with Ti-Connect or TiLP then run it with Asm(prgmFSTFLASH

Offline TexasInstruments84

  • LV2 Member (Next: 40)
  • **
  • Posts: 24
  • Rating: +0/-0
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #9 on: November 10, 2012, 11:59:24 pm »
Just send it with Ti-Connect or TiLP then run it with Asm(prgmFSTFLASH

Is the program supposed to be in the RAM? I get "ERR:ARCHIVED"

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #10 on: November 11, 2012, 12:11:13 am »
Ya, it needs to be in RAM.  Without special programs/apps like Doors, you need to run them in RAM.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #11 on: November 11, 2012, 12:19:11 am »
Wow, this is pretty fantastic!  Great work once again! :)

Offline TexasInstruments84

  • LV2 Member (Next: 40)
  • **
  • Posts: 24
  • Rating: +0/-0
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #12 on: November 11, 2012, 12:39:47 am »
After I ran it on my TI-84+ SE (2.55MP), all of the buttons stopped functioning. I turned it on holding clear to clear the RAM, and it worked again. Did I get the wrong file? I downloaded "fstFlash_255.8xp". Or maybe I have to wait a minute after I turn it on?
« Last Edit: November 11, 2012, 12:40:40 am by TexasInstruments84 »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Faster Flash Access for the 83+/84+
« Reply #13 on: November 11, 2012, 02:02:29 am »
After I ran it on my TI-84+ SE (2.55MP), all of the buttons stopped functioning. I turned it on holding clear to clear the RAM, and it worked again. Did I get the wrong file? I downloaded "fstFlash_255.8xp". Or maybe I have to wait a minute after I turn it on?
It depends on the OS version you have on your calc. The fstFlash_255.8xp is for OS 2.55.
But I think that it is normal that all buttons stop functionning during the time the patch installs itself ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Faster Flash Access for the 83+/84+
« Reply #14 on: November 11, 2012, 03:09:37 am »
Yeah, just wait a few minuets!

And this is sounding epic penguin! :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!