[Vm-dev] Working with Squeak 2.0

Nicolai Hess nicolaihess at gmail.com
Mon Apr 16 12:28:19 UTC 2018


2018-04-14 21:47 GMT+02:00 Clément Bera <bera.clement at gmail.com>:

>
> Just to be clear, I can run Squeak 2 and earlier, my problem is that I
> cannot run the VM simulator inside it.
>
> I have the exact same error as David T. Lewis, on multiple different VMs &
> images (Squeak 1.13 to Squeak 2.8).
>
> What is the common piece between those VM and image that break the VM
> simulator ? Could it be related to the binary read streams ? hum...
>
> Thanks for fixing Squeak 2.2
>


Hi Clément,

the earliest vm I can run on Windows(!) is 2.7

For this, I grab the windows vm, image, changes ... from
http://ftp.squeak.org/2.7/
Start the vm,
resize the display to make it smaller,
make a snaptshot with a new name 'small.image'
Now I reopen the original image and I can now load the
InterpreterSimulatorLSB with that smaller image:

(InterpreterSimulatorLSB new openOn: 'small.image') test



>
> On Sat, Apr 14, 2018 at 6:35 PM, John McIntosh <
> johnmci at smalltalkconsulting.com> wrote:
>
>>
>> If you look at ftp://ftp.smalltalkconsulting.com/
>> That has the Mac compile source from 1996 thru 2010 and a squeak 1.1
>>
>> I am sure there are metrowerks disk images about and on a 68K emulator
>> you can compile the earlier VMs
>>
>> Sent from my iPhone
>>
>> On Apr 14, 2018, at 09:27, David T. Lewis <lewis at mail.msen.com> wrote:
>>
>> On Sat, Apr 14, 2018 at 06:42:54AM +0200, Cl??ment Bera wrote:
>>
>>
>> Hi,
>>
>>
>> On Sat, Apr 14, 2018 at 12:43 AM, Stuart Cassoff <aa72 at bell.net> wrote:
>>
>>
>>
>> FWIW, I've tried out the 2.8 image with the 2.4 vm, seems to work.
>>
>>
>> Is there a reason to not prefer the latest of the 2.* ?
>>
>>
>>
>> The image works, my issue was that the VMSimulator did not work.
>>
>>
>> Well I'm just trying to get an image close to Blue book specs.
>>
>>
>>
>> Hi Cl??ment,
>>
>> I guess that the earliest Squeak images would probably be closest
>> to blue book.
>>
>> I tried running Squeak1.13u.image on an interpreter VM on Linux, then
>> opened that same image in its simulator (see attached screen capture).
>>
>> I got an out of bounds error that is probably similar to what you
>> are seeing in the Squeak 2.4 image. It is failing on the very first
>> oop in #adjustAllOopsBy: and it seems to be going wrong when it
>> calculates sizeBitsOf: for that oop (which is 8).
>>
>>   self sizeBitsOf: 8 ==>  631178496
>>
>> This looks definitely wrong but I do not understand the source of the
>> problem.
>>
>> For background, here is a summary of what images can be run on an
>> interpreter VM (but I have only done this on Linux, I am not sure if
>> you can build the VM on OS X).
>>
>>  http://lists.squeakfoundation.org/pipermail/squeak-dev/
>> 2017-January/192798.html
>>
>> You can also use SqueakJS, although will run slower so maybe not as
>> good for running InterpreterSimulator.
>>
>> Dave
>>
>> <sq.png>
>>
>>
>>
>
>
> --
> Clément Béra
> https://clementbera.github.io/
> https://clementbera.wordpress.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180416/aa182f71/attachment.html>


More information about the Vm-dev mailing list