nanogui: Testing the 4 planes Vga Driver - Bare hardware


Previous by date: 6 Oct 1999 16:09:21 -0000 Re: new version of nano-X/microwindows (not silly licence thing), Thomas Stewart
Next by date: 6 Oct 1999 16:09:21 -0000 Re: Scrolling, Greg Haerr
Previous in thread: 6 Oct 1999 16:09:21 -0000 Re: Testing the 4 planes Vga Driver - Bare hardware, Greg Haerr
Next in thread: 6 Oct 1999 16:09:21 -0000 Re: Testing the 4 planes Vga Driver - Bare hardware, Rosimildo daSilva

Subject: RE: Testing the 4 planes Vga Driver - Bare hardware
From: Greg Haerr ####@####.####
Date: 6 Oct 1999 16:09:21 -0000
Message-Id: <01BF0FE2.6A4B79A0.greg@censoft.com>

: : 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.

Have fun!

Greg

Previous by date: 6 Oct 1999 16:09:21 -0000 Re: new version of nano-X/microwindows (not silly licence thing), Thomas Stewart
Next by date: 6 Oct 1999 16:09:21 -0000 Re: Scrolling, Greg Haerr
Previous in thread: 6 Oct 1999 16:09:21 -0000 Re: Testing the 4 planes Vga Driver - Bare hardware, Greg Haerr
Next in thread: 6 Oct 1999 16:09:21 -0000 Re: Testing the 4 planes Vga Driver - Bare hardware, Rosimildo daSilva


Powered by ezmlm-browse 0.20.