Make 'Lobotomia by No Recess/CONDENSE' work.
Posted on 2005-11-25 00:00:00
Fixed the GS image transfer routine to take the pixel format in consideration. Also supported 16 bpp texture loading. But there seem to be a little problem with the texture buffer width provided by the demo. Because the image was transfered with a destination buffer width of 640, the texture buffer width given in the TEX0 register should also be 640, but it is set at 512 for some reason. I have absolutely no clues why this is happening, but I'll wait till I get more textures input from the demo to go more in depth into this problem. For now, the buffer width is hardcoded to 640.

This made the little status text appear:


Screenshot #000050


I cleaned up the disassembly stuff in the FPU class to be conform to the new reflection engine and I implemented the SQRT.S instruction.

The demo seems to be able to load itself properly now. There's a little thing with it calling the 0xFF function of the LOADFILE IOP module at the end of the loading phase that has something to do with the initialisation of the Amiga Module player.

The main part of the demo isn't showing up though. There seem to be some VU instructions missing that prevents it from going further. Nothing too hardcore and I should be able to complete them tomorrow.