Oui elle n'est pas a jour.
Sinon :
Tiemu rend mal. Essaye SMA qui est nickel on-calc et sur vti, tu verras.
Sinon ton code est mal fait.
Il faudrait plutot faire :
MainLoop: ;|================================= ;| Wait ;|================================= Ready: tst.l genlib::timer beq Ready add.w d2,d0 jsr genlib::cls jsr genlib::put_big_sprite ;|================================= ;| Test the sprite position ;|================================= tst.w d0 bne \NotLeft moveq #1,d2 \NotLeft: cmpi.w #70,d0 bne \NotRight moveq #-1,d2 \NotRight: ;|================================= ;| Swap the buffers ;|================================= move.w d0,d3 ;save x move.l 0(a3,d4.l),d0 jsr genlib::set_dscreen_int eori.b #4,d4 move.l 0(a3,d4.l),d0 jsr genlib::set_dscreen_function move.w d3,d0 ;restore x ;|================================= ;| Wait ;|================================= Wait: tst.w genlib::frame_timer beq Wait clr.w genlib::frame_timer clr.l genlib::timer ;|================================= ;| Test ESC ;|================================= movem.l d0-d2/a0-a1,-(sp) jsr tios::GKeyFlush movem.l (sp)+,d0-d2/a0-a1 move.w GETKEY_CODE,d3 cmpi.w #264,d3 ;ESC bne MainLoop
Sinon pourquoi utilise tu GKeyFlush et pas la touche ESC du joypad ?