Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Milo's VGA Bios emulators can't init non-TGA video cards across a bridge.  Why?
@ 1998-03-28 20:04 Christian Worley
  0 siblings, 0 replies; only message in thread
From: Christian Worley @ 1998-03-28 20:04 UTC (permalink / raw)
  To: axp-list

Does anybody know what's different about initializing/emulating a VGA
bios when it's across a bridge?

Neither the DEC proprietary bios emulator nor the bios emulator with
source included with Milo can detect or initialize a graphics adapter
that is across a PCI-PCI bridge (at least the DEC 21052 and 21152
based bridges I've tried).

If these boards are on the local PCI bus, then they have no problem
being initialized by either BIOS emulator.  Also, it can initialize a
TGA across a bridge (or local) -- but that code is totally seperate
from the VGA bios emulators.

Furthermore, the failsafe booter, debug monitor, and ARC console have
no problems initializing these video cards bios on the local PCI bus
OR across a bridge.  They have a banner that says they are using DEC's
VGA Bios emulator, "v2.03".  While I have the ARC console and debug
monitor vga bios libraries, like with milo I don't have DECs code, and
those libs are compiled for NT and DUX, so I can't use them with
milo.  Does anybody know of a good DUX or AXP/NT disassembler ;)

The bios code that comes with milo starts with:

 	pcibios_read_config_dword(0, devfn, 0x00, &val);

That first arg is supposed to be a bus number.  So it starts off
wrong, which I fixed (the code determines the bus number in the
previous statement, it just doesn't use it), but then it goes to try
read the base of the VGA bios:

    if (sys_rdw(&sys, VGA_BIOS_BASE) != 0xaa55) {

"sys_rdw" returns an 0xFFFF, the routine fails and returns.

So, something must be different about the VGA bios base address when
across a bridge.

Does anybody know what's different about initializing a VGA bios when
it's across a bridge?

Thanks,

Chris


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-28 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-28 20:04 Milo's VGA Bios emulators can't init non-TGA video cards across a bridge. Why? Christian Worley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox