void Vsync()

Description:  Attend un signal video de synchro verticale

Opcode:  37  (0x0025)

Availability:  Tous TOS

Binding:  
    move #37,-(sp)
    trap #14
    addq.l #2,sp
Definition:
    la fonction attend la prochaine interruption generee par le signal video de synchronisation verticale VBL a chaque image video.
    c'est utile lors de certains changements de mode video ou de palette.
    c'est utile pour limiter le clignotement dans les animations graphiques mais le resultat est meilleur en utilisant deux buffers ecrans en alternance.
    a eviter pour faire une temporisation car la frequence verticale varie de 50Hz a plus de 120Hz.


mailto: johnx
HTTP: http://john.diot.free.fr/atari/

void Vsync()

Description:  Wait for a vertical blank video signal

Opcode:  37  (0x0025)

Availability:  All TOS

Binding:  
    move #37,-(sp)
    trap #14
    addq.l #2,sp
Definition:
    the function waits for the next interrupt generated by the vertical blank video signal VBL every video frame.
    useful when doing specials video mode or palette changes.
    useful to limit flashing in graphics animations but the result is better when swaping two screen buffers.
    don't use it for a delay because the vertical frequency can vary from 50Hz to more than 120Hz.


mailto: johnx
HTTP: http://john.diot.free.fr/atari/


See Also: Nothing


Thanks for your GEMTOS visit!!!

(C) 2000 Gemtos.free.fr. All rights reserved by the authors.