Знайшов приклад в інеті:
.startup
; Check VESA support
mov ax, ds
mov es, ax
mov ax, 4F00h
mov di, offset VgaInfoBlock
int 10h
cmp ax, 004Fh
jne NotSupported
; Get Videomode info for 800x600x16
mov ax, 4F01h
mov cx, 0114h
mov di, offset ModeInfo
int 10h
; Set Videomode 800x600x16
mov ax, 4F02h
mov bx, 0114h
;or bx, 8000h ; Clear video memory
int 10h
...
; Wait for user input to exit
mov ah, 01h
int 21h
; Restore dos video state
mov ax, 3
int 10h
.exit 0
NotSupported:
mov ah, 09h
mov dx, offset NoSupportMsg
int 21h
.exit 1