Hi Juan,<br><br><div class="gmail_quote">On Mon, Oct 26, 2009 at 11:07 AM, Juan Vuletich <span dir="ltr">&lt;<a href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Eliot Miranda wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Mon, Oct 26, 2009 at 6:01 AM, Juan Vuletich &lt;<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a> &lt;mailto:<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a>&gt;&gt; wrote:<br>

<br>
<br>
    Hi Folks,<br>
<br>
    I&#39;ve just opened <a href="http://bugs.squeak.org/view.php?id=7407" target="_blank">http://bugs.squeak.org/view.php?id=7407</a> , with a<br>
    description of the problem, several tests (based on Henrik&#39;s<br>
    scripts) and the fix I propose.<br>
<br>
    David T. Lewis wrote:<br>
<br>
         On Sat, Oct 24, 2009 at 10:40:17AM -0300, Juan Vuletich wrote:<br>
         <br>
            What worries me a bit is the other changes I needed to do<br>
            to be able to run the Smalltalk BitBlt simulation and to<br>
            do the translation. These are:<br>
            BitBltSimulator &gt;&gt; #oopForPointer:   &quot;May be harmless&quot;<br>
            CArrayAccessor &gt;&gt; #long32At:         &quot;Why is this needed?&quot;<br>
            CArrayAccessor &gt;&gt; #long32At:put:      &quot;Why is this needed?&quot;<br>
               <br>
<br>
        I am just guessing here, but I think that BitBltSimulator<br>
        expects to<br>
        be used with an interpreter simulator, so perhaps if you<br>
        initialize it<br>
        with a simulator there will be no need to add these methods.<br>
<br>
         sim := BitBltSimulator new setInterpreter:<br>
        InterpreterSimulator new<br>
<br>
        Dave<br>
         <br>
<br>
    Given that BitBltSimulation calls #isIntegerObject: it looks like<br>
    the ivar interpreterProxy should hold an InterpreterProxy (as it<br>
    already does) and not an InterpreterSimulator. I did not add my<br>
    patch to make simulation work to Mantis, as I&#39;m not sure about them.<br>
<br>
<br>
When simulating the interpreterProxy inst var should hold the InterpreterSimulator, not the proxy.<br>
 <br>
</blockquote>
<br></div></div>
Maybe it should be an InterpreterSimulator when simulating the whole interpreter. When calling #copyBitsSimulated, it is set to an InterpreterProxy in #copyBitsFrom: .<br>
<br>
Anyway, I&#39;m asking for help on making #copyBitsSimulated work again, like it should do when called from BitBltTest. If nobody can help with that, I guess I&#39;ll open a Mantis issue for this problem, in the hope that some day it gets fixed.</blockquote>
<div><br></div><div>Well with my current VM I see no problems; all 10 tests are green.  What is the bug that you see?  How can I reproduce it?</div><div><br></div><div>tia</div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    Andreas, perhaps you (or anyone knowledgeable enough) can try<br>
    making the bitblt simulator tests included in the Mantis issues<br>
    work. BTW, I moved these tests to VMMaker, as the current version<br>
    in trunk does test nothing if VMMaker is not loaded. That&#39;s why<br>
    these old tests didn&#39;t catch the problem of BitBltSimulator not<br>
    working anymore.<br>
<br>
    Cheers,<br>
    Juan Vuletich<br>
<br>
<br>
</blockquote>
<br></div>
Cheers,<br><font color="#888888">
Juan Vuletich<br>
</font></blockquote></div><br>