[squeak-dev] LittleSmalltalk and loading od 2004 .pr

H. Hirzel hannes.hirzel at gmail.com
Fri Jun 29 22:18:47 UTC 2018


the discussion about endianness and re-saving the project brought me
to the idea of doing the following.

a) Take a Squeak 3.10.2 image such as the
http://folk.uio.no/trygver/assets/BabyIDE.zip version from Trygve Reenskaug

use an interpreter VM to open it.  (this is the VM you get when you
install it from the 'software center' in Ubuntu, i.e. the interpreter

b) start Squeak 3.10.2 with
      squeak 7179-basic.356publ.image

c) drop LittleSmalltalk.001.pr  onto the desktop of the BabyIDE
(Squeak 3.10.2) version.

d) save the project locally (I have chosen 'include change sets')
    In the Squeaklets folder there is now  LittleSmalltalk.002.pr

e) drop   LittleSmalltalk.002.pr onto the desktop of Squeak 5.2a
latest update: #18117

This now does NO LONGER bring up the endianness error message. It
brings up message which is well known in the meantime about

See this thread


Change of MethodProperties. An issue were Eliot M. commented on it.

My suggestion is to make the project fully work in 3.10.2 BabyIDE,
that will allow also to create some nice diagrams.

I understand that just some files are missing in the image directory.

Then the project might be re-done it in 5.2a using the insight gained
doing the work in 3.10.2


On 6/29/18, Edgar De Cleene <edgardec2005 at gmail.com> wrote:
> Yes, i agree with your analysis.
> As the original is very old , is probably saved in a G4, so big endian.
> The 3.10.2 which do not have this problem uses the JMM Squeak 4.2.5beta1U
> which runs on both G4 and Intel Macs.
> No idea if how many projects could be valuable to rescue.
> Is not a problem,
> Thanks
>> On 29 Jun 2018, at 18:44, David T. Lewis <lewis at mail.msen.com> wrote:
>> Squeak images are saved with the native byte ordering of the machine
>> from which they were saved (https://en.wikipedia.org/wiki/Endianness
>> <https://en.wikipedia.org/wiki/Endianness>).
>> I believe that this is true of image segments also.
>> The platforms that we use today (Linux, Windows, OS X) are all
>> little-endian,
>> but the older Mac machines were big-endian. If the project was originally
>> saved from a Mac, then it was probably saved in a big-endian format.
>> It is possible that Squeak has lost the ability to handle big-endian
>> images, and it may be that projects saved from older Macs cannot be
>> loaded into Squeak today.
>> If that is the case (and I am only guessing), then a possible workaround
>> would be to load the old projects into an old Squeak image, save the
>> project again to a new file, and then load that new project file into
>> a modern Squeak image.
>> Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Loading_LittleSmalltalk.002.pr_saved_in_3.10.2_BabyIDE_Screenshot_2018-06-30.png
Type: image/png
Size: 84124 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180630/b72895e7/attachment-0001.png>

More information about the Squeak-dev mailing list