Make "Slave of the VU" work.
Posted on 2006-03-06 00:00:00
Added the necessary code to allow some basic debugging and to make the VU1 stop once it hits an instruction with the E (end) bit set.

Implemented VU lower instruction XGKICK.

Implemented VIF code MSCAL.

These changes allow the program to display some stuff:


Screenshot #000090


I have absolutely no clue if that's the right thing it should be displaying though. There's a small particle emitter around the middle of the screen that doesn't do anything, but perhaps it is controllable using the analog stick on the controller.

Another problem is the speed. The thing runs at an awful 2~3 FPS on my computer. One half of the slow speed is probably due to the insane amount of particules on the screen (the program claims to render 4,091,800 particles per second) and the other half to the VU microprogram execution which is executed to generate display lists for all these particles.

Also, if I let the program running, it'll hang... This is probably due to it changing microprograms to render a different scene.

Tomorrow, I'll try to change the executable to make it execute the other scenes directly and see what it gives.