Pourriez vous me dire ou se situe mon erreur, parce que je ne vois pas .
Merci d'avance.
NOLIST #include "ion.inc" #define tenter 05h #define tclear 09h ; groupe 7 : 0fdh kenter .equ 254 .LIST .org progstart-2 .db $BB,$6D start: call grbfclr bcall(_clrlcdfull) ld hl,1 ld (curcol),hl ld hl,4 ld (currow),hl ld hl,Spres bcall(_puts) ld hl,0 boucleattente: inc hl cp 5000 jp z,suite jp boucleattente suite: bcall(_clrlcdfull) ld hl,1 ld (curcol),hl ld (currow),hl ld hl,aide bcall(_puts) ld hl,0 suite2: bcall(_clrlcdfull) call grbfclr ld a,87 ld b,8 ld l,0 ld ix,sprite1 call ionPutSprite call ionFastCopy bcall(_homeup) call grbfclr ld hl,0 ld a,1 push af suite3: ld a,87 ld l,0 ld b,8 ld ix,sprite2 call ionPutSprite boucle2: ld b,100 call ionRandom cp 0 jp z,suite4 jp boucle2 suite4: call ionFastCopy suite41: inc hl ld a,0feh out (1),a in a,(1) cp kenter jp z,suite5 jp suite41 suite5: bcall(_disphl) pop af inc a cp 6 jp z,suite6 push af bcall(_newline) call text12 bcall(_getkey) ld hl,1 ld (curcol),hl ld hl,7 ld (currow),hl ld hl,effacement bcall(_puts) call ionFastCopy ld hl,0 jp boucle2 suite6: call text12 bcall(_getkey) bcall(_clrlcdfull) ld hl,1 ld (curcol),hl ld (currow),hl ld hl,text2 bcall(_puts) boucle3: bcall(_getkey) cp tenter jp z,suite2 cp tclear jp z,suite7 jp boucle3 suite7: ret grbfclr: ld hl,plotSScreen ld de,plotSScreen+1 ld (hl),%00000000 ld bc,767 ldir ret Spres: .db "Syfo presente...",0 aide: .db "Testez vos" .db "reflexes:" .db "appuyez sur la" .db "touche enter" .db "des que le carre" .db "noir s'allume" .db "[press enter]",0 text12: ld hl,1 ld (curcol),hl ld hl,7 ld (currow),hl ld hl,text1 bcall(_puts) ret text1: .db "press enter",0 text2: .db "Rejouer?" .db "(enter)" .db "Ou quitter?" .db "(clear)",0 effacement: .db " ",0 sprite1: .db %11111111 .db %10000001 .db %10000001 .db %10000001 .db %10000001 .db %10000001 .db %10000001 .db %11111111 sprite2: .db %00000000 .db %01111110 .db %01111110 .db %01111110 .db %01111110 .db %01111110 .db %01111110 .db %00000000 .end END