On Fri, Sep 23, 2011 at 6:40 AM, Nick. <[hidden email]> wrote: Hi guys! Weird. Something I remember about the simulator is that you need to run it with a VM that has the BochsIA32Plugin. Try Eliot's VM that will have it for sure. But anywya, I doesn't look related to your particula problem. When I tried to load VMMaker in the Pharo 1.3 OneClick release, I got Yes, because you need some changes in order to make it work. I have attached those changes in the post. But those changes should be already integrated in latests Pharo 1.3. You don't have that error in the image I put of 1.2 because that image comes already with such changes. Am I doing something wrong? Well...it depends on what you want. FOr example, if you build a stack VM then you should use instead StackInterpreterSimulator. So..for the Cog VM I guess it is CogVMSimulator. If you go to here: http://www.squeakvm.org/svn/squeak/branches/Cog/image/ you can see http://www.squeakvm.org/svn/squeak/branches/Cog/image/VM%20Simulation%20Workspace.text It might be outdated, but it can be a start point. cheers Thanks in advance! -- Mariano http://marianopeck.wordpress.com |
I've updated the thread with steps to reproduce the issue along with the PharoDebug.log files generated.
http://forum.world.st/Got-Error-basicNew-failed-when-running-InterpreterSimulator-tp3835723p3866329.html Cheers, Nick |
In reply to this post by Mariano Martinez Peck
Hi Nick. Unfortunatly, few people use the interpreter. Even less (if none) do it in Pharo. The only ones I know that use the simulator right now is Eliot in Squeak and Graig in Spoon. So...as you can see, the simulator is implemented in image side. Since Eliot uses Squeak for his development, is more likely the simulator will work easier in Squeak than Pharo. Of course that for the Pharo community it would be AWESOME to be able to run the simulator. So if you can help with that, excellent. As an example, in Pharo you have the error. But in Squeak you have: String asDisplayText "Answer a DisplayText whose text string is the receiver." ^DisplayText text: self asText :) So... my suggestion? start with squeak. Once you make it work, please, update it in order to make it work in Pharo :) In your case, I would try with 3 squeak images: 4.2, 4.3 and the one eliot uses in: http://www.squeakvm.org/svn/squeak/branches/Cog/image/ (VMMaker-Squeak4.1.image) cheers On Mon, Oct 3, 2011 at 4:32 AM, Nick. <[hidden email]> wrote: Hi Guys, -- Mariano http://marianopeck.wordpress.com |
On Thu, Oct 13, 2011 at 5:26 AM, Nick. <[hidden email]> wrote: Hi Mariano, Wow Nick. Your experience is really really helpful. *Simulator in Squeak 2.6/2.7 is working* Can you put the exact code to initialize all this points of 1) 2) and 4) ? I mean, can you provide the final script you had to use before being able to do the (StackInterpreterSimulator new openOn: 'source.image') test. 5) Fifth problem: Two MNUs in StackInterpreter for 5) and 6) .. which version of VMMaker are you using? because maybe this was already fixed in new versions?
No, I have no idea :( but maybe someone does. *FileOut of the changes described* Excellent! At the end you can also provide an image (that mine) with those changes + a workspace with all the needed initialize code and the snippet to start the simulator. Cheers Cheers and thanks in advance! -- Mariano http://marianopeck.wordpress.com |
Free forum by Nabble | Edit this page |