Put the project back in its tracks (part 2)
Posted on 2008-03-16 00:00:00
I've completed the conversion to the current recompilation system of all instructions needed for the normal "2D" (no VIF/VU) operation of the game.

I've also been checking into the idle loop skipping thing. I still don't really know how I'm gonna do that as there's many different V-syncing schemes used in the games which use different parts of the PS2 hardware:

  • The scheme used in Atelier Iris involves waiting for a V-blank start interrupt by messing with the INTC registers.

  • Ys 1&2 installs an interrupt handler for the V-blank start interrupt and waits for a global variable to be set by that handler.

  • The 1987 demo is doing almost the same as Atelier Iris except it does it with the GS registers.


Maybe the key lies in the detection of an "idle" state and the forcing a V-blank start interrupt when that state is detected...