VM Simulator is now running Pharo in Pharo

Stefan Marr is doing an important job for the VM. He worked on the virtual machine simulator.

Here is the announce of Stefan:

Now the simulator for the StackInterpreter running in a Pharo 3 image is running 🙂

Over the last years, people have been tinkering with the simulator from time to time, but I have the feeling everyone gave up before the thing was fully functioning, and not even the trivial things have found their way back into the VM code base.
I am aware that Phil was busy with it recently, but I think there was also someone else posting notes here.

Would be great if those people could send me their change sets so that I can try getting everything working again.

The simulator loads up properly, and executes the first 10,000,000 bytecodes.
Which is enough to make it notice that a primitive fails, and to pop up the error dialog.
However, it is a Pharo 1.2 image. Later images trigger some bug, I haven’t identified yet. They execute code, but don’t manage to bring up the display.

Thanks to having a unified code repository, everything I got so far (minus a few small changes) is here:
https://github.com/smarr/pharo-vm/tree/fixes/simulator-bit-rot

More to come soon.
Best regards
Stefan

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: