April 11, 2011, 9:01 p.m.
posted by sorhed
Simulate a Palm
Are you looking at acquiring multiple Palm devices? If so, it is useful to know which Palm OS versions will work with the applications you want to run. It is straightforward to test applications against a range of Palm OS versions.
If you don't have access to Palm devices with a range of Palm OS versions, then there is another solution. The Palm OS Developer Suite (http://www.palmos.com/dev/tools/dev_suite.html) contains the Palm Emulator and the Palm Simulator. The emulator and simulator are two separate tools that do basically the same thing, but they handle different versions of Palm OS. Between them, these tools cover Palm OS versions from 3.0 to 6.0 and let you test Palm applications on your PC.
The emulator (Figure) and simulator (Figure) use ROM images to do their magic. You will select a ROM image the first time you run either program. Look for one that has "EN" in the namesomething like PalmOS412_FullRel_EZ_enUS.rom. The "EN" means that it is an English-language version of the ROM. You should pick a release ROM image because a release image will be the most similar to an actual device. You can also set the amount of memory (RAM) available to the device, and you can set the screen resolution. Thus, you can try various combinations to see what works.
Palm Emulator, v4.x
To get started, follow these steps:
Download the Palm OS Developer Suite from http://www.palmos.com/dev/tools/dev_suite.html and install it.
Find the emulator under C:\Program Files\PalmSource\Palm OS Developer Suite\PalmOSTools\Palm OS Emulator\Emulator.exe and create a shortcut to it on the desktop or add it to the Programs menu.
Do the same for the Palm OS 5 Simulator at C:\Program Files\PalmSource\ Palm OS Developer Suite\sdk-5r4\tools\Palm_OS_54_Simulator\release\ PalmSim_54_rel.exe and the Palm OS 6 Simulator at C:\Program Files\ PalmSource\Palm OS Developer Suite\sdk-6\tools\Simulator\6.0.1\Release\ PalmSim.exe. Note that the specific paths may vary depending on what versions of Palm OS are included in the developer suite you download.
Palm Simulator, v6.x
Download the Palm applications you want to test. Unzip them if necessary. If an application comes with a custom installer, then run the installer. After the installer completes, the files will be in a folder similar to C:\Program Files\Palm Handheld\<HotSync ID>\Install. A typical Palm application consists of one or more PRC files and one or more PDB files.
To test against Palm OS 3.0 4.x, run the emulator. To test against Palm OS 5 or 6, run the corresponding simulator. You may need to download additional ROM images for specific OS versions. You can find those at the same site where you got the developer suite.
When the emulator or simulator is running, you can right-click on the screen and use the Install Database menu item to install the PRC and PDB files for the applications you want to test. You can also just drag-and-drop applications from a Windows folder into the emulator to install them. Hit the Home silk-screen button and launch the applications that you are testing to see if they work.
Between the simulator and emulator, you can test Palm OS versions from 3.x through 6.x. Programs may work on a real Palm device that don't work on the emulator or simulator. It depends on the nature of the program. Basic applications should work the same on different platforms, but anything that pushes the hardware (e.g., barcode scanning or beaming) may not work on the emulator or simulator.