Custom title

Wednesday, February 21, 2007

Speed and graphics improvements I

.

Well, since the last release, it's been quite clear that the emulator's compatibility was good enough. Now we have to center around Speed and graphics issues. One of the main problems that was causing low framerates is known as SwapBuffer misfunction.

The SwapBuffer exchanges the two sets of Polygon/Vertex RAM buffers, that is, the newly defined polygons/vertices that are passed to the rendering engine. The another buffer, therefore, gets emptied and passes to the geometry engine to get filled with the geometry commands. However, if the polygons and RAM addresses are passed incorrectly, then the game is likely to have: a) Low framerates (Due to the 2nd buffer having to wait for the correct instructions) and b) Gfx errors (Caused by the aforementioned SwapBuffer misfunction)

To fix the SwapBuffer, i had to set the values of that function = 1, meaning that it'll be sorted manually from now on. It's hard to do so, i know, but it's probably for the best as of now, until i come up with an algorithm that can execute it automatically (Also note that depth buffering isn't supported manually, so there will still be Gfx errors). For now, speed has increased even more, and there are a few of Graphics fixes:

























New updates to come up soon