|
Post by alex12 on Oct 20, 2006 22:59:00 GMT 1
Hi there, I am real new to this site and to JLP. I have a Zire 72 on which I installed RC2. I loaded up my SD with one GBC rom and one NES rom. It worked really well, no bugs, I could leave my GBC game and go in a NES one after. So I decided to fill up my SD card with exactly 978 NES roms ( not SNES ) and I left 1 GBC rom. Started up LJP and now as soon as I tap on the NES tab, i get a soft reset or even a hard reset. Is there a maximum number of roms or something?
Thanks, alex
|
|
|
Post by _Em on Oct 20, 2006 23:32:49 GMT 1
Well, I'd recommend staying below 150 -- which shouldn't be hard, considering there's no way you're going to have the time to play 978 NES games between sessions at a computer. It wouldn't surpise me if the limit were 255. Just stick the rest in a subfolder if you want to keep them handy.
|
|
|
Post by alex12 on Oct 21, 2006 0:15:30 GMT 1
Yea One thing though is that there is no 255 games limit, because I could load up 575 GBC roms and play with no problems except if I had NES roms too...
|
|
|
Post by Tinnus on Oct 23, 2006 16:55:30 GMT 1
IIRC the limit is 1024. I think it was 512, but I upped it... It's for sure a power of two, so if 575 works it's probably 1024 In any case, processing each file entry takes memory... you could just be running out of it since when building the list LJP allocates like 100 bytes for each one or something.
|
|
|
Post by _Em on Oct 23, 2006 21:08:00 GMT 1
Just for clarification Tinnus: it's allocating 100 bytes from the heap, or from the DB Cache? This could solve the problems a lot of people are having with stability if the problem is that the games list is competing for memory with the games themselves.
|
|
|
Post by Tinnus on Oct 24, 2006 1:07:15 GMT 1
Both.
Part of the list structure (the data from each entry) is static data so that goes in the DBCache, but the file names themselves are dynamically-allocated and go to the heap.
|
|
|
Post by _Em on Oct 24, 2006 17:19:05 GMT 1
So the result is that if some people used to be able to play games and now can't, the issue is probably that they've added more to the list, eating up both DB Cache and Heap. That's a useful tidbit of information
|
|
|
Post by alex12 on Nov 2, 2006 19:39:07 GMT 1
Happy that my post could clarify some things, thanks for helping me
|
|