Follow

more rambling about psx programming even though I haven't actually done any yet 

ok, so one great thing about the ps1 is that it supports 640x480 resolution. unfortunately, it doesn't have enough VRAM to hold both a front- and back-buffer at that rez, meaning you would have to do all rendering during the vblank, which doesn't sound feasible. but if you set the horiz rez to 512, you get 80% of the way there, and have enough room for both. unfortunately that leaves you with no room for sprites.

· · Web · 1 · 0 · 0

more rambling about psx programming even though I haven't actually done any yet 

buut, you could use a half-size back-buffer. that would give you some room for sprites, at the expense that the bottom half of the screen would have to be rendered in half of a frame time (8ms) (which is still better than 1 full frame in a vblank).

Show thread

more rambling about psx programming even though I haven't actually done any yet 

so the process would be:
1. scan out frame 1
2. render top half of frame 2 to backbuf
3. set display pointer to half-size backbuf
4. during frame 2 scanout, render bottom half of frame 2 to frontbuf
5. set display pointer back to full-size frontbuf
6. scan out rest of frame 2
7. copy half-size backbuf to frontbuf
…or something like that

Show thread
Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!