On Dec 29, 2017, at 3:27 AM, Tarl Neustaedter <tarl-b2@tarl.net> wrote:

On 2017-Dec-29 02:01 , Jd Lyons wrote:
/pci/@2” open-dev to my-self

Not sure how I can get the value of my-self at the time of the exception?

Well, for a first pass, let's take a look at them before the FCode runs. After the above line, say

my-self .
my-parent .
my-space .

my-self and my-parent should be similar pointers into the forth dictionary, where the framework has allocated data for the instances of the video card node and the pci node (respectively).

my-space should be the high-order bits of the PCI address space, probably 0x1000 since this is device 2.

C>> annot manage 'VGA controller' PCI device type 'display':
>>  10de 141 (3 0 0)

>> =============================================================
>> OpenBIOS 1.1 [Dec 29 2017 00:16]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 1536M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
ms isn't unique.
Welcome to OpenBIOS v1.1 built on Dec 29 2017 00:16

0 > dev /pci ls 
fff5942c mac-io@c
fff5c374 usb@d
fff5c6e0 pci10de,141@e
fff5ca24 rtl8139@f
 ok
0 > " /pci/@e" open-dev to my-self  ok
0 > my-self . 5fc5ac34  ok
0 > my-parent . 5fc5abfc  ok
0 > my-space . 0  ok <<---Seems my-space isn't returning a correct value?
0 > 



--
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you