On 13 Feb 2014, at 05:46, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Stefan!
On Wed, Feb 12, 2014 at 12:35 PM, Stefan Marr <smalltalk@stefan-marr.de> wrote: Hi:
Below you see the result of today, the simulator for the StackInterpreter running in a Pharo 3 image.
Fab! This is great.
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.
How can anyone do anything significant with the VM without getting the simulator to work? [ ;-) ] You know about the first attempt at making a 64-bit VM for HP don't you? A nightmare tale :-).
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.
As you can see in the screenshot, 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
Hmm. What's the easiest way to map this to a Monticello mcz so I can integrate your changes back into my packages?
give me some days⦠I have in my todo list to create a jenkins job to upload the mcz to source.squeak.org (you asked for it more or less in december, but I didnât had the time until now, sorry). Esteban
More to come soon. Best regards Stefan
<simulator.jpeg> -- Stefan Marr INRIA Lille - Nord Europe http://stefan-marr.de/research/
-- best, Eliot