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 

Little usefull old tip to know used cpu time vs Vblank

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



Joined: 15 May 2005
Posts: 34

PostPosted: Sun May 15, 2005 1:55 am    Post subject: Little usefull old tip to know used cpu time vs Vblank Reply with quote

it's very usefull to know if the time for your code + time to display is not greater than the time we have between two vblank.

exemple:
i have a physical and logical screen, i just put the background of one in black
and the other in white just before my real loop start. the result will show a near grey screen with a little horizontal line.



the blue arrow is the full time we have "a full display".
the red show you the used time to calculate and display the moving letters.
the black right mark is just my broken psp screen ;)

in my screenshot we can see that the scrolltext routine need about 30% !! ( ouchhh !! ) ;)

with this technique i know how much time we have to make others effects, etc..

Hope it will help you.
Back to top
View user's profile Send private message Visit poster's website
MelGibson



Joined: 10 Apr 2005
Posts: 58

PostPosted: Sun May 15, 2005 2:07 am    Post subject: Reply with quote

Nice to knwo... but damn what happend to your screen :O
Back to top
View user's profile Send private message
modman



Joined: 12 Feb 2005
Posts: 31
Location: Philadelphia, PA

PostPosted: Sun May 15, 2005 3:30 am    Post subject: Reply with quote

alonetrio:

Sorry to see you busted your screen. Same thing happened to me... I had to return mine to Bestbuy... Thankfully they took it back, but they had no others to give me :-(

If you are slightly "mod" inclined there is an interesting site that is offering a used LCD screen for $150 US.

http://secure.llamma.com/catalog/index.php?cPath=55

I know its expensive... but it is going to be hard to find another ver 1.0

If you do decide to install it, make sure to set up some sort of makeshift clean room.

Vacumn the room if you have rugs, take a shower before hand and wear clean clothes. Airconditioning would help along with an ionizer. Plastic gloves... you get the idea though. You just don't want any dust/foreign matter between your new TFT and the plastic cover. Although given your current situation, you might not care :-)
_________________
SCPH-50001/N
HD SCPH-20401 U
Eyetoy SLEH-00031
Network Adaptor SCPH-10281
Logitech Z680 via FIber w00t!
Sony Wega TV + USB Keyboard
http://staff.philau.edu/barberej/
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
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