[OpenBIOS] PIC Passthough( VGA )
Segher Boessenkool
segher at kernel.crashing.org
Mon Dec 18 11:01:09 CET 2017
On Mon, Dec 18, 2017 at 03:22:11AM -0500, Jd Lyons wrote:
> > On Dec 18, 2017, at 2:44 AM, Segher Boessenkool <segher at kernel.crashing.org> wrote:
> > Exactly. And I gave a (not super great) implementation above, enough to
> > see if you get further :-)
>
> Ok, I see, the code you gave was a command for Openbios, I kept trying to find where to add it to the source, thinking it was C code;-)
>
> Only got one byte further:
>
>
>
> (offset) 5
> 401000d : (compile) [ 0xe05 ]
> 401000e : (compile) b(endcase) [ 0xc5 ]
> 401000f : (compile) over [ 0x48 ]
> 4010010 : (compile) b(to) [ 0xc3 ]
> 4010014 : (compile) [ 0xe36 ]
> 4010016 : (compile) encode+ [ 0x112 ]
> 4010017 : (compile) 2dup [ 0x53 ]
> 4010018 : (compile) b(to) [ 0xc3 ]
> 401001b : (compile) b(to) [ 0xc3 ]
> 401001f : (compile) [ 0xc7b ]
> 4010021 : (compile) property [ 0x110 ]
> 4010022 : (compile) b(;) [ 0xc2 ]
> 4010023 : b(') [ 0x11 ]
> 4010026 : b(to) [ 0xc3 ]
> 401002a : [ 0xe34 ]
> 401002c : [ 0xdff ]
>
> byte-load: exception caught!
> ok
dff does:
: xdff
" vendor-id" get-my-property IF ABORT THEN
decode-int -rot 2drop dup TO x93b 10de <> IF ABORT THEN
" device-id" get-my-property IF ABORT THEN
...
so it seems the device-id or vendor-id propertie don't exist, or don't
have the right value? Or you don't have a current instance, perhaps.
Segher
More information about the OpenBIOS
mailing list