I finally managed to set a VBE mode and it worked perfectly.
Now I wanna get the physical address of the linear framebuffer to start plotting pixels in my kernel etc...
For that purpose, I used the function 01h
to return the VBE mode information but it didn't work.
Here's a part of my code:
[BITS 16]
[ORG 0x7c00]
ModeInfoBlock: times 256 db 0
start:
mov ax, 1A00h
int 10h
cmp al, 1Ah
jne error_no_video
mov ax, 4F02h
mov bx, 1000111000000010b
int 10h
cmp ax, 0x004F
jne error_set
mov ax, 4F01h
mov cx, 100011100b
mov di, ModeInfoBlock
cmp ax, 0x004F
jne error_vbe
jmp $