30

enleve le "&"grin, si ça marche pas, remets le et fais pas attention au warning
avatar
納 豆パワー!
I becamed a natto!!!1!one!

31

-

32

-

33

ce serait ngetchx() plutot ? (tu prog en C pas en pascal)
Fiou.

34

vire ngetchx, il faut mettre SetPlane(0); BitmapPut(x, 10, Pchat[5], &(SCR_RECT){{0,0,159,99}}, A_REPLACE);

en fait ça marceh pas avec getplane, je sais pas pkoi
avatar
納 豆パワー!
I becamed a natto!!!1!one!

35

-

36

utilise la fonction memset pour remettre tous les bits de l'ecran virtuel à 0
avatar
納 豆パワー!
I becamed a natto!!!1!one!

37

-

38

-

39

p-e parceque tu réécris tout

40

-

41

bon c'est en asm mais en c j'en sais rien...

QuickClearScreen: ;a0=screen ptr+3840
 movem.l d0-a7,QuickClearScreen_SvgrRegs
 move.l a0,a7
 moveq.l #0,d0
 move.l d0,d1
 move.l d0,d2
 move.l d0,d3
 move.l d0,d4
 move.l d0,d5
 move.l d0,d6
 movea.l d0,a0
 movea.l d0,a1
 movea.l d0,a2
 movea.l d0,a3
 movea.l d0,a4
 movea.l d0,a5
 movea.l d0,a6
 moveq.l #5,d7
QuickClearScreen_Loop:
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 dbf.s d7,QuickClearScreen_Loop
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0-a6,-(a7)
 movem.l d0-d6/a0,-(a7)
 movem.l QuickClearScreen_SvgrRegs(pc),d0-a7
 rts
QuickClearScreen_SvgrRegs ds.l 16



et tu l'appelles comme ça:

lea screen_buffer+3840,a0
bsr QuickClearScreen
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960

*** Ne sous-estimez pas la puissance de la Marmotte ***
© Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina

42

-

43

memset smile

44

-

45

c long mais les boucles sont déroulées...ça peut être encore plus rapide en déroulant complètement et en utilisant aussi d7 pour effacer mais la je pense pas que t'aie besoin d'une telle vitesse gringringrin
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960

*** Ne sous-estimez pas la puissance de la Marmotte ***
© Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina

46

-

47

-

48

-

49

-

50

top
avatar
納 豆パワー!
I becamed a natto!!!1!one!