On Dec 17, 2017, at 9:51 PM, Tarl Neustaedter tarl-b2@tarl.net wrote:
On 2017-Dec-17 21:25 , Jd Lyons wrote:
dev /pci/pci10de,141@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@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.
It has the open and close words, really two open words now, because we added one.
I’ll rebuild Openbios and edit out the:
feval("['] vga-driver-fcode 2 cells + 1 byte-load”);
That should keep the Fcode for VGA devices from loading…..
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you