cgsyannick L 99 99 99 99 99 99 99 99 99 | 248 octets
Code :
- .model tiny
- .code
- .startup
- dd 1fa00068h
- dw 071eh
- mov al,13h
- int 10h
- mov di,319
- mov cl,200
- drwbrd: mov ax,1112h
- stosw
- add di,318
- loop drwbrd
- mov di,7*320+24
- mov bl,5
- Disp: mov dl,7
- Disp_2: mov al,dl
- add al,40
- mov dh,9
- Disp_3: mov byte ptr [di],42
- mov cl,14
- inc di
- rep stosb
- mov byte ptr [di],42
- add di,17
- dec dh
- jne Disp_3
- add di,32
- dec dx
- jne Disp_2
- add di,6*320
- dec bx
- jne Disp
- mov si,320*196+210-16
-
- mov bx,si
- mov bp,-319
- BigLoop: mov dx,3DAh
- WR_1: in al,dx
- and al,8
- jne WR_1
- WR_2: in al,dx
- and al,8
- je WR_2
- dd 417a064h
- sar al,1
- adc si,cx
- sar al,1
- sbb si,cx
-
- mov [si-1],cl
- mov di,si
- mov al,1
- mov cl,32
- rep stosb
- xor ax,ax
- stosb
- cmp si,320*196+3
- adc si,cx
-
- cmp si,320*196+286
- jb Noprob
- dec si
- Noprob: mov [bx],al
- add bx,bp
- mov al,13
- mov [bx],al
- mov di,bx
- add di,bp
- mov al,[di]
- cmp al,11h
- jne RSide
- inc bp
- inc bp
- RSide: cmp al,12h
- jne Above
- dec bp
- dec bp
- Above: cmp di,320
- ja Dooh
- add bp,640
- Dooh: cmp al,1
- jne Brick
- sub bp,640
- Brick: test al,32
- je pasbrik
- cmp al,47
- jne pas47
- sub bp,640
- jmp short erasebrick
- pas47: cmp al,41
- jne pas41
- add bp,640
- jmp short erasebrick
- pas41: mov ax,320
- or bp,bp
- js onmonte
- neg ax
- onmonte: mov dx,bp
- add dx,ax
- sal dx,1
- sub bp,dx
- erasebrick:
- sub di,1936
- xor ax,ax
- mov dx,13
- pasfini: mov cl,16
- rep stosw
- add di,288
- dec dx
- jnz pasfini
- pasbrik: cmp bx,320*197
- ja Bye
- jmp BigLoop
- Bye: mov al,3
- int 10h
- ret
- end
|
---------------
Découvre le HFRcoin - Afin d’écourter votre attente, merci de bien vouloir patienter…
|