How-To: Use PowerRUN To Store AvantGo Files on Expansion Cards
One of the mostly widely used Palm applications is AvantGo, which stores content from the Internet onto user's handhelds. Depending on how many channels are subscribed to, this can take up a large amount of RAM and AvantGo has not yet been re-written to allow it to store its data files on an expansion card.
However, PowerRUN has an undocumented feature that allows AvantGo's databases to be stored on external cards.
Use PowerRUN To Store AvantGo Files on Expansion Cards
By Jay
I've been playing around with PowerRUN v1.1b2, Filez v3.0, and McFile v2.0b1 with AvantGo v4.0. I emailed Mr. Tatsushi (creator of PowerRUN) regarding the comparison of his product to WorkBench and I found that his product utilizes a 'smart compare' feature that is very powerful. He has also developed an undocumented feature that makes his product stand out over others that I have used. (BTW, I'm a registered user of both WorkBench v1.2 and PowerRUN v1.1b2) With his help, I have found a way to save over 1MB of internal memory of my Palm.
Avantgo has several 1k files (channels) and two larger files named 'AvantGo.prc' and 'AvGoDocsMQ.prc'. On my Palm m505, these files are 307k and 807k respectively. If a user subscribes to more or fewer channels, these two file sizes will grow or shrink. By following the instructions I got from Mr. Tatsushi, these two big files can be run from the SD or MMC card.
Here's how it works. Upon HotSyncing, the two big files get recreated with newer data and get temporarily stored into the Palm's internal RAM. The reason I say 'temporarily' is because upon launching the AvantGo application (utilizing PowerRUN's shortcut to the SD or MMC card), PowerRUN will automatically see that the internal RAM's files are newer so it will use these two newer files instead. Then, upon exiting AvantGo, PowerRUN will AUTOMATICALLY move these two newer files to the SD or MMC card and overwrite the older files.
All the 1k files (channels) stay in the Palm's internal RAM, but they are small and a user is limited to the amount of channels that he/she may subscribe to, anyway. It's the two LARGE files that can be over 1MB that the user should be concerned about.
Please be aware that Mr. Tatsushi made it clear to me that this is an undocumented and unsupported feature of his application. I have been using and trying it out for over a month now without any crashes, malfunctions, or abnormalities. Mr. Tatsushi was nice enough to allow me to publish this feature as long as it was clear to everyone that it is unsupported by him and that this feature may or may not be incorporated into future revisions of PowerRUN.
Well., now to the good stuff. Following is two different methods to achieve the same result:
Method #1:
- Move AvantGo BACK into internal RAM with PowerRUN. (if it was previously moved to SD or MMC card)
- Use McFile or Filez to create an 'AvantGo' directory under /palm/programs/powerrun/
- Use McFile or Filez to move AvantGo.prc and AvGoDocsMQ.prc to /palm/programs/powerrun/AvantGo.
- Use McFile or Filez to create a 'DONTSAVE' sub-directory under /palm/programs/powerrun/AvantGo. Should now be: (/palm/programs/powerrun/AvantGo/DONTSAVE/ )
- Execute "Update Shortcut" from PowerRUN's menu.
- HotSync then launch AvantGo.
- Move AvantGo to Card by PowerRUN.
- Use McFile or Filez and move 1kbyte files to Palm's internal RAM.
- Use McFile or Filez and create 'DONTSAVE' sub-directory under the AvantGo directory. Should now be: ( /palm/programs/powerrun/AvantGo/DONTSAVE/ )
- Now HotSync then launch AvantGo.
Related Files:
Article Comments
(45 comments)
The following comments are owned by whoever posted them. PalmInfocenter is not responsible for them in any way.
Please Login or register here to add your comments.
Comments Closed
This article is no longer accepting new comments.
RE: YAWN
RE: YAWN
I found this to be a very useful post.
RE: YAWN
Your Point?
RE: YAWN
http://www.benc.hr/
offers a lot more, is free and superior to the now outdated powerRUN which costs a fee.
RE: YAWN
PowerRun is much more Powerful.
RE: YAWN
Was this feature copied from Workbench?
"I emailed Mr. Tatsushi (creator of PowerRUN) regarding the comparison of his product to WorkBench and I found that his product utilizes a 'smart compare' feature that is very powerful. "
----------------
Jay, I read something very similar to your post with this 'smart compare' feature. Is this hidden McFile feature actually copied from Workbench? I'm posting a link below from Palm Boulevard dated 07/18/2001 explaining the similar Workbench feature.
RE: Was this feature copied from Workbench?
RE: Was this feature copied from Workbench?
RE: Was this feature copied from Workbench?
Jay.
RE: Was this feature copied from Workbench?
Just to clarify. Workbench is still in development and the features in WB will be migrated over to myWorkbench. There might be some overlap and I am considering discontinuing WB. Its still up in the air.
There will be a new version of WB soon.
If Palm had enhanced the Launcher to launch apps from the card and have a better way of managing dbs on the card then we would all be happy ;)
Danny
RE: Was this feature copied from Workbench?
Yes. I agree. I'm sorry that I didn't get to fully try out your WorkBench application. However, REALLY look forward to your new 'MyWorkBench' application. Looks VERY promising and could be the next 'must have' application for any PDA that utilizes an external media card.
Jay.
Thanks!
Martin
RE: Thanks!
Nice but...
PowerRUN not so HOT!!!!!
Maverick_tor
RE: Thanks Jay ... ;)
David Leader, DMD
Malden, Ma.
just say no to AvantGo
RE: just say no to AvantGo
how does this help?
I agree with the poster who said AVGO should be good enough to program the thing to utilize external memory if available.
While I used AVGO extensively with my Palm IIIe, I have not loaded it on my Kyocera 6035 simply because I don't want the long hotsync's. Can someone tell me if the wireless AVGO can be set to NOT fetch content during a hotsync? I'd prefer it to basically do nothing during a hotsync (except if I've added a channel, then I'd like it to add the channel NAME only to my list, but no content) and fetch the content wirelessly when I select a channel.
David in Pflugerville, TX
RE: how does this help?
Jay.
Good Job
that's an excellent tip and good documentation. Of cause it would be better to have sd support for all apps, but they all will offer that in their next release or the will probaply die...
WAB1966
Poor Guy...
The copncept about PowerRun is totally wrong!!
Oh my god.. I don't even believe they let you post this out to speard wrong information !
RE: Poor Guy...
If you really understand how Powerun works, what posted above is totally nonsense.
(I used PowerRun since version 0.3b)
RE: Poor Guy...
A open word to all
Until now the average user had not to stirr in a ancient DOS filing system - he even had not to know there is one around.
He worked with the data and that was it.
The whole approach mingling with the stoneage DOS filing system will hit Palm dearly and bckfire with booster!
The average user (not the techie here around) will not give a damn - and is repelled by the fact that Palm OS 4.0 simply does not even support the weird thing.
It is a misscarriage which will backfire on the market immediately - no matter what tricks you kindly offer at 3rd party (!) in running to palms help, if Power RUN or any other weak tool is enabling to read the cards.
The Palm jetisnoned himself now in stoneage up on the tree - long before the legendaty Newton - no matter what the "techies" here may use as a workaround - the VFS is the biggest mistake since the US election - and the outcome is the same - a stupid is firm on the bridge.
A palm lover
RE: Poor Guy...
RE: Poor Guy...
The way PowerRun works, is to collect all files which have the same creator ID with the app, and put them into specific folder in MS, delete them from RAM, create a 1KB shortcut in RAM.
When the user click on the shortcut icon, it ** LOOKS LIKE ** to user that you are "executing" that program, but actually the action behind is -- PowerRun goes into MS, copy all files under that folder into RAM (including app and data) and execute the **REAL** app file.
After you exit the program, PowerRun moves all files inculding modified data back into MS, free up the RAM space again.
OK here is why I partially agree with the poster of this topic "Poor Guy" that I think Mr. Jay's idea is a bad idea:
Yes if you put 3 of 300KB programs into PowerRun, you free up 1MB space in RAM, u can use it in whatever way you want, you can install other 600KB of programs into RAM, when you run any program of those three, you only need 300KB free space in your RAM for PowerRun to handle it.
If you run AG in the way Jay says, yes it works, I won't say it doesn't work. But in order to D/L 1MB of channels next time(I here assume the totall size of channel is 1MB), you **STILL HAVE TO HAVE ** 1 MB free space available in your RAM when you perform hotsync to D/L AG channels.
The only advantage of Jay's idea is when you exit AG, it will move the channel content into MS and free up 1MB space from RAM.
BUT BUT BUT BUT.....
YOU CAN NOT PLAY WITH THIS SPACE, even you use only 100K of it, the next time you hotsync AG IS GOING TO TELLING YOU NO ENOUGH SPACE AVAILABLE because it only sees 900KB free space and it need to put files with 1MB into it.
So where is the point by doing what Jay says? Why bother to do this? OK here is the conclution:
=====================================
By doing that, I free up 1MB space from RAM when I exit AvantGo, but in order to D/L my AvantGo channels succefully at the next time I hotsync, I have to keep this 1MB space free ALL THE TIME.
=====================================
I don't see ANY advantage for putting AG in PowerRun in that way.
This is only IMHO, anybody is welcome to correct me if you think I am wrong.
---------------------
achen
achen2002@yahoo.com
RE: Poor Guy...
You want to be able to run AvantGo, but if you do so, you won't be able to run Zap!2016, which takes 560k to run.
So, you install Zap!2016 to the card, using PowerRun. Then, follow the instructions provided in this article to load 850k worth of AvantGo channels. Open AvantGo using PowerRun, then close it.
Now you have ~1MB of "working" RAM free, so you can run either Zap!2016 or AvantGo when you want to. Without this solution, you could not have AvantGo on your Palm and still run the other application.
Here's the point.
What's the difference between Jay's post and running a 100K app using PowerRun when you already have 90K of space remaining in your internal RAM?
RE: Poor Guy...
Jay.
RE: Poor Guy...
Currently on my 16Mb card, I have Ababall, Album ToGo, BigClock, dbscan, Got life, Lunar, Mapopolis, Minidig, Orrery, PacMan, Planet Lander, RockBlaster, SFCave, and Zap!2016. All run just like they were in native RAM, except the largest take a couple of seconds to move and execute. Here is where the difference between SD and MMC show up; The load from SD is about twice as fast.
AvantGo? It's in ROM thanks to JackFlash. Just the 310k PRC file, the rest stays in RAM and I don't have to think about it. As of this writing, I have 16.8Mb of apps, Db's (104 files), but still have 3.2Mb of free RAM on the Palm. I'll have to experiment with PowerRun, as I'd like for the apps on the card to show up elsewhere sometimes.
Will PowerRun Work with Vindigo.
Message me via ICQ and join our nightly game of Soldier of Fortune happening at my IP address.
Speed
No thanks for now - despite being an interesting test of what one can do with these different apps.
Works Great
PowerRun Tip
thanx for the tip
Latest Comments
- I got one -Tuckermaclain
- RE: Don't we have this already? -Tuckermaclain
- RE: Palm brand will return in 2018, with devices built by TCL -richf
- RE: Palm brand will return in 2018, with devices built by TCL -dmitrygr
- Palm phone on HDblog -palmato
- Palm PVG100 -hgoldner
- RE: Like Deja Vu -PacManFoo
- Like Deja Vu -T_W
YAWN