From: Martin E. <Mar...@ma...> - 2001-06-15 23:07:04
|
> Yep. putcs write only one line and does not wrap. This is a good thing > as it makes life easier. putcs is used when you do a cat /dev/tty3 for > example. It prints the current contents of the screen but note no > colors/attributes. You use vcsa to do this instead. Okay that case does not occur. I have a couple of further API questions. How about reading 3 bytes past the end of the bitmap. I have noticed that 3dfx driver carefully avoids this, but if this were allowed, it would avoid having a special case for the last 3 bytes. Why not make the fbcon colormap 32 bits in 16 bpp modes too. This would use some extra bytes, but would avoid deciding between reading 16 or 32 bits from the colormap in putc and putcs. |