| | antime said: | | If you just override the interrupt vectors you can expect things to break. Instead you should use the SGL slIntFunction() call to register a function that will be called on vblank-in. |
Really interesting, I will test this, thanks for all these info Antime 
| | | I don't think there is a corresponding function for vblank-out. If you're interested in what SGL does during the vblank interrupts, disassemble the functions BlankIn and BlankOut in sglI00.o (use "ar x" to extract the individual object files from libsgl.a) |
I can check this but I don't like much assembler. 
| | | ETA: The functions performed by SGL during the vblank interrupts are detailed in sglfaq_f.txt in the doc directory, section 3. "SGL Internal Processing". |
I've read quickly the file and it appears "* Read Peripheral Data" is done during vblank out, and not vblank in. But paddle control was lost when I redefined vblank in not vblank out. |