i'm trying to draw a box in emu8086, using graphics mode (vga). for some reason there is a delay between pixel to pixel, which make it looks like animation, instead drawing the box at once.
is there away to overcome this ? the delay in the debugger set to 0.
if needed, please see relevant code below:
BORDER:
mov ax, 13h ;; vga mode
int 10h
mov cx, 640
BORDER_LOOP:
push cx
mov bh, 0h
inc borderX
mov cx, [borderX]
mov dx, [borderY]
mov al, [color]
mov ah, 0ch
int 10h
pop cx
LOOP BORDER_LOOP
int 10h
. How much delay? Like multiple seconds to paint the whole screen or a whole line, or a small fraction of a second for the whole screen?