6 ms·
"Boing " in 64 Bytes
- HellMood 3mo agoFor 486, no FPU, for MsDos FreeDos, WinXP Dos, DosBox-X ... i made that rather in a hurry, so right now i have a version without background but wall bouncing like the original. But since the competition is already over, i will tinker a bit to make it perfect :) the blank code for everbody who can read it ^^ you can paste it to http://twt86.co/ http://twt86.co/ to run in a browser org 100h mov al,0x13 les bp,[bx] int 0x10 X: sub dh,95 mov al,[bp+si] add dl,al imul al sub dh,ah mov bx,dx mov al,bh imul al xchg ax,dx imul al add dx,ax mov ch,7 imul ax,di,byte 102 sub ch,dh jle F mov al,bl cbw idiv ch add al,[bp+si] xor al,bh and al,16 mov al,31 jnz F add al,9 F: stosb mov ax,0xCCCC mul di adc byte [bp+si],cl jmp short X