OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 2:16 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: The interface provided by the video screen
PostPosted: Sun Apr 26, 2020 6:26 am 
Offline
Member
Member

Joined: Sat Feb 08, 2020 11:11 am
Posts: 106
Looking at the core of the Computer System (x86), all I/O accesses are done via port I/O and memory-mapped I/O. A computer monitor is also an output device, therefore I'm looking to learn about the hardware and software interfaces that make this device run.

I've been doing a bit of Operating systems development, and want to know more about graphics cards, video controllers, etc.

I would like to know what controllers are present a typical monitor, and our chipset (motherboard).

Where does a graphics card come into the picture? Is the graphics card directly connected to the monitor?

Often when starting with OsDev, 0xb8000 is our best friend, and I often just keep it as an abstraction to deal with other things in the kernel. Is writing to 0xA0000 - 0xBF000 memory-mapped I/O? If so, which device is it mapped to?

Where does a VGA controller come into the picture? Is it present in the graphics card? What about VESA, etc. ? If the VGA controller is present on the chipset, what is its port number? (If port I/O)

Where does Video BIOS come into the picture?? I'm guessing it's located in some sort of ROM in a graphics card.

These are just a few questions that I have of the top of my head. I might follow up with a bit more.


Top
 Profile  
 
 Post subject: Re: The interface provided by the video screen
PostPosted: Sun Apr 26, 2020 6:34 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
Have you done any research on Google, or even in this wiki? There's a wealth of information there. There are also books about PC hardware that are worth a look.


Top
 Profile  
 
 Post subject: Re: The interface provided by the video screen
PostPosted: Sun Apr 26, 2020 7:43 am 
Offline
Member
Member

Joined: Sat Feb 08, 2020 11:11 am
Posts: 106
Yes, I have :)

I mostly want this topic to be something I can use to explore how an experienced low level programmer sees the video system. Perhaps some insights and tips...

I wouldn't mind book suggestions / resource suggestions either.


Top
 Profile  
 
 Post subject: Re: The interface provided by the video screen
PostPosted: Sun Apr 26, 2020 9:26 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
There's a thread in this forum that consists of Book Recommendations. The latest post in it looks like it answers many of your questions.


Top
 Profile  
 
 Post subject: Re: The interface provided by the video screen
PostPosted: Sun Apr 26, 2020 10:17 pm 
Offline
Member
Member

Joined: Wed Aug 30, 2017 8:24 am
Posts: 1604
sunnysideup wrote:
I mostly want this topic to be something I can use to explore how an experienced low level programmer sees the video system.

Framebuffers. You write into them, and somehow stuff appears on the screen. That is all there is to it. Whether that is the graphics card doing that or the Easter Bunny, I don't rightly care. I have no reason to care. I only care about frame buffer base address, width, height, and pitch. And structure, but that is mostly uniform these days.

_________________
Carpe diem!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], JAAman, MichaelPetch, SemrushBot [Bot] and 174 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group