Simulating the VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Simulating the VM

Sean P. DeNigris
Administrator
I tried to simulate the VM by executing:

        InterpreterSimulator simulate: 'path/to/subject.image'.

The spoon image hung after the transcript showed:

<Running full GC ... done>
Looking for module Flow ... loaded.............
Looking for module MiscPrimitivePlugin ... loaded

What should I do differently?

Thanks.
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

re: Simulating the VM

ccrraaiigg

Hi Sean--

> I tried to simulate the VM by executing:
>
> InterpreterSimulator simulate: 'path/to/subject.image'.
>
> The spoon image hung after the transcript showed:
>
> <Running full GC ... done>
> Looking for module Flow ... loaded.............
> Looking for module MiscPrimitivePlugin ... loaded
>
> What should I do differently?

     That's the right behavior. :)  The subject image is headless, so
you won't see anything new on the display. And while the simulator is
running, the UI process of the image in which you're running it is
blocked. The simulated subject image is listening on (the real) TCP port
62982, waiting for another image to connect to it; you can see this by
checking the output of 'netstat -an' at a shell.


     thanks for trying this!

-C

--
Craig Latta
www.netjam.org/resume
+31   6 2757 7177
+ 1 415  287 3547

_______________________________________________
Spoon mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/spoon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: re: Simulating the VM

Sean P. DeNigris
Administrator
Craig Latta wrote
     That's the right behavior. :)
Thanks Craig. I tried again on a copy of the "Spoon 3 alpha 3.image" and got very excited when a black rectangle appeared, but then got a non-boolean proceed for truth error from    
    FilePluginSimulator>>primitiveFileClose
        ...
        interpreterProxy failed ifFalse: [ self sqFileClose: file ].

which seems to lead InterpreterPrimitives>>failed to return primFailCode, which is 0.

I changed #failed to always return false, but then got "MessageNotUnderstood: BitBltSimulator>>long32At:".

Slowly making progress...

Sean
Cheers,
Sean
Loading...