OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: The hell's a port command?
PostPosted: Thu Dec 06, 2018 2:17 pm 
Offline

Joined: Mon Nov 19, 2018 12:13 pm
Posts: 22
So, being the clueless boi I am, I consulted Wikipedia for the basics of a framebuffer. It says there are three common ways of doing it, and the attached image is the list.
I know the first and last ones but what is a port command?


Attachments:
sdf.png
sdf.png [ 19.54 KiB | Viewed 943 times ]

_________________
- Mitchell Barnes the Confused Idiot
17 years old and programming assembly

“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”

“Assembly is more readable and easy to use than c. Change my mind”
Top
 Profile  
 
 Post subject: Re: The hell's a port command?
PostPosted: Thu Dec 06, 2018 3:37 pm 
Offline
Member
Member

Joined: Mon Feb 02, 2015 7:11 pm
Posts: 898
It probably refers to the I/O port address space, which you can access with the OUT instruction on x86:

https://c9x.me/x86/html/file_module_x86_id_222.html

_________________
https://github.com/kiznit/rainbow-os


Top
 Profile  
 
 Post subject: Re: The hell's a port command?
PostPosted: Fri Dec 07, 2018 1:43 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5100
It refers to systems where the CPU can't directly address the frame buffer at all. Instead, you access it through one or more "ports" where you can write commands and data. For example, you might write a command to address a particular pixel, then write some data to set a new value for that pixel.

It has nothing to do with x86-specific things like the I/O address space or IN/OUT instructions.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot] and 52 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