21Fermer23
RajahLe 02/05/2013 à 21:51
Faut voir si PBOX utilise la ligne A ou pas. Sur STE ou Falcon, c'est encore permis, mais pour coder propre, tout appel de fonction qui fricote avec la LineA : c'est caca.

Le mieux est d'utiliser la VDI. Je récupère un handle VDI au début avec un appel open_virtualscreen. Mais tu peux utiliser celui du GFA ("V~H"). Ce handle est nécessaire pour tout appel de fonction VDI. Ici, c'est vs_clip (pour CLIP). Mes noms des fonctions GFA correspondent aux noms des fonctions VDI.

Donc si tu veux coder propre, faut étudier http://toshyp.atari.org/

Pour vs_clip() : http://toshyp.atari.org/en/00700a.html#vs_clip
Tu verras dans le binding la correspondance avec le code VDISYS.

Pour ton rectangle, il faut chercher à v_bar() : http://toshyp.atari.org/en/007005.html#v_bar