I'm unable to switch VESA VBE bank
Posted: Mon May 02, 2022 5:45 am
Hello guys.
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:
But if I use this code to switch bank, it doesnt work and write nothing to display:
Thank you for your help.
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