[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mac68k: console doesn't fill screen



> > > How can I set these 6 lines to black?
> > 
> > What about painting the whole screen black (at frame buffer init) before
> > the framebuffer console starts up? 
> 
> Please excuse my ignorance, but how do I do that?

Add code to the Mac framebuffer driver to loop over all scan lines,
writing 0 or 1 (or whatever black is on a Mac in color) to all scan lines.
The number of scan lines and the length of each scan line, as well as the
offset between the start of consecutive scan lines, are all known to the
driver. 

Before you ask: yes, this would require kernel hacking. You might come up
with a solution where you mmap the frame buffer and do the whole thing
from user space. I'm not sure the offset between scan lines is easily
available to user space though. 

	Michael




Reply to: