Awesome. I'll try your code. And a 1.2 to see a screen :-) One more step to VM understanding here! Phil On Wednesday, February 12, 2014, 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.
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.
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
More to come soon. Best regards Stefan
-- Stefan Marr INRIA Lille - Nord Europe http://stefan-marr.de/research/
-- --- Philippe Back Visible Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller