Ronald G Minnich wrote:
> 
> let's start over.
> 
> How hard would it be to write a simple user-mode linux utility to find and
> initialize a vga card, using emulation? where is the code that would do
> this? is the code small and self-contained, or can the code be made small
> and self-contained?

Stephan provided that info.  scitech's x86emu and MILO's x86emu code
provide good starting points.  The PPC x86 emulator is a good reference
too.

Code for emulating BIOS INT calls can also be found in WINE and dosemu,
IIRC.

Option Number Two is to hack the kernel framebuffer driver to do
initialization from the "bare metal."  IIRC there is some SiS fbdev code
to do this.  S3 cards are pretty easy to init from the "bare metal" too.

        Jeff



-- 
Jeff Garzik      |
Building 1024    |
MandrakeSoft     | Choose life.

Reply via email to