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 -
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 bert@freudenbergs.de:
See Interpreter>>writeImageFile:
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 bert@freudenbergs.de:
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" bert@freudenbergs.de 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 bert@freudenbergs.de:
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
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 bert@freudenbergs.de:
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 bert@freudenbergs.de:
See Interpreter>>writeImageFile:
It's in the VMMaker package now. 2.2 should have it though, unless it was stripped out.
- Bert -
2008/4/25 Robert Wierschke wierob83+squeak@googlemail.com:
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 bert@freudenbergs.de:
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 bert@freudenbergs.de:
See Interpreter>>writeImageFile:
It's in the VMMaker package now. 2.2 should have it though, unless it was
stripped out.
- Bert -
On 25.04.2008, at 17:05, Igor Stasenko wrote:
2008/4/25 Robert Wierschke wierob83+squeak@googlemail.com:
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 -
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; tim@rowledge.org; http://www.rowledge.org/tim How was Thomas J. Watson buried? 9 edge down.
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
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 bert@freudenbergs.de:
See Interpreter>>writeImageFile:
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
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....
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
squeak-dev@lists.squeakfoundation.org