Before I switch to protected mode, I set 100h VESA VBE mode. My c code can write to its memory, but I need to switch banks.
With this code, to set VBE mode my kernel write something to display to 0xA0000 memory:
Code: Select all
mov ax, 0x4F02
mov bx, 0x100
int 0x10
Code: Select all
mov ax, 0x4f05
mov bx, 0x0
mov dx, 0x1
int 0x10