Switch to VESA/VBE?
问题 So, I'm currently working on an OS, and I'm stuck in a very dumb situation : switching to VESA/VBE My current code : mov ax, 0x4F02 mov bx, 0x4118 int 0x10 It changes Qemu resolution, but now I have a problem with plotting pixels. The formula of the pixel offset is : uint32 pixel_offset = y * pitch + (x * (bpp/8)) + framebuffer; The problem is that bpp, pitch and framebuffer are supposed to be given by mov ax, 0x4F01 int 0x10 and mov ax, 0x4F00 int 0x10 First, mov ax, 0x4F00 int 0x10 softlock