On Tue, Jan 06, 2015 at 10:49:27AM -0500, Kevin O'Connor wrote:
If emulating text, return a foreground and background attribute from gfx_read_char(). Also, prefer returning a space character (instead of null) on blank cells. This may help with some users of "cbvga" seavgabios.
This also returns the foreground color (instead of always returning zero) for regular graphics mode gfx_read_char() calls. This seems fine as tests show other vgabios implementations also return various values here.
Signed-off-by: Kevin O'Connor kevin@koconnor.net
FYI, I pushed this (slightly modified) patch to the main repo.
-Kevin