From: Christian Worley <cworley@altatech.com>
To: axp-list@redhat.com
Subject: Milo's VGA Bios emulators can't init non-TGA video cards across a bridge. Why?
Date: Sat, 28 Mar 1998 13:04:37 -0700 [thread overview]
Message-ID: <351D57D5.46B417ED@altatech.com> (raw)
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
reply other threads:[~1998-03-28 19:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox