<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 29, 2017, at 3:27 AM, Tarl Neustaedter <<a href="mailto:tarl-b2@tarl.net" class="">tarl-b2@tarl.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class="">
    <div class="moz-cite-prefix">On 2017-Dec-29 02:01 , Jd Lyons wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:4E77D30D-91C4-418C-9D27-DB59CAE7C613@yahoo.com" class="">
      <pre wrap="" class="">“ <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>pci<span class="moz-txt-tag">/</span></i>@2” open-dev to my-self

Not sure how I can get the value of my-self at the time of the exception?</pre>
    </blockquote>
    <br class="">
    Well, for a first pass, let's take a look at them before the FCode
    runs. After the above line, say<br class="">
    <br class="">
    my-self .<br class="">
    my-parent .<br class="">
    my-space .<br class="">
    <br class="">
    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).<br class="">
    <br class="">
    my-space should be the high-order bits of the PCI address space,
    probably 0x1000 since this is device 2.<br class=""></div></div></blockquote><div><br class=""></div><div><div>C>> annot manage 'VGA controller' PCI device type 'display':</div><div>>>  10de 141 (3 0 0)</div><div><br class=""></div><div>>> =============================================================</div><div>>> OpenBIOS 1.1 [Dec 29 2017 00:16]</div><div>>> Configuration device id QEMU version 1 machine id 1</div><div>>> CPUs: 1</div><div>>> Memory: 1536M</div><div>>> UUID: 00000000-0000-0000-0000-000000000000</div><div>>> CPU type PowerPC,G4</div><div>milliseconds isn't unique.</div><div>ms isn't unique.</div><div>Welcome to OpenBIOS v1.1 built on Dec 29 2017 00:16</div><div><br class=""></div><div>0 > dev /pci ls </div><div>fff5942c mac-io@c</div><div>fff5c374 usb@d</div><div>fff5c6e0 pci10de,141@e</div><div>fff5ca24 rtl8139@f</div><div> ok</div><div>0 > " /pci/@e" open-dev to my-self  ok</div><div>0 > my-self . 5fc5ac34  ok</div><div>0 > my-parent . 5fc5abfc  ok</div><div>0 > my-space . 0  ok <<---Seems my-space isn't returning a correct value?</div><div>0 > </div><div class=""><br class=""></div></div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">
    <br class="">
  </div>

-- <br class="">OpenBIOS                 <a href="http://openbios.org/" class="">http://openbios.org/</a><br class="">Mailinglist:  <a href="http://lists.openbios.org/mailman/listinfo" class="">http://lists.openbios.org/mailman/listinfo</a><br class="">Free your System - May the Forth be with you</div></blockquote></div><br class=""></body></html>