Hi,
where can I find detailed Information on the Squeak image format? As well as information on the difference between Squeak 2.2 and Squeak 3.9 (3.10) image formats. thanks in advance robert |
On 25.04.2008, at 10:57, Robert Wierschke wrote:
> Hi, > > where can I find detailed Information on the Squeak image format? See Interpreter>>writeImageFile: Or do you mean the object memory layout? > As well as information on the difference between Squeak 2.2 and > Squeak 3.9 (3.10) image formats. I believe there are none. Or very insignificant ones if at all. - Bert - |
In reply to this post by Robert Wierschke-3
Hi Robert,
on Fri, 25 Apr 2008 10:57:24 +0200, Robert Wierschke you wrote: > Hi, > > where can I find detailed Information on the Squeak image format? Traditionally a new .image (+/- format changes) is born as the result of running SystemTracer, a recent one is mentioned in - http://lists.squeakfoundation.org/pipermail/squeak-dev/2007-November/122816.html which also points to a corresponding wiki page. /Klaus > As well as information on the difference between Squeak 2.2 and Squeak > 3.9 (3.10) image formats. > > thanks in advance > robert |
In reply to this post by Bert Freudenberg
---------- Forwarded message ---------- From: Robert Wierschke <[hidden email]> Date: 2008/4/25 Subject: Re: [squeak-dev] Re: Where can I find details on the Squeak image format? To: The general-purpose Squeak developers list <[hidden email]> 2008/4/25 Bert Freudenberg <[hidden email]>:
Both. I'm trying to implement an image reader/writer hence I need to no the exact layout of the objects in the image and the form of the image itself. |
In reply to this post by Bert Freudenberg
Sorry but is "Interpreter" the correct name? I can't find such a class in my Squeak 3.9, Squeak 3.9 dev or my old Squeak 2.2 image.
|
On 25.04.2008, at 12:07, Robert Wierschke wrote: > Sorry but is "Interpreter" the correct name? I can't find such a > class in my Squeak 3.9, Squeak 3.9 dev or my old Squeak 2.2 image. > > 2008/4/25 Bert Freudenberg <[hidden email]>: > > See Interpreter>>writeImageFile: It's in the VMMaker package now. 2.2 should have it though, unless it was stripped out. - Bert - |
El 4/25/08 7:15 AM, "Bert Freudenberg" <[hidden email]> escribió: > > On 25.04.2008, at 12:07, Robert Wierschke wrote: > >> Sorry but is "Interpreter" the correct name? I can't find such a >> class in my Squeak 3.9, Squeak 3.9 dev or my old Squeak 2.2 image. >> >> 2008/4/25 Bert Freudenberg <[hidden email]>: >> >> See Interpreter>>writeImageFile: > > > It's in the VMMaker package now. 2.2 should have it though, unless it > was stripped out. > > - Bert - I add VMMaker (of 3.8) in the FunSqueak.6 (3.10 based) image, but no extensive test, only the packages load and seems to work. So here you could have some for play and send feedback. Anyway , IMHO driving other image only could work if the target image is very small. Maybe Pavel kernel is a good candidate... Or the Dan mini 2.2 Edgar |
In reply to this post by Bert Freudenberg
Certainly here:
http://www.rowledge.org/tim/squeak/OE-Tour.html On Apr 25, 2008, at 11:12 AM, Bert Freudenberg wrote: > On 25.04.2008, at 10:57, Robert Wierschke wrote: > >> Hi, >> >> where can I find detailed Information on the Squeak image format? > > See Interpreter>>writeImageFile: > > Or do you mean the object memory layout? > >> As well as information on the difference between Squeak 2.2 and >> Squeak 3.9 (3.10) image formats. > > > I believe there are none. Or very insignificant ones if at all. > > - Bert - > > > Mth |
In reply to this post by Robert Wierschke-3
Can you tell us (if not secret what you want to do).
Because once you read the image you should run it ;) Stef On Apr 25, 2008, at 12:07 PM, Robert Wierschke wrote: > Sorry but is "Interpreter" the correct name? I can't find such a > class in my Squeak 3.9, Squeak 3.9 dev or my old Squeak 2.2 image. > > 2008/4/25 Bert Freudenberg <[hidden email]>: > > See Interpreter>>writeImageFile: > > > > |
In reply to this post by Bert Freudenberg
I don't find the VMMaker package in the Squeak3.9 final or Squak3.9 dev image. Is there a way to load these packages into the image?
2008/4/25 Bert Freudenberg <[hidden email]>:
|
2008/4/25 Robert Wierschke <[hidden email]>:
> I don't find the VMMaker package in the Squeak3.9 final or Squak3.9 dev > image. Is there a way to load these packages into the image? > Yes, these packages can be found at http://www.squeaksource.com/VMMaker > > > 2008/4/25 Bert Freudenberg <[hidden email]>: > > > > > > > > > > > On 25.04.2008, at 12:07, Robert Wierschke wrote: > > > > > > > Sorry but is "Interpreter" the correct name? I can't find such a class > in my Squeak 3.9, Squeak 3.9 dev or my old Squeak 2.2 image. > > > > > > 2008/4/25 Bert Freudenberg <[hidden email]>: > > > > > > See Interpreter>>writeImageFile: > > > > > > > > > It's in the VMMaker package now. 2.2 should have it though, unless it was > stripped out. > > > > - Bert - > > > > > > > > > > > > > -- Best regards, Igor Stasenko AKA sig. |
On 25.04.2008, at 17:05, Igor Stasenko wrote:
> 2008/4/25 Robert Wierschke <[hidden email]>: >> I don't find the VMMaker package in the Squeak3.9 final or Squak3.9 >> dev >> image. Is there a way to load these packages into the image? >> > Yes, these packages can be found at http://www.squeaksource.com/ > VMMaker Well, the versions there are severely outdated, but for the image format question that is no problem indeed. - Bert - |
In reply to this post by Robert Wierschke-3
On 25-Apr-08, at 7:58 AM, Robert Wierschke wrote: > I don't find the VMMaker package in the Squeak3.9 final or Squak3.9 > dev image. Is there a way to load these packages into the image? I hope I don't sound rude here, but if you're so new to using Squeak that you haven't yet had to learn about loading packages etc. you may have quite a bit of trouble understanding enough of the system to start hacking image formats. There is already an image reader and writer, as well as the SystemTracer for writing a differently formatted image. Once you have the VMMaker package you will find it includes all you need (well, I won't promise there aren't bugs) to read an image into a simulation of the VM, run it and write it. IIRC Craig has probably been the most recent user of simulation so hopefully he can chime in with more info. When you have an image loaded into the simulator it is possible to find out all sorts of things about it, though more tools might be interesting. I vaguely remember reading of some code to remotely access image files being mentioned some time ago; perhaps Yoshiki or Takashi can help? It would be very helpful if you could explain what you want to do with the image. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim How was Thomas J. Watson buried? 9 edge down. |
In reply to this post by Robert Wierschke-3
> > I don't find the VMMaker package in the Squeak3.9 final or Squak3.9
> > dev image. Is there a way to load these packages into the image? > > I hope I don't sound rude here, but if you're so new to using Squeak > that you haven't yet had to learn about loading packages etc. you may > have quite a bit of trouble understanding enough of the system to > start hacking image formats. Back in 2.3 era, I didn't know anything about Smalltalk/Squeak internal (and I thought that it was a dead language) but managed to port Squeak VM to a platform. If there modules and packages, etc. existed, I wouldn't be able to pull that off^^; > There is already an image reader and writer, as well as the > SystemTracer for writing a differently formatted image. Once you have > the VMMaker package you will find it includes all you need (well, I > won't promise there aren't bugs) to read an image into a simulation of > the VM, run it and write it. IIRC Craig has probably been the most > recent user of simulation so hopefully he can chime in with more info. > When you have an image loaded into the simulator it is possible to > find out all sorts of things about it, though more tools might be > interesting. > > I vaguely remember reading of some code to remotely access image files > being mentioned some time ago; perhaps Yoshiki or Takashi can help? That is my ImageBrowser thing. That does use some knowledge in CompiledMethod, MethodDictonary, etc. > It would be very helpful if you could explain what you want to do with > the image. Me, too. -- Yoshiki |
Free forum by Nabble | Edit this page |