Questions tagged [vesa]

VESA is intended for questions related to programmatic access to video card BIOS settings.

VESA (Video Electronic Standard Association) defines a set of technical standards related to video displays, such as for example video modes defining resolution and colors.

References

55 questions
1
vote
2 answers

Retrieve list of VESA video modes from Int 10h/AX=4F00h

I am trying to develop a proof-of-concept os. Howsoever in the process one of the problems I encounter is the vesa video modes. It seems there is a lack of hardcoded video modes numbers after vesa told us to get them from vbe bios information and…
1
vote
0 answers

OS DEV Junk text when trying to retrieve VBE bios information

I am trying to mdevelop my own proof of concept operationg system. Just some basics. I just got into graphics with vbe. One problem I had was to get supported video modes. After intense research I found vbe get bios information (ax=4f00 int 10) and…
1
vote
1 answer

Getting VBE Information

Recently , I began using vbe for graphics in my OS. When in real mode, the vbe info block structure returns a pointer to the video mode list. When i view this pointer's hex value, it looks like this: It is a douleword value 0x7bb24220 I am…
preciousbetine
  • 2,959
  • 3
  • 13
  • 29
1
vote
1 answer

Switching to 1024x768x24bpp at boot up (Bare Metal OS)

I've been interested for a while now in learning about Bare Metal OSes and found this wonderful GitHub by Eugene Obrezkov that gives a basic text shell that works in QEMU. I could not get it to run in VirtualBox…
John Ernest
  • 785
  • 1
  • 8
  • 20
1
vote
1 answer

Drawing pixels in VESA graphic mode

How to draw a pixel in VESA graphic mode? I am trying interrupt 10h function 0ch, but it's not working. What is wrong? (Note: I wrote this code in NASM syntax and tested it with qemu) ; Code: Mov ax, 4F02h Mov bx, 0105h ; 1024x768 pixels Int…
Juan
  • 23
  • 7
1
vote
0 answers

VESA / int86 functions in mingw (cross-dev)

Before anyone tells me that in86 and VESA is a dos thing and it will not work on modern system. I know, I'm working on a game that works both on old and new systems. My game works on windows 9x with SDL1, but it's very slow (166Mhz, 640x480@256…
1
vote
1 answer

Switching to high-resolution text modes on PC

I would like to write a text editor running on text screen. In modern PC 1280x1024 (160x64 char) screen would be good for flat panel. For safety reason I am working on a i865 based P4 motherboard. VESA bios sets the resolution but in graphics mode;…
brekee12
  • 13
  • 4
1
vote
0 answers

GRUB2 + VESA BIOS Extensions / VBE broken?

Whereas I did get my earlier problem with building proper boot images fixed, I've been struggling with another GRUB2-related problem for most of the day. The problem is that even though I do set the video info request bit in my multiboot header,…
Vendu
  • 39
  • 1
  • 3
0
votes
1 answer

X.org universal graphics driver?

I'm trying to build a minimal live distribution with the smallest x.org possible. I've found http://privatebox.org/?doc/Xorg-Minimal-HOWTO - which suggests that I only include one graphics driver (obviously the graphics driver for the intended…
Xleedos
  • 948
  • 2
  • 9
  • 17
0
votes
1 answer

How to get the VCP feature when the VCP code contains several sub-codes?

I tried to get VCP features from my monitor, I can get the values from my monitor with some test tools or C++ code. But if the VCP code contains sub-code, I get failed. I get the capability string of my monitor: Capabilities String:…
Jacob
  • 1
  • 3
0
votes
0 answers

Freestanding C: Why does this function fail to return data depending on the structure of the array?

I'm currently watching a Udemy tutorial on basic graphical OS development, which has just begun to explain how to render text in VBE graphical mode using bitmap fonts. The presenter creates a function (auto-generated by a python script) to return a…
0
votes
0 answers

Choosing output mode

I am new to OSDev, and I am currently trying to write my OS from bare bones, i.e. using GRUP as my bootloader, on x86 arch. I want my OS to support both BIOS and UEFI boot. I am currently trying to write my own graphical interface. And I am kind of…
user6035109
  • 323
  • 2
  • 7
0
votes
1 answer

VESA graphics page flipping in protected mode

I am trying to figure out how the page flip in 32-bit protected mode. I run 0x4F0A and store the output table at 0x00008100. Would I be correct that the command to set the LFB location should be located at 0x00008102? Knowing this is the location…
Cal W
  • 167
  • 1
  • 14
0
votes
1 answer

Qemu restarts if I add a while loop in my kernel

I wrote a while loop that hangs when the keyboard controller is not ready: while(inb(0x64)!=0){ } However now qemu restarts everytime I attempt to boot the kernel. Sometimes I can see the vga output for a really short time. I tried to remove the…
Clement Poon
  • 79
  • 1
  • 6
0
votes
0 answers

Can't return VBE mode information

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…
MARSHMALLOW
  • 1,315
  • 2
  • 12
  • 24