nanogui: Testing the 4 planes Vga Driver - Bare hardware
Subject:
RE: Testing the 4 planes Vga Driver - Bare hardware
From:
Rosimildo daSilva ####@####.####
Date:
7 Oct 1999 02:04:18 -0000
Message-Id: <199910070157.SAA03678@www1.xoommail.com>
Greg Haerr wrote:
> : : Now, I need to understand how should I setup
> : : rom_char_addr. My target does not have BIOS.
> : : I have tried this:
> : :
> : : extern FONT font_rom8x16; /* font generated with convrom.c */
> : : FONT *font_ptr = &font_rom8x16;
> : : rom_char_addr = (FARADDR)( font_ptr->bits );
>
> I figured this out last night. You can either use the internal
> font draw routines linked into drivers like scr_bogl and scr_svga, or,
> the reason that the rom font code doesn't work is because rom fonts
> are 8 bits wide and our internal font format is 16 bits wide. So you would
> have to modify the font draw routine in your driver to assume 8 bits wide
> rather than 8.
Greg,
Thanks for the tip !!!.
Yes, this did work. I hve finally got something working
for the Sreeen driver.
The system is very sluggish !!!.
I thought it would be a bit faster, once we are so
close to the hardware. I know you guys are working
on this issue. :-).
Rosimildo.
______________________________________________________
Get your free web-based email at http://www.xoom.com
Birthday? Anniversary? Send FREE animated greeting
cards for any occasion at http://greetings.xoom.com