Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Clear's the Screen and enter video mode.
- Video_Mode macro res
- mov ah, 00h
- mov al, res
- int 10h
- endM
- fill_bg macro color, width, height
- mov cx, width
- mov al, 254
- mov bl, color
- Flag_bg:
- mov ah, 2h
- int 10h
- mov ah, 9h
- int 10h
- inc dh
- cmp dh, height
- jne Flag_bg
- endM
- cursor_to macro x, y
- mov dl, x
- mov dh, y
- mov ah, 2h
- int 10h
- endM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement