<div dir="ltr">Hi David,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 7:43 PM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Mon, Jan 12, 2015 at 04:52:32PM +0100, Bert Freudenberg wrote:<br>
> On 12.01.2015, at 01:47, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
> ><br>
> > I made a minor update to the SystemTracer that allows it to convert a 64-bit<br>
> > image back to 32-bit format, and it worked perfectly with my working Squeak<br>
> > image that has been in 64-bit format for several months now.<br>
><br>
> Nice!<br>
><br>
> > The resulting 32-bit image must be opened first using an interpreter VM,<br>
> > after which it can be run normally with a Cog VM. Tracing should be done<br>
> > using an interpreter VM.<br>
><br>
> Why is that?<br>
><br>
> - Bert -<br>
><br>
<br>
</div></div>The issue was Float word ordering differences in Cog/StackInterpreter. I made<br>
an update to SystemTracer that mostly handles this, the main benefit being<br>
that Cog can now be used to execute a much faster system trace from 32-bit<br>
image to 64-bit 68002 (or the mythical 68003) image, non-Spur:<br>
<br>
Name: SystemTracing-dtl.27<br>
Time: 15 January 2015, 10:20:22.019 pm<br>
<br>
Allow 32-bit images to be traced to 64-bit using 32-bit Cog VM. Handle float<br>
word ordering differences between StackInterpreter and Interpreter. Produces<br>
a runnable 68003 image, 64-bit object format, closures, and Cog float word<br>
ordering. Requires package ImageFormat from VMMaker repository, else error<br>
is raised indicating how to hard code a workaround. This seems a reasonable<br>
dependency given the increasing number of image formats in circulation.<br>
<br>
Trace from 64-bit image to 32-bit still requires an initial load and save<br>
using an interpreter VM prior to running with Cog, reason unknown.<br>
<br>
Dave<br></blockquote><div><br></div><div>Great!</div></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>