Chris, maybe too late, but could you solve it? If true, please let us know how.<br><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 10:05 PM, Chris Cunnington <span dir="ltr"><<a href="mailto:smalltalktelevision@gmail.com">smalltalktelevision@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
I'm trying Craig's ( <a href="http://wiki.squeak.org/squeak/2465" target="_blank">http://wiki.squeak.org/squeak/2465</a> )
instructions for starting the simulator. In principle it seems
pretty straight ahead. Make two images and then start one from
within the other. I "SaveAs..." to make two images (source.image and
stimulator.image), execute:<br>
<br>
(InterpreterSimulatorLSB new openOn: 'source.image') test<br>
<br>
And then I get an "Incompatible Image Format" error. Any suggestions
on how to resolve that would be great. This does seem to be how vms
are hacked. I have a feeling it's not the only way, but it must be
the coolest. <br>
<br>
Chris <br>
<br>
<br>
openOn: fileName extraMemory: extraBytes<br>
<br>
... snip ...<br>
<br>
(self readableFormat: version)<br>
ifTrue: [swapBytes := false]<br>
ifFalse: [(version := self byteSwapped: version) = self
imageFormatVersion<br>
ifTrue: [swapBytes := true]<br>
ifFalse: [self error: '<b>incompatible image
format</b>']].
</div>
<br>_______________________________________________<br>
VM-beginners mailing list<br>
<a href="mailto:VM-beginners@lists.squeakfoundation.org">VM-beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners</a><br>
<br></blockquote></div><br>