<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Eliot,<br><br>That is good news, thank you. <br><br>I will see what I can do with it. First, I need to familiarize myself with the Simulator startup process and then I will look at that var/event mechanism.<br><br>Hopefully I can get that going and then move on to fixing some plugins.<br><br><br>Cordially,<br><br><br>tty<br><div id="1"><br>---- On Thu, 16 Jan 2014 09:36:49 -0800 <b>Eliot Miranda&lt;eliot.miranda@gmail.com&gt;</b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px"> <div dir="ltr">Hi Tty,<br><div><br><br><div>On Thu, Jan 16, 2014 at 8:10 AM, gettimothy <span dir="ltr">&lt;<a subj="" mailid="gettimothy%40zoho.com" href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br> <blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br><u></u><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif">I am hosting (? correct term)&nbsp; the StackInterpreterSimulator on Squeak4.5-13352.image running Cog. <br> <br>I instruct the simulator to use a copy of that image that I have renamed to Squeak4.5.image.<br><br><br><blockquote style="border:1px solid rgb(204,204,204);padding:7px;background-color:rgb(245,245,245)"><div>| vm |<br> Transcript clear.<br>vm := StackInterpreterSimulator newWithOptions: #().<br>vm openOn: 'home/tty/usr/src/smalltalk/buildCogDevelopmentImageCog.app/Contents/Resources/Squeak4.5.image'.<br>vm <br>&nbsp;&nbsp;&nbsp; openAsMorph; <br> &nbsp;&nbsp;&nbsp; toggleTranscript;<br>&nbsp;&nbsp;&nbsp; halt;<br>&nbsp;&nbsp;&nbsp; run<br></div></blockquote> <br>The simulation runs, but the simulated World does not respond to mouse clicks (the control panel of the Simulator works just fine).<br></div></div></blockquote> <div><br></div><div>Right. &nbsp;I've not looked at this. &nbsp;It never worked for me and I think its to do with the "new" event mechanism bssed around the interruptPending inst var. &nbsp;So for now I use an image that has a read-eval-print-loop in it. &nbsp;Much better would be for the input scheme to work. &nbsp;But I've not had time or occasion to look at the Interpreter and update StackInterpreterSimulator appropriately so it responds to input.</div> <div>&nbsp;</div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif"><br>I would like to rule out a missing option in the newWithOptions: #() line <br> <br>Specifically the "type of VM options in VMBasicConstants:<br><br>#COGMTVM <br>#COGVM <br>#NewspeakVM <br>#STACKVM <br>#VMBIGENDIAN<br><br>1. To my way of thinking, since I am running a StackInterpreterSimulator, passing the option #STACKVM makes no sense. <br> 2. Also--if I remember correctly--when first running Cog on a StackVM (?) image, it prompts the user that running Cog will make the image unusable for the StackInterpreter. <br>3. Therefore telling the StackIntepreterSimulator to expect a COGVM image makes no sense either.<br> 4. Equally perplexing is the fact that the simulation does run -- it is just stuck in idle--which tells me I am incorrect about 2. above.<br><br><br>I will be poking around in the guts of things in the mean time.<br><br><br> thx<br><br>tty<br><br><br><br><br></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div> </div></div> </blockquote><br></div></body></html>