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 

Hang when writting in VRAM

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



Joined: 24 Jul 2005
Posts: 15

PostPosted: Thu Jul 28, 2005 2:46 pm    Post subject: Hang when writting in VRAM Reply with quote

Apparently, if I write too much U16 in VRAM, at some point the system hang. Should I write my data using cached or non-cached transfert ? Is there anything I need to know when dumping lots of data in VRAM ?

Any tip more than welcome !
Back to top
View user's profile Send private message
ector



Joined: 12 May 2005
Posts: 195

PostPosted: Thu Jul 28, 2005 3:21 pm    Post subject: Reply with quote

Non-cached.
And how much are you writing? It's only 2MB, you know.
Back to top
View user's profile Send private message
chiwaw



Joined: 24 Jul 2005
Posts: 15

PostPosted: Thu Jul 28, 2005 4:27 pm    Post subject: Reply with quote

Ok thanks to some clever ASSERTs, I figured that my bug came from the source buffer and not from the VRAM target.

Anyway, I'll take the occasion to ask more details on cached/non-cached transferts to VRAM. What's the big differences between the two ? And is the only thing I need to do for non-cached access is to use the 0x44000000 address ?
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