how would one go about creating a standard output buffer? is that the same as the video memory or is it something different? I'm to the point where i'm writing the printf function but would like compatability with ported programs eventually. maby i'm entierlly missing something to do with I/O buffers.
thanks,
Mr_Spam
standard outoput buffer
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:standard outoput buffer
the basic idea with output buffer is to provide a common interface to programs output regardless it is actually received by a window, a text console or a file on disk ...
thus, rather than emitting characters directly to a video area, they are put in a buffer (shared between the application and the kernel) and wait for the display manager to be ready.
In addition to the "protection feature" (don't let the application play directly with the hardware), the output buffer can reduce the amount of system call made.
thus, rather than emitting characters directly to a video area, they are put in a buffer (shared between the application and the kernel) and wait for the display manager to be ready.
In addition to the "protection feature" (don't let the application play directly with the hardware), the output buffer can reduce the amount of system call made.