Make "cubemastah.elf" work.
Posted on 2005-09-29 00:00:00
This demo uses cubes to make up letters on the screen and display a scrolling text. It seems to use some depth testing. It also does its projections using the FPU, so no VUs are involved in this demo.

Running it for the first time, it was complaining about unimplemented instructions.

So I implemented NEG.S, LWU, SRLV and LQ.

Next, it was complaining about a missing triangle shading type. This demo uses triangles with differing colors on each of thier vertices. I implemented a quick thing so it can render only white triangles for now and here's what I get:


Screenshot #000031


The demo seems to be able to run completely without any problems. Of course, color and depth testing are missing right now, so I'll have to add those tomorrow. It also seems to use a system call to write to the GS IMR register... I'll have to check what it's writing in there.