Re: hw cursor is corrupted on Mach64
From: James Simmons <hidden>
Date: 2004-01-06 17:15:21
does know anybody, what is mask layout in void aty_set_cursor_shape(struct fb_info *info, u8 *dst, u8 *src, unsigned int width) I think, here is a corrupted mask! First scanlines are FF FF <- seems to be correct, but the rest A5 A5 A5 A5... And is it top - bottom or bottom - top ?
That is correct. The cursor data area (what do you call it?) is 2 bits in size. The 2 bits are 00 Background color 01 Transparent. 10 Forground color. 11 ?? I can't remember off the top of my head. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click