[OpenBIOS] PIC Passthough( VGA )

Tarl Neustaedter tarl-b2 at tarl.net
Mon Dec 18 03:51:45 CET 2017


On 2017-Dec-17 21:25 , Jd Lyons wrote:
> dev /pci/pci10de,141 at 10 works as expected.
>
> But, I’m not sure about the next command, should it be
>
> : open true ; with a space between : and open, that returns "open is not unique".

Oh (yes, the space is needed. ": " says the next token is the name of a
method to define). That means it already has an open method, that
shouldn't happen unless it has already interpreted an FCode.

>  Maybe running up against the generic FCode that Openbios loads for all VGA devices, it already has the open word?

Could well be.

Since it already has an open method, try:

" /pci/pci10d3,141 at 10" open-dev

(I had it backwards before. You need the string as an argument to open-dev).

Assuming that works, try "words" in there to see what's defined. If only
open is defined, then try doing the load and byte-load operations. If it
has a bunch of methods, that suggests that that openbios' internal fcode
has already been applied to it, and you'll have to disable that somehow.




More information about the OpenBIOS mailing list