Questions tagged [vga]

Anything related to Video Graphics Array (VGA) video card and related standards. Usually used to tag questions about VGA compatible hardware (VGA connectors, cables, monitors, etc.) or VGA specifications (VGA resolutions, VGA video modes, etc.)

Anything related to Video Graphics Array (VGA) video card and related standards. Usually used to tag questions about VGA compatible hardware (VGA connectors, cables, monitors, etc.) or VGA specifications (VGA resolutions, VGA video modes, etc.).

See the VGA Wikipedia page.

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

create real mode elf file and link it to my kernel

I'm trying to turn on graphic mode in VGA (in a our course kernel - JOS). I found that to do so I need to call interrupt 10h from real mode (8086). However, getting to real mode after you got to protected mode is a problem so I'm trying to use V86…
buc030
  • 425
  • 3
  • 14
2
votes
0 answers

Switch between DVI and VGA

Is there a way of switching the monitor's input from VGA to DVI programmatically in C# ? I've found an article on how to switch it on or off here. Any suggestions ?
Lescai Ionel
  • 4,216
  • 3
  • 30
  • 48
2
votes
2 answers

How to print a number using Verilog and Altera DE2 board's VGA?

I am using Altera DE2 FPGA board and verilog, designed a simple CPU using these. I need to print the value of a register using the VGA output of the board. How should I go about this?
Salih Erikci
  • 5,076
  • 12
  • 39
  • 69
1
vote
2 answers

VGA driver reference

Where can i find information on writing a vga driver? The target platform is pic24 and i'm using c. I sorted out the timing, but the implementation on how to display the data is a questionmark for me.
Jon V
  • 506
  • 1
  • 3
  • 21
1
vote
1 answer

Programmatically determine VGA or DVI on a primary monitor using Windows API?

If I can get a handle to a monitor and get the monitor's info using the handle and the "GetMonitorInfo" function from the windows API, is there some way I can determine more info like whether that monitor is using the DVI or the VGA port? Or what…
LeapDayWilliam
  • 197
  • 1
  • 2
  • 11
1
vote
1 answer

how to read an image file like jpg and display it on screen pixel by pixel?

I am doing my own OS(from scratch) which is not based on any pre-existing kernels or OS. So i know screen is divided into 80*25 and i know that usually it is like 0xB8000 can hold a attributes of character in 0xB8001 and i know only that much. But…
manuhg
  • 360
  • 1
  • 4
  • 16
1
vote
1 answer

Char * is always null terminator

I am trying to implement a VGA print function but I cannot get data to be seen as a non null character. Even if I hardcode data inside this function it will still skip the while loop. I have a debug print that will print a Z if count is zero and it…
RJ Yarwood
  • 43
  • 1
  • 1
  • 5
1
vote
1 answer

Why does switch to long mode cause VGA text output to behave strangely?

I'm developing a small demo that boots a x86_64 machine. During early init (real mode), I set videomode 3 via int 10h. I then write to memory-mapped text at 0xb8000. My second stage already is high-level C code. This worked perfectly in protected…
1
vote
1 answer

Why an x86 assembly program does not paint the symbol

I'm a university student and I can't figure out where my mistake is. Here's my assignment to write in x86 assembly language.(I wrote on an INTEL syntax, I use DosBOX to run it). I've asked a similar question before. Here's the task. Fill page 0 of…
Dan
  • 29
  • 3
1
vote
1 answer

Why an x86 assembly program paints the wrong symbol

I'm a university student and I can't figure out where my mistake is. Here's my assignment to write in x86 assembly language.(I wrote on an INTEL syntax, I use DosBOX to run it) Fill page 0 of the video memory with any text. In the first line of the…
Dan
  • 29
  • 3
1
vote
1 answer

Enabling the VGA 13h video mode on a modern PC in UEFI via a UEFI bootloader, written in assembly

I have been writing some x86_16 assembly code for BIOS real mode as a hobby for quiet a while now. Recently I decided to move to writing 64-bit bootloaders for UEFI. First thing, that I came up with was entering the 13h VGA graphics mode(256 colors,…
adivanced
  • 31
  • 6
1
vote
1 answer

Copy single byte to multiple memory locations in XV6 8086 Assembly 0x13 VGA (Real Mode)

Before anybody tells me that this technology is outdated, I am aware however the scope of the project is very specific. My requirement is to print a filled rectangle to the output by writing directly to the video memory (0x13 in real mode). I have…
1
vote
1 answer

What is the simplest way to get a higher resolution Graphics Mode?

I'm working on a little operating system, and I've decided that I've grown tired of VGA's 320x200 8-bit color limitations. I really don't want to refactor all my code, so my goal is implementing the simplest way to get 720p and 16-bit colors. Here's…
user17400329
1
vote
1 answer

Why won't my code draw characters to screen?

I'm working on a little operating system, and I've gotten to the part where I want to draw characters to screen. I'm having issues getting my code to run (which might just be due to my rusty C++ skills), and when I do, I don't see the requested…
user17400329