PSXDEV snippets : Find the value of a pixel in the PSX VRam

Kuumba╹◡╹ : well um , I guess I should try explaining it a little different . lets say you wanted to find the data for 15bpp pixel @ Xcord 256 , Y cord 0 . where would to be in the GPU's memory ? :slight_smile:

Nic : since you have 2 bytes per pixel, you can find any pixel in the framebuffer using the formula

(x + y * 1024) * 2