Trying to Simulating the Interpreter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Trying to Simulating the Interpreter

vonbecmann
 
hi all,
im trying to run the InterpreterSimulator and im using

Operating System: WindowsXP Professional

SmalltalkImage current vmVersion.
>>'Squeak3.10.2 of ''5 June 2008'' [latest update: #7179]'

SmalltalkImage current imageName.
>>'D:\BC\Squeak\VMM\unix-3.11.3.image'
   (i downloaded it from the unix site, because it has VMMaker installed)
  
this image is saved as 'source.image'

i open unix-3.11.3.image  and do

(InterpreterSimulator new openOn:'source.image') test.

>> self error:  'incomaptible image format'
                      ^^
                        there's a mistake in message

source image version is 6502 but
the InterpreterSimulator expects an image version = 6504 ( self imageFormatForwardCompatibilityVersion is 6504 )

so where i could find a image version = 6504?
i tried with several images and im getting the same results.
maybe im doing something wrong.

thanks in advance.

Reply | Threaded
Open this post in threaded view
|

Re: Trying to Simulating the Interpreter

David T. Lewis
 
On Tue, Oct 20, 2009 at 05:44:15PM -0300, Bernardo Ezequiel Contreras wrote:

>  
> hi all,
> im trying to run the InterpreterSimulator and im using
>
> Operating System: WindowsXP Professional
>
> SmalltalkImage current vmVersion.
> >>'Squeak3.10.2 of ''5 June 2008'' [latest update: #7179]'
>
> SmalltalkImage current imageName.
> >>'D:\BC\Squeak\VMM\unix-3.11.3.image'
>    (i downloaded it from the unix site, because it has VMMaker installed)
>
> this image is saved as 'source.image'
>
> i open unix-3.11.3.image  and do
>
> (InterpreterSimulator new openOn:'source.image') test.
>
> >> self error:  'incomaptible image format'
>                       ^^
>                         there's a mistake in message
>
> source image version is 6502 but
> the InterpreterSimulator expects an image version = 6504 ( self
> imageFormatForwardCompatibilityVersion is 6504 )
>
> so where i could find a image version = 6504?
> i tried with several images and im getting the same results.
> maybe im doing something wrong.
>
> thanks in advance.

Hello Bernardo,

I fixed this problem recently in VMMaker. If you update to the latest
version from SqueakSource, it will be corrected. The fix was this:

> VMMaker-dtl.140.mcz Dave Lewis, 29 September 2009 4:00:38 am
> Implement #imageFormatVersion in InterpreterSimulator to allow the simulator
> to load images with closure bytecodes.

Dave