 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Mon Jan 25, 2010 4:53 am Post subject: PSPLINK and extended memory |
|
|
Does any psplink version support extended 32 MB on Slims? Because I got this exception:
| Code: | host0:/> Exception - Bus error (data)
Thread ID - 0x05142905
Th Name - SCE_VSH_GRAPHICS
Module ID - 0x0525B27D
Mod Name - sceHVUI_Module
EPC - 0x0A2D7C68
Cause - 0x9000001C
BadVAddr - 0x0A010500
Status - 0x60088613
zr:0x00000000 at:0xDEADBEEF v0:0x00000000 v1:0x08F9532C
a0:0x08F9532D a1:0x0000000C a2:0x0B7FE5FC a3:0x0B7FE600
t0:0x08F95320 t1:0x0A32E144 t2:0x00000000 t3:0xDEADBEEF
t4:0xDEADBEEF t5:0xDEADBEEF t6:0xDEADBEEF t7:0xDEADBEEF
s0:0x08F95320 s1:0xFFFFFFFF s2:0x00000000 s3:0x0A30DA54
s4:0x0A2BF060 s5:0x00000001 s6:0x090871CC s7:0x0A090000
t8:0xDEADBEEF t9:0xDEADBEEF k0:0x0B7FEF00 k1:0x00000000
gp:0x0A091790 sp:0x0B7FE5E0 fp:0x08FA1A00 ra:0x0A2D7C70 |
Bur psplink refuses to access 0x0AXXXXXX memory addresses.
Any clue anout this? _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Raiden
Joined: 14 Nov 2009 Posts: 10
|
Posted: Mon Jan 25, 2010 5:58 am Post subject: |
|
|
| Code: | at:0xDEADBEEF
t3:0xDEADBEEF
t4:0xDEADBEEF
t5:0xDEADBEEF
t6:0xDEADBEEF
t7:0xDEADBEEF
t8:0xDEADBEEF
t9:0xDEADBEEF | Lol, what kind of code is that? :D |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Mon Jan 25, 2010 11:08 am Post subject: |
|
|
OFW code, namely sceHVUI_Module, as seen in the exception :P Anyway, those registers are rarely used. _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
yokfran
Joined: 28 Dec 2009 Posts: 16
|
Posted: Sun Jan 31, 2010 8:43 pm Post subject: |
|
|
| m0skit0 wrote: | | OFW code, namely sceHVUI_Module, as seen in the exception :P Anyway, those registers are rarely used. |
it's in file "decodeaddr.c"
http://svn.ps2dev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpsplinkusb%2Fpsplink%2Fdecodeaddr.c&rev=0&sc=0
| Code: | static struct mem_entry g_memareas[] =
{
{ 0x00010000, (16 * 1024), MEM_ATTRIB_ALL, "Scratchpad", 0 },
{ 0x40010000, (16 * 1024), MEM_ATTRIB_ALL, "Scratchpad (uncached)", 0 },
{ 0x04000000, (2 * 1024 * 1024), MEM_ATTRIB_ALL, "VRAM", 0 },
{ 0x44000000, (2 * 1024 * 1024), MEM_ATTRIB_ALL, "VRAM (uncached)", 0 },
{ 0x08800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory", 0 },
{ 0x48800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory (uncached)", 0 },
{ 0x88000000, (4 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (low)", 0 },
{ 0xA8000000, (4 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (low uncached)", 0 },
/* Don't use the following 2 on a 1.5, just crashes the psp */
{ 0x88400000, (4 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (mid v1.0 only)", 1 },
{ 0xA8400000, (4 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (mid v1.0 only uncached)", 1 },
{ 0x88800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (high)", 0 },
{ 0xA8800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "Kernel memory (high uncached)", 0 },
{ 0xBFC00000, (1 * 1024 * 1024), MEM_ATTRIB_ALL, "Internal RAM", 0 },
{ 0, 0, 0, NULL }
};
|
and these two lines
| Code: |
{ 0x08800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory", 0 },
{ 0x48800000, (24 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory (uncached)", 0 },
|
change to
{ 0x08800000, (24 * 1024 * 1024 + 32 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory", 0 },
{ 0x48800000, (24 * 1024 * 1024 + 32 * 1024 * 1024), MEM_ATTRIB_ALL, "User memory (uncached)", 0 }, |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Sun Jan 31, 2010 10:17 pm Post subject: |
|
|
Thanks for that, worked like a charm :) _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|