I’m trying to make a white screen with a sprite but the colors aren’t right. I tried other colors and they aren’t what they’re supposed to be as well.
Did I do something wrong?
IDEAL
MODEL small
STACK 100h
DATASEG
white db 320*200 dup(255)
CODESEG
start:
mov ax, @data
mov ds, ax
mov ah, 0
mov al, 13h
int 10h
mov cx, 0
mov dx, 0
mov ah, 0Ch
mov al, 256
mov bx, 0
sprite_loop:
int 10h
inc cx
cmp cx, 320
jne sprite_loop
mov cx, 0
inc dx
cmp dx, 200
jne sprite_loop
; Wait for user input
mov ah, 0
int 16h
exit:
mov ax, 4c00h
int 21h
END start