Working with InterpreterSimulator

Mark Wai mwai at ibm.net
Wed Jan 6 20:08:19 UTC 1999


At 09:03 AM 1/6/99 -0800, Tim Rowledge wrote:
>If you are running on a
>little endian  machine (ie pretty well anything you are likely to have
>around except a Mac), then you need to fetch
>http://sumeru.stanford.EDU/tim/pooters/SqFiles/deltas/VMsimulator.6Nov.cs
>which adds a subclass of InterpreterSimulator that fixes the problems. (At
>least, for me and several others doing similar things)

It works well for me on my Windoze box.  If you have little endian machine,
you can't run the Simulator without Tim's patch, period.

>
>If you have the patience, any image can be simulated - but remember that
>big images will take a while to load and startup, and you will neeed to
>specify lots of memory on the command line.

There is a 'mini' image that suit this purpose well (especially for slow
Windoze machine like mine).  It has been referenced by Dan Ingalls in
previous post.  The mini image can be downloaded from:

        ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/SmallSqueaksForPDAs/MiniSq
ueak2.2/

In order to see immediate action, try:

        (InterpreterSimulator new openOn: 'mini.image') test

and of course, if you are using little endian machine (and after file-in
Tim's patch), you need to substitute InterpreterSimulator in the above with
InterpreterSimulatorLSB.

Good luck and enjoy

-- Mark Wai





More information about the Squeak-dev mailing list