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
2
votes
1 answer

How to use a mouse with DirectFB

I am using DirectFB(without X, using fbcon driver(with vesafb) to write to screen buffer). I can do keyboard input, but I want to use my mouse.(Get cursor coordinates/Show cursor/Click events) Can someone give example code or tell me how it's done?…
M. Ivanov
  • 283
  • 1
  • 2
  • 13
2
votes
2 answers

MS-DOS - Is it possible to program 24 bit graphics?

Is it possible to program in a color depth of 24 bits on a DOS machine? I know VGA supports 8 bit color depth, but is there a way to finagle out 24 bits? Research on Google has turned up nothing. I am programming on FreeDOS instead of MS-DOS, if…
Jason Mills
  • 585
  • 2
  • 6
  • 20
1
vote
2 answers

BIOS VESA-extensions: video-modes buffer pointing to an empty array

I get the basic VESA information block with INT 10h / AX=4F00h. PUSH cs ; POP es ; ;- perform VESA check ; PUSH es ; some BIOSes…
Maximilian Wittmer
  • 173
  • 1
  • 3
  • 14
1
vote
1 answer

How can VBE be implemented as bios function agnostic to graphics card?

I'm currently learning about low level computing like bootloader and kernel, and stumbled on vesa bios extension, the standard for graphics display controller. But after reading some documents about it, I'm not sure how BIOS, developed by…
jimnwq
  • 50
  • 6
1
vote
0 answers

How to identify monitors by EDID?

My company has so many monitors and HDMI repeaters. So, I want to distinguish and identify those display devices so that a Linux host can detect which monitor/repeater is connected. Although a Linux host can get EDID from /sys/class/drm/*/edid, I'm…
takaomag
  • 1,545
  • 1
  • 16
  • 26
1
vote
1 answer

How to change the resolution of the screen (number of pixels) on a project in assembly language (DOSBox)

Actually I am making a project in assembly language where I am printing mountains, sea, and soil on assembly language display memory. I just want to make my movements smooth or my resolution higher so that my pixels would be more clear. I want my…
Codeit
  • 19
  • 2
1
vote
0 answers

How do I get text to show on screen?

I'm working on an operating system, and I recently switched to VESA Graphics for more pixels and colors to work with. I'm trying to draw text to screen, though no matter what color value I put in, I can't see anything show up. I know there isn't an…
user17400329
1
vote
1 answer

How can I fix my VBE implementation for my OS?

I'm slowly but surely working on a small operating system and I finally think I have some code in place that should (in theory) output to VESA VBE. I am, however, getting a slew of errors when trying to compile. I'm sure there's something wrong with…
user17400329
1
vote
1 answer

How do I draw a pixel in VESA VBE?

I'm trying to convert my kernel.cpp to use VESA, though all I've gotten is an array of weird errors. Following a tutorial, I got the bootloader side of the VESA Graphics working rather smoothly using this bit of code: mov ax, 0x4F02 ; set VBE…
user17400329
1
vote
1 answer

How to use VESA mode in vmware or Virtualbox?

I am building my own OS from scratch. I read the VESA tutorial and wrote a program to switch to VESA mode and then turn the screen white. (Stage1.asm is a program that simply loads and executes the kernel.) Stage2.asm [BITS 16] MOV AX, 800 MOV BX,…
Nine
  • 45
  • 5
1
vote
1 answer

Drawing a line in a 1024-lines mode

I am trying to get a line drawn in video mode 105h using int 10h. When I try: mov cx, 10 ;col mov dx, 10 ;row mov ah, 0ch ; put pixel nothing is displayed on screen. The mode I try is 1024x768. I understand that I need to create a font file to…
1
vote
1 answer

VESA skipping "blocks" of video memory when trying to fill the screen

I'm developing a simple OS' kernel and I am trying to make a working video library so I can use it later. (VBE version 3.0, 1920 * 1080px, 32bpp). I wrote a pixel plotting function in C which seems to be working fine: void putPixelRGB(struct…
MARSHMALLOW
  • 1,315
  • 2
  • 12
  • 24
1
vote
0 answers

How can I Write Own Video Driver for My OS?

While I am writing my own OS, this question comes to my mind! Is it Possible to write own video drivers like VGA, VESA ( In BIOS ) and GOP, UGA ( In UEFI ) ,if yes then how?
Vapour Dev
  • 90
  • 8
1
vote
1 answer

How to use vga palettes

I switched to VESA mode 105h which is a 256 color mode. When I checked the palette data using AX = 4F09h, I got values that matched the colors displayed on the screen. When I switched the mode to 118h, a 16.8M color mode, I checked the palette table…
preciousbetine
  • 2,959
  • 3
  • 13
  • 29
1
vote
1 answer

How to correctly get the VBE data? with int 10h/ax=4F

i got that code that o build with some informations and codes from the web, but i tryed at least a hundred times, rewrite the mode_info and vbe_info structure, i can't get the correct values, i saw vbe3.pdf but it use dd ? and db ? and thats dont…