|
Post by _Em on May 9, 2007 23:50:06 GMT 1
Henk, bist du der Mann!
|
|
|
Post by metaview on May 11, 2007 11:44:49 GMT 1
I don't lose memory when I switch between emulation modules in the launcher. Don't know and there might be one when actually starting a game. But quitting LJP should recover it.
Multiple keypresses with IR-keyboard: Works here, tested with NES.
|
|
|
Post by needhelp on May 11, 2007 14:14:30 GMT 1
Hey metaview, Just wondering, have you had a chance to find out what's the difference between the SNES in RC2 and RC3, because that could be the reason that more memory is needed to use it. Thanks
|
|
|
Post by _Em on May 11, 2007 17:26:40 GMT 1
Well, the main change that was made was in the per-game settings code. I wonder if there's a bug in that?
|
|
|
Post by needhelp on May 11, 2007 20:02:04 GMT 1
That could be the problem, because I could play SNES on RC2 just fine (still a couple of error messages, but I could get passed though), while, on RC3, the SNES would just crash everytime. I really hope that's the problem and that metaview is able to fix it.
|
|
|
Post by vilmos on May 11, 2007 20:07:42 GMT 1
Can you not free any more memory? UDMH and a few hundred kilobytes of memory should solve your problem.
|
|
|
Post by metaview on May 11, 2007 20:31:14 GMT 1
As far as see it SNES takes 8MB storage for the ROM file.
|
|
|
Post by vilmos on May 11, 2007 21:03:04 GMT 1
The E2 is probably low on space like the other NVFS devices. Even if there is enough memory it may be fragmented. I think NVFS was the worst mistake so far for PalmOS...
|
|
|
Post by angel on May 11, 2007 21:30:18 GMT 1
Back home, I tested the IR keyboard on metal slug missions 1 & 2 and most SNES game i have.
One word : wow (no its not vista, its ljp made in metaview).
It works great with nearly no lag (its great to bash the boss in secret of mana).
Thanks for all the work henk !
|
|
|
Post by needhelp on May 11, 2007 22:34:58 GMT 1
The thing is that my palm has a total of 10804KB of free storage and a total of 6144KB of dynamic heap. I don't know what else to do. I am considering just hard reseting my palm and see if that makes a difference. It's been more than 7 month, since, I last hard reset it and that's the only way to fix fragmented memory. Also, I am using UDMH and unCache, and it doesn't seem that those are helping in SNES. One thing though is, if I was to hard reset and reinstall UDMH and UnCache, will I have to reget the registration codes to activate them again or are they the same as the ones I had before? The reason I ask is because I read somewhere that you have to talk to Dmitry to get another registration code, because every time you install UDMH, you get a different starting number. I agree with vilmos about the NVFS idea and that's its a bad move. I mean if your palm has ~30% of battery life left, you're more likely to stop using it and charge it. At least, that's what I do. The only downside is if you replace your battery, you could lose everything if you're NOT quick to do it. One other thing is how do you remove files that are in ROM? Do you just use a utility such as FileZ and then change their attributes(what attributes to uncheck though???) and then remove? Thanks for the ideas though
|
|
|
Post by metaview on May 11, 2007 23:47:27 GMT 1
A softreset already de-fragments the memory. But an hardreset (with a backup before) could at least thelp to see if it is a device problem. What are the free numbers displayed in LJP? Especially the largest free block (the smaller number). UDMH registration code isn't affected from an hardreset.
|
|
|
Post by needhelp on May 12, 2007 1:17:34 GMT 1
After a soft reset: RAM: 14212/10804KB DB: 7570/7563KB I know that the DB is 7563KB which is less than the 8000 that SNES requires, but with UDMH, I should have enough, since, I have 10.8 mb of storage which all gets converted into memory needed for LJP. Just wondering what are the numbers "14212" and "7570", since, you wanted to know the smaller numbers? Are they supposed to be some max number? For the hard reset, I was thinking of just adding the programs back on, no backup used, just reinstall everything and reconfigure. Thanks for the help EDIT: I did a hard reset and I only installed things that I had before. I was left with 15.0 mb of storage(50%) compared to 10.6 mb of storage from before. I configured UDMH and UnCache for LJP and I ran SNES in LJP and I still got the exact same problem. Only difference is more memory errors to click ok for, then out of memory and back to launcher even with a reset. However, I ran into a MAJOR problem regarding UDMH and UnCache. I reinstalled them from the same files I got from palmpowerups(I kept the same files from when I first got UDMH and UnCache and installed them) and I got different ID #, meaning that I don't have their keys, so, I can't register them. I wrote an email to Dmitry explaining my situation, that I hard resetted and I got different ID #, so, I need new keys and I am optimistic that he'll understand and give me the two keys.
|
|
|
Post by metaview on May 12, 2007 7:31:17 GMT 1
After a soft reset: RAM: 14212/10804KB DB: 7570/7563KB I know that the DB is 7563KB which is less than the 8000 that SNES requires, but with UDMH, I should have enough, since, I have 10.8 DB is the DBCache and RAM is the dynamic RAM. UDMH transfers DBCache into dynamic RAM but not the other way around. Obviously you don't have enough free DBCache. Maybe you have background apps, a launcher with a nice and large background image and several icon sets. Also try to less apps in the uncache list. BTW: I already had several hardresets with restores after it and also migrate from one device to another every couple of month. My UDMH registration was always valid, as it is tight to the hotsync ID. Regards Henk
|
|
|
Post by needhelp on May 12, 2007 14:20:58 GMT 1
Hmm, ok, that might be it. I bought my palm off ebay in a deal from a company. When I first synched, I used the name they told me to use as my HotSync ID, since, they recommended it. This time around, I decided to add in my real name, because, I mean this is after all my palm, so, why have the name of that company. So, I kinda registered UDMH and UnCache with that ID, so, that's probably why I got that problem. I'm gonna change it back, but, if I get a new device and I want to use a different HotSync ID, then how will I fix UDMH and UnCache? As for the not enough free dB Cache, I thought that UDMH fixes that by converting dB into dynamic memory and I should have more than enough(10.8+ ), don't I? Thanks EDIT: I hard reset my palm again, but this time put a LOT less things on it and used the same HotSync ID from before. This fixed the UDMH and UnCache problem I had before. I also went into LJP to see how much of a difference there is in the ram. In LJP after reset: RAM: 15357/15357KB DB: 8081/8075KB So, I seem to get above the 8mb limit. I gained ~500KB DB after the hard reset from last time. However, I tried run SNES and I still kept getting "cannot sys_alloc 122880 Bytes" 3 times with different numbers and then I get "out of memory" and go back to launcher. I plan to add back X launcher, since, I have no clue how to reset my palm without it . Hopefully that won't make a big difference on DB. Any other advice? ? Thanks
|
|
|
Post by _Em on May 12, 2007 19:12:23 GMT 1
Keep trying... the SNES module needs 8192Kb or so free... you're almost there.
As for resetting your device, just turn it off and then press the reset button -- alternately, use the reset button built into LJP.
|
|
|
Post by needhelp on May 12, 2007 21:25:20 GMT 1
ok, that's great news. Sooooo close ;D. On my palm, I have the following on my palm: Quick Tour, Applications, Bluetooth, Calc, Calendar, Card Info, Contacts, Dialer, Expense, Favorites, HotSync, Keyboard, Memos, Note Pad, Prefs, RealPlayer, Tasks, TCPMP, Web, Media, PalmPDF, UDMH, UnCache, World Clock, Billiards, Duke3D, LJP, OpenChess, ZDoomZ and ZQuake. What other files can I take out from above that might help free up some DB cache?? I tried to take out expense and realplayer, since, I NEVER use them and I got that "Application(or database) cannot be deleted, probably in ROM," error ? The last question is that I installed FileZ and when I looked through internal at the files, I found that some had chip picture(meaning that they are ROM). Here are a couple that are unlocked. There are more, but they are a smaller size: ImgFile(300KB), RealOne Player(250KB), Calendar-PDat(249KB), BtLib(231KB), PACE(181KB), Contacts-PAdd(180KB), DAL(165KB), MVLib(145KB), Launcher(129KB), UI(119KB), etc... Any idea what to remove from these? Could a warm reset help in anyway? Thanks a lot
|
|
|
Post by metaview on May 12, 2007 21:56:20 GMT 1
Do a warm reset and tell us the numbers. It will be the max amount of free DBCache and dyn. Mem you can possibly get. Did you try btw. to disable UDMH?
|
|
|
Post by needhelp on May 12, 2007 22:26:13 GMT 1
Hello, I have never done a warm reset before, but tell me if this is right. I put my palm off(power button). Then I pressed up and pressed the reset button. After that I got the screen logo(kept pressing up button) and then it showed the prefs window (the one that has the screen calibration, colors, etc...). I went into LJP and it showed the following: RAM: 3530/3500KB DB: 8262/8260KB I did another warm reset using the same procedure and got: RAM: 3530/3500KB DB: 8301/8299KB It seemed to me that UDMH is disabled, although, if you go to it, it's enabled. Then when you go back to LJP, you get back to 15357 for LJP for RAM. No, I actually never disabled UDMH, why? How would that help? Thanks
|
|
|
Post by countbuggula on May 13, 2007 2:59:33 GMT 1
A warm reset disables everything so you can "fix" or remove troubling software without having to hard reset everything, so even though you didn't disable anything, by doing a warm reset you don't have access to many palm functions (hotsync usually won't work after a warm reset either). In order to get those running again you'll have to do a normal reset.
|
|
|
Post by _Em on May 13, 2007 5:39:53 GMT 1
It looks like this method should work for you to use LJP: 1) perform a warm reset 2) launch UDMH 3) launch LJP 4) run the SNES module.
This is what's happening: UnCache keeps all apps except those in its list from loading data into the DB Cache when they receive the reset signal. Doing a warm reset prevents almost all extensions and apps from receiving the reset signal. When you launch an app, if it is supposed to preload data into the DB Cache but hasn't done so already, it will do it at this point. Therefore, launching apps after a reset with UnCache will defeat the purpose of the program. However, the 2.0 version of OffFlush seems stable, and can help a bit after the fact (it'll flush everything out of the DB Cache that hasn't been 'locked' into it). On a reset, all data is purged from the DB Cache.
Oh, and Henk... are you still considering that "disable listing for modules not present" modification I suggested a while back?
|
|
|
Post by melcrose on May 13, 2007 6:46:50 GMT 1
Here is a problem, not with RC7, but with the treo 650. Maybe you can help. SNES worked perfectly. I redid the rom so my 650 could handle a 4GB card. Snes worked perfectly. I redid my rom so it will take an 8gb card, now SNES crashes with out of memory. I flipped the two files in and out to test it, and that is definately the problem. I've tried multiple LJP versions, all work with the 4gb hack but not the 8gb hack. Any ideas?
|
|
|
Post by cristo56 on May 13, 2007 11:01:51 GMT 1
peut etre que tu doit utiliser un utilitaire du genre qui gère la fat32 de ta carte 8gb, va sur le site zodiacfrance. Ou peut etre que je me trompe, mais ce n'est pas ljp qui est en cause
|
|
|
Post by metaview on May 13, 2007 12:48:22 GMT 1
_Em: "disable listing for modules not present" yes, will come melcrose: for a bigger card the vfs driver might use more cache. Or you use a different fatfs? Memory-wise is SNES very tight on a 650.
|
|
|
Post by needhelp on May 13, 2007 16:27:27 GMT 1
Hey _Em, I tried that idea and no dice, it didn't work. It kept on giving me that "cannot sys_alloc(Some number)" error and then it will eventually give an "out of memory" and back to launcher after pressing ok. As for OffFlush version 2.0, according to it, this is what I got: Current: Total: 9.0mb Free: 8.5mb (94%) Chunk: 7.9mb (87%) I did another "Flush now" and got this: Total: 9.0mb Free: 8.9mb (99%) Chunk: 7.9mb (87%) However, although, this did help in flushing dB Cache, I still can't run SNES. Any other advices, guys? Just wondering metaview, have you been able to find out the difference in the SNES code between RC2 and RC3, because, that could fix my whole dB Cache problem I am having now? Thanks for the help so far guys, I really appreciate it
|
|
|
Post by vilmos on May 13, 2007 16:48:48 GMT 1
Well obviously the bug fixing took more memory. That's the changes. I know increasing the stack helps stability, and uses more memory.
|
|
|
Post by Tinnus on May 13, 2007 19:18:51 GMT 1
Uploaded RC7 to the website, along with a looong newspost. Enjoy.
|
|
|
Post by countbuggula on May 13, 2007 19:21:32 GMT 1
peut etre que tu doit utiliser un utilitaire du genre qui gère la fat32 de ta carte 8gb, va sur le site zodiacfrance. Ou peut etre que je me trompe, mais ce n'est pas ljp qui est en cause Ok my French is really rusty (I took 4 years in High School so you'd think I could still speak it...) but I think he's saying that it's possible the fat32 filesystem that's eating up more memory, which would make sense, because with very small files the rest of each 32byte chunk is wasted if the file doesn't use it all, so while you can store more large files, you store less small files. So you could be using just enough more space with FAT32 to not have enough RAM free to run SNES. Or I could be barking up the wrong tree. I don't suppose you can partition SD drives? And even if you could can PalmOS read more than one partition? Hmmm...
|
|
|
Post by metaview on May 13, 2007 19:25:42 GMT 1
But between rc2 and rc3 were rather bugs introduced instead of fixed
|
|
|
Post by tgwaste on May 13, 2007 19:50:04 GMT 1
Hey _Em, I tried that idea and no dice, it didn't work. It kept on giving me that "cannot sys_alloc(Some number)" error and then it will eventually give an "out of memory" and back to launcher after pressing ok. As for OffFlush version 2.0, according to it, this is what I got: Current: Total: 9.0mb Free: 8.5mb (94%) Chunk: 7.9mb (87%) I did another "Flush now" and got this: Total: 9.0mb Free: 8.9mb (99%) Chunk: 7.9mb (87%) However, although, this did help in flushing dB Cache, I still can't run SNES. Any other advices, guys? Just wondering metaview, have you been able to find out the difference in the SNES code between RC2 and RC3, because, that could fix my whole dB Cache problem I am having now? Thanks for the help so far guys, I really appreciate it Sell the 650 on ebay and get a 680, you will be much happier 680 doesnt even need UDMH for SNES.
|
|
|
Post by metaview on May 13, 2007 20:38:42 GMT 1
I thought he has an E2?
|
|