#fasm#


main:
    call vesaSetup
    
    
    mov ax,0xa000
    mov ds,ax

    mov si,0

    mov al,3
lp:
    inc si
    
    mov [ds:si],al
    inc al
    jmp lp
    
    hlt

;
; vesaSetup
;
; Configures the BIOS video to 320x200 graphics mode
vesaSetup:

    mov ax,19

    int 16

    ret
