Make 'Lobotomia by No Recess/CONDENSE' work.
Posted on 2005-11-23 00:00:00
I changed the way I handle the visible GS image transfers to accomodate the corrected viewport resolution. It's using a textured quad primitive instead of calls to glDrawPixels.

I also removed the fix I made for the line primitives because it wasn't right. I changed it to draw a quad primitive that's 1 unit thick instead. There's some problems with this method though as it seems to render a dashed line instead of a plain one if the slope of the line is high enough. But I'm not going to bother much about lines anymore, since I really doubt they're used that much to fill an area of the screen.

I started working on the unimplemented instructions. The first two ones were some VU macro instructions: CFC2 and CTC2. The routine in which they're used in seems to be used to reset the VU0. I created the necessary classes to handle the VU as a MIPS coprocessor, added some disassembly for these instructions and created some placeholders that do nothing for now as the implementation. I don't think this demo uses the VU at all, so there's no need to bother with them for the moment.

There's some more MIPSIV instructions missing next that I'll be working on tomorrow.