| View previous topic :: View next topic |
| Author |
Message |
Actarus

Joined: 19 May 2008 Posts: 33
|
Posted: Mon May 19, 2008 1:04 am Post subject: PSP Screen Size |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon May 19, 2008 10:59 am Post subject: |
|
|
| 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 |
|
 |
Actarus

Joined: 19 May 2008 Posts: 33
|
Posted: Mon May 19, 2008 12:25 pm Post subject: |
|
|
| But I think that blank period is necessary for normal display operations. Is it correct? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon May 19, 2008 4:03 pm Post subject: |
|
|
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 |
|
 |
|