forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Memory area 0xA8400000

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
chrismulhearn



Joined: 22 Feb 2006
Posts: 80

PostPosted: Sat Jan 27, 2007 5:32 am    Post subject: Memory area 0xA8400000 Reply with quote

On my 1.5 PSP, kernel-mode accesses to memory address 0xA8400000 give me a CPU data bus error. Anyone know why this is? Is this actually the VRAM, which is also accessible at 0xA4000000?

If its not the VRAM, is there any remedy to get access to that memory?

Note: I know that there is usually some library loaded in that location, but that doesn't matter because I'm not using the PSP OS and I've replaced their exception handler, so nothing should ever be trying to use that memory area.
Simply writing data to that location causes a bus error.
Back to top
View user's profile Send private message
jas0nuk



Joined: 27 Apr 2006
Posts: 137

PostPosted: Sat Jan 27, 2007 6:40 am    Post subject: Reply with quote

Complete guess, but maybe this topic will help you:
http://forums.ps2dev.org/viewtopic.php?t=6800
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jan 27, 2007 8:09 am    Post subject: Reply with quote

Hmm - using the info in that topic, it looks like you may be able to make uClinux use all 32M of memory, or at least be able to load and protect the uClinux kernel, much like the PSP kernel is protected.
Back to top
View user's profile Send private message AIM Address
chrismulhearn



Joined: 22 Feb 2006
Posts: 80

PostPosted: Sat Jan 27, 2007 12:41 pm    Post subject: uclinux now with 32mb Reply with quote

sure can!

Just had to rewrite some parts of the bootloader to accomodate it [now that I am overwriting the PSP OS, I can't be writing the kernel to its final destination while loading it off the memory stick, so I load the kernel to an intermediate location first, then kill PSP OS entry, then copy the kernel to its real home. Then jump to it and enjoy the 32 megabytes of breathing room.]

Thanks guys, and thank you Tyranid, great find.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jan 27, 2007 2:13 pm    Post subject: Reply with quote

Every bit helps. Going from 24M to 32M is a BIG increase.
Back to top
View user's profile Send private message AIM Address
hagisbasheruk



Joined: 22 Jan 2007
Posts: 7

PostPosted: Sat Jan 27, 2007 11:31 pm    Post subject: Reply with quote

This is getting very exciting now thanks jas0nuk for the link and thanks to Tyranid for making the discovery regarding the memory protection bits.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jas0nuk



Joined: 27 Apr 2006
Posts: 137

PostPosted: Sun Jan 28, 2007 3:15 am    Post subject: Reply with quote

Ah, glad it helped :)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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