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 

DMAC -> memset

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



Joined: 08 Oct 2005
Posts: 186

PostPosted: Sat Dec 31, 2005 8:17 am    Post subject: DMAC -> memset Reply with quote

Hello,

I use DMAC memcpy with a simple stub, and it's very fast. But now I need a memset routine to quickly zero-initialize large data sections, and I didn't found anything about this on the Internet.

Is there any DMAC accelerated memset routine available, or a way to work directly with DMAC hardware? (for example, the GBA has a src repeat bit for use as a memset, so I think the PSP should also have it ^^)

Thank you in advance for your replies
_________________
Sorry for my bad english
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
jsgf



Joined: 12 Jul 2005
Posts: 254

PostPosted: Mon Jan 02, 2006 6:45 pm    Post subject: Reply with quote

Could you manually memset the first chunk and then do an overlapping DMAC memcpy to do the rest of the clear/memset?
Back to top
View user's profile Send private message Visit poster's website
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