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 

PSP Screen Size

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



Joined: 19 May 2008
Posts: 33

PostPosted: Mon May 19, 2008 1:04 am    Post subject: PSP Screen Size Reply with quote

I have read on a pdf that there are 32 pixels of hblank, is the screen 512 pixels (480+32) x 272? Can I set a hblank irq like vblank?
If yes is there a vblank zone? If yes how is it big?

Thanks for your answer
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon May 19, 2008 10:59 am    Post subject: Reply with quote

The display pitch has nothing to do with blanking. Many display processors use power of 2 or similar fetch widths on the bitmaps.
Back to top
View user's profile Send private message AIM Address
Actarus



Joined: 19 May 2008
Posts: 33

PostPosted: Mon May 19, 2008 12:25 pm    Post subject: Reply with quote

But I think that blank period is necessary for normal display operations. Is it correct?
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon May 19, 2008 4:03 pm    Post subject: Reply with quote

Yes, but that difference between 480 and 512 has NOTHING to do with it. For example, the same bitmap has no extra vertical lines (272 tall, period), but there IS a vertical blank period.

You seem to be thinking in 16 bit terms. This isn't a Genesis or SNES where you need to modify the sprites or palette or layers at certain lines. You have a framebuffer that is in 16 or 32 bit direct color which you render all at once, then make the visible frame. If you need the display to look different at line X, you simply render until you reach line X, then change the way you're rendering.
Back to top
View user's profile Send private message 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