Squeak VM for iPAQ and other Windows CE platforms
This page describes
how to run Squeak on iPAQ and other Windows
CE platforms.
Squeak on iPAQ
Recently, Andreas Raab and others reported problems
aruond GAPI on iPAQ 38xx. And also Henrik Gedenryd reported that the
GAPI-enabled VM doesn't work on E-200 properly and I suspect this is due to the
difference of the frame buffer geometry.
If SqueakVM-alpha6-030206-PPC-ARM.zip
crashes on your iPAQ or doesn't look right, try SqueakVM-alpha6-030206-PPC-ARM-noGAPI.zip
instead. The display update will be (significantly) slower, but it should work
at least.
If yours is a Pocket PC 2002 device, then try
SqueakVM-alpha6-030206-PPC2002-ARM.zip
Squeak on iPAQ 36xx
- Get SqueakVM-alpha6-030206-PPC-ARM.zip,
decompress the file and rename the file to something like "Squeak.exe".
- Get GAPI
library from the Microsoft and extract "gx.dll" file from "Arm" folder.
- Copy "Squeak.exe" to "\Windows\Start Menu" on your iPAQ. Some people
prefer to put the actual file at somewhere else, such as "\My
Documents\Personal", and put a short cut to the file at "\Windows\Start Menu".
In either case, Squeak.exe will show up in the start menu.
- Copy "gx.dll" to "\Windows" folder.
Squeak on other iPAQ and other Pocket PC 2002 machines
- Get SqueakVM-alpha6-030206-PPC2002-ARM.zip,
decompress the file and rename the file to something like "Squeak.exe".
- Copy "Squeak.exe" to "\Windows\Start Menu" on your Pocket PC. Some people
prefer to put the actual file at somewhere else, such as "\My
Documents\Personal", and put a short cut to the file at "\Windows\Start Menu".
In either case, Squeak.exe will show up in the start menu.
Squeak Image Files
You might want to have a Squeak image files that are
suitable for iPAQ. Of course, you can always make such image by yourself, but
there are easier ways to get started.
- You can grab such image from Kevin Fisher's TinySqueak.image from his web site.
- You can strip-down the vanilla 3.0 image with Jerry Archibald's
MajorShrinkFor3.0.cs. Get Squeak3.0-3552.zip
and MajorShrinkFor3.0.cs.gz
from the Squeak
FTP site, file in the CS file into the image and follow the instructions.
- If you want to go one step further, get a
change set by Sumi-san (sumi@seagreen.ocn.ne.jp) and file it into the
image created above.
External Memory Card for iPAQ
You can use external memory card for two
purposes; one is to store more data and image files, and other is to increase
the Squeak heap size.
When Squeak looks for the image files, it scans folders under "\My Documents"
on the internal memory and the external memory, if it exists. Because of this,
you need to create "\My Documents" folder on the card. I'd recommend to create
"Business", "Personal" and "Template" under "\My Documents" folder.
The address space of a Windows CE process is limited to 32MB and the maximum
Squeak heap size usually 12-13MB. However, if you have large free space on the
external memory card, the VM trys to create a memory chunk mapped to a file on
the external card. In this case, you can break the 32MB address space limit. The
VM trys to do so if a) the available size of the normal heap is less than 2MB
bigger than actual image file size and b) the space available on the card is
larger than the possible normal heap size.
The VM trys to delete the memory mapped file when it exits. However, the
memory mapped file could linger for some reason. In that case, you can delete
manually the " Squeak.mem" file.
Other Windows CE devices
I have made several pre-compiled VMs for
various settings, but, I cannot test all of the variety of the Windows CE
devices. Try VM(s) appropriate for your machine and let me know if it works.
Except iPAQ, the VMs don't use GAPI and you don't need gx.dll.
- PocketPC 2002 on ARM, (iPAQ, Genio-e, etc.) SqueakVM-alpha6-030206-PPC2002-ARM.zip
- PocketPC on ARM, (iPAQ, Genio-e, etc.) SqueakVM-alpha6-030206-PPC-ARM.zip
- PocketPC on ARM Landscape mode, (iPAQ, Genio-e, etc.) only works in
fullscreen mode SqueakVM-alpha6-PocketPC-ARM-Landscape.zip
- PocketPC 2002 on ARM, without Game API (iPAQ 38xx, Casio E-200), SqueakVM-alpha6-030206-PPC2002-ARM-noGAPI.zip
- PocketPC on ARM, without Game API, SqueakVM-alpha6-030206-PPC-ARM-noGAPI.zip
- PocketPC on MIPS (CASSIOPEIA E-700, etc.) SqueakVM-alpha6-030206-PPC-MIPS.zip
- PocketPC on SH3 (Jornada 548, etc.) SqueakVM-alpha6-030206-PPC-SH3.zip
- H/PC Pro or H/PC 2000 on ARM, (HP Jornada 720, HP Jornada 820, etc.) SqueakVM-alpha6-030206-HPC-ARM.zip
- H/PC Pro on MIPS, (Mobile Gear II, InterLink, Telios, etc.) SqueakVM-alpha6-030206-HPC-MIPS.zip
- H/PC Pro on SH3, (HP 620 LX, PERSONA HPW-200JC, etc.) SqueakVM-alpha6-030206-HPC-SH3.zip
- H/PC Pro on SH4, (PERSONA HPW-600JC, etc.) SqueakVM-alpha6-030206-HPC-SH4.zip
- PalmSizePC on MIPS, (CASSIOPEIA E-500 (E-105, EM505F), etc.) SqueakVM-alpha6-030206-PalmSizePC-MIPS.zip
- PalmSizePC on SH3, (...) SqueakVM-alpha6-030206-PalmSizePC-SH3.zip
If you want to recompile the source by yourself, or tweak the VM, get the Window
CE source tree based on Andreas' 3.1
Alpha build 6 source.
If you want to grab the older version (dated May. 4, 2002), visit here.
Contact
Yoshiki.Ohshima@acm.org