; This is nothing...... ; a little 256b intro for function 2008 ; Code Master S / mainloop ; Credits to Mentor / TBC for hints and help [ORG 100h] %define BallPosStart 0 %define Temp 256 %define Value 512 %define randv 520 %define NUM_BALLS 4 %define NUM_ITER 16 %define DITHER_SHIFT 2 %define BALL_ARRAY_END (DataStart + BallPosStart) + 6 * NUM_BALLS start: fninit mov al,13h int 10h push word 0xa000 pop es mov ax, cs add ah, 0x10 mov fs, ax ;mov cx, 20 .palette: mov dx, 03c8h mov ax, cx out dx, al inc dx neg al out dx, al out dx, al out dx, al loop .palette fldz ; st0 is time .mainloop: mov bp, 3<