nanogui: Testing the 4 planes Vga Driver - Bare hardware
Subject:
RE: Testing the 4 planes Vga Driver - Bare hardware
From:
Greg Haerr ####@####.####
Date:
6 Oct 1999 01:15:17 -0000
Message-Id: <01BF0F65.A9346500.greg@censoft.com>
: I linked vgainit.c, and it seems to have the routines there.
:
does it work? you mean my untested code works?
: My initial problem was that I thought outp() and outb() had the
: same signature. :-).
please send diffs...
: : Ok, I guess I found the problem with the initialization.
: I had defined outp() and outb() with the same signature.
:
:
: 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 );
:
Let me check on this. keep hacking. basically
the rom_char_addr uses the rom's notion of what a font
looks like. check the gen_text output routine, and see what
it thinks the format is.
: When I execute the code, the result does not look correct.
:
: Do I need to use the convrom.exe utility ?
convrom will just generate another font from your bios.
:
: Any hints ?
:
: 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
:
:
: