173210 / valentine-hbl

Half Byte Loader BETA
http://wololo.net/hbl
Other
22 stars 5 forks source link

PSPKVM no longer working on R94 #283

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PSPKVM worked perfectly in R93, but doesnt seem to run in R94...

Original issue reported on code.google.com by karkinis...@gmail.com on 14 Jul 2010 at 2:41

GoogleCodeExporter commented 8 years ago
Here is a debug log saved from psplink output. PSPKVM now hangs when starting, 
repeating an error message infinitly.

I look into this.

Original comment by jochen.s...@gmail.com on 14 Jul 2010 at 5:45

Attachments:

GoogleCodeExporter commented 8 years ago
Alright, I found the responsible change. It is in eloader.c line 125:

    memset(&(g->library_table), 0, sizeof(HBLLibTable));

Commenting this out fixes PSPKVM. My guess would be that there is an issue in 
module loading that this change uncovered.

Original comment by jochen.s...@gmail.com on 14 Jul 2010 at 6:27

GoogleCodeExporter commented 8 years ago
yea i it also happens in dosbox on my psp go on r94 i was so pissed when dosbox 
didn't run so i went bak to r93

Original comment by cscash241 on 14 Jul 2010 at 12:22

GoogleCodeExporter commented 8 years ago
jjs: thanks, I figured that out just after committing rev93 actually (look at 
my comment in: http://code.google.com/p/valentine-hbl/source/detail?r=94 )

I believe I have a correct fix but I'll need to test pspkvm.

Basically we need to erase the "extra" libraries (such as network libraries), 
otherwise HBL believes they are still loaded, and thinks it can call their 
functions...

What I did in r93 was erasing everything. While actually we only want to erase 
the ones that were loaded outside of patapon.

Does anybody have a link to pspkvm ?

Original comment by wagic.the.homebrew@gmail.com on 15 Jul 2010 at 1:32

GoogleCodeExporter commented 8 years ago
http://dl.qj.net/down/pspkvm-v055-test-4.html

Here you go. :)

Original comment by cheeze6...@gmail.com on 15 Jul 2010 at 6:17

GoogleCodeExporter commented 8 years ago
this isn't work

Original comment by matheusi...@gmail.com on 15 Jul 2010 at 6:31

GoogleCodeExporter commented 8 years ago
http://sourceforge.net/projects/pspkvm/

Original comment by jochen.s...@gmail.com on 15 Jul 2010 at 9:05

GoogleCodeExporter commented 8 years ago
@wololo dose this fix dosbox too? it stoped working in r94

Original comment by cscash241 on 15 Jul 2010 at 10:37

GoogleCodeExporter commented 8 years ago
@wololo Nice, I didn't even know that it is possible to comment on revisions.

Initially I thought my patch broke PSPKVM, that's why I investigated on this 
issue.

Original comment by jochen.s...@gmail.com on 16 Jul 2010 at 10:55

GoogleCodeExporter commented 8 years ago
Fixed in r95, please verify

Original comment by wagic.the.homebrew@gmail.com on 18 Jul 2010 at 12:49