Are you using an ISA VGA adapter or a PCI/AGP video adapter? The ISA adapter would be easier, setting up real mode and make a FAR CALL to the OPROM at address 0x000C0003. (Make sure your stack pointers are setup.) PCI is a lot more complicated. Probe the VGA BARs and assign the required I/O and memory resources. Probe the PCI expansion ROM BAR and enable it at a convenient memory location. Next you'll need to access the PAM registers in the 440GX and setup a read/write memory region starting at 0x000C0000, at least as long as the expansion OPROM. Copy the OPROM down into the read/write shadow memory. Turn off the expansion ROM, setup for real mode, then make a FAR CALL to the OPROM just like the ISA VGA case. When the VGA OPROM returns check the size of the OPROM and set the PAM registers in the 440GX to read-only mode. Now you should have video. Easy as pie.
Dave
-----Original Message----- From: owner-openbios@elvis.informatik.uni-freiburg.de [mailto:owner-openbios@elvis.informatik.uni-freiburg.de]On Behalf Of Ronald G. Minnich Sent: Tuesday, February 15, 2000 6:18 PM To: openbios@elvis.informatik.uni-freiburg.de Subject: [OpenBIOS] success on l440gx+ ram
I forgot to put a 0x17 in reg 0x76 after the mode set command. Sheesh.
dram is now working fine. I am actually in protected mode in the 32-bit openbios startup, getting ready to gunzip linux and jump to it.
Now the trick is to figure out why I have no display :-)
All I want for now is a vga-compatible thing, very limited in scope. So I want the absolute minimum hardware only. Any hints would be welcome.
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message