Palm上的图形计算器Power 48 

1. 什么是Power48 
    Power48是一个运行在Palm OS上的Hewlett-Packard 48SX，48GX和49GX系列计算器的模拟器。它相当完整的模拟了Saturn CPU，因而可以运行绝大部分基于此系统的程序。 
    Power48以Sebastien Carlier编写的Emu48为基础，Emu48现在由Christoph Gieβelink维护和升级,但两者并非完全兼容。
 
2. Power48可以做什么? 
(1)图形计算器，输入函数输出图形。
    GX48内建超过300种公式和常量的方程式库，满足大学本科的一般要求。

(2)还可以写点儿小程序。
 
3. Power48 Version 1.0的运行条件（已完成测试的环境）。
 OS3.5-OS4.1 
  Sony Clie至少320x320分辨率，16位色；33MHz CPU，8MB RAM；MemoryStick 
 OS5 
  至少320x320分辨率，16位色；ARM CPU，16MB RAM；外部存储卡 

4. 如何使用Power48? 
(1)从http://power48.mobilevoodoo.com/下载Power48的安装文件。
(2)安装power48.prc。 
(3)复制power48GX/SX Power49G的三个ROM文件到外部存储卡的/PALM/PROGRAMS/POWER48文件夹。（/PALM/PROGRAMS/POWER48/OBJECTS用来保存或读取objects。）
(4)第一次运行Power48时，系统会提示需要在外部存储卡中建立RAM文件。点击HP图标可以在三种计算器之间切换。

用户手册：
http://www.hp.com/cposupport/manual_set/bpia5221.pdf 

详细介绍： 
http://power48.mobilevoodoo.com/Power48%20Manual.htm 

HP图形计算器的扩展小程序（应用程序/游戏/数学/编程/工具……）：
http://www.hpcalc.org/ 

本文主要参考http://power48.mobilevoodoo.com/ 
            http://www.hpcalc.org/ 
    还有一个不好提到名字的论坛，已停止注册新用户。
    感谢visar等网友的帮助和鼓励。

                                       Knl.gz.163.com  Fibell  
                                       2003/7/30 0:33 








README File for Power48 version 1.5
-----------------------------------
November 8, 2004

Greetings!

Thanks for downloading version 1.5 of Power48. If you encounter any bugs please send an email to support@power48.mobilevoodoo.com describing the problem in detail, and I will try to look it ASAP. 

Note for Tungsten T3 Users:

In order for Power48 to utilize the 320x480 screen of the T3, you must install the two .prc files contained within the "T3_DIA_Compatibility_prcs.zip" archive available on the power48 web site. These library files enable support for the Pen Input Manager v1.1, which is needed for Power48 to be able to respond to the raising and lowering of the virtual graffiti area.


IMPORTANT!!!
------------

Beginning with version 1.5, Power48 no longer includes ROM files in the distribution package. The ROM files are the copyrighted property of Hewlett-Packard and as such it is up to the user to obtain the ROM images as described in the "Installation" section of the manual which is duplicated below.

Also, this version of Power48 uses a different mechanism for saving state information than previous versions, and as such it is not compatible with the previous saved state files. When you first attempt to run Power48 a message will pop up stating that the state file is corrupt, and then Power48 will reset the emulation to factory defaults.

I know this is a pain in the butt, but there was no easy way around this. I've put in place a mechanism to prevent this from happening in the future, but unfortunately there is no way to avoid it with this version. I'm very sorry for any inconvenience this may, and probably will, cause.

Note that you can use the object load / save feature to save off any important programs or information.



INSTALLATION:
-------------

After downloading and uncompressing the .zip file containing the Power48 release, the user should be presented with the following files:

Power48.prc 	- Main executable
Power48 Manual v1.5.pdf	- The manual
P48rc.exe	- Win32 utility for converting ROM images to Power48 format
P48obj.exe	- Win32 utility for converting object files to Power48 format
GPL.txt	- Copy of the GNU General Public License

The process for installing Power48 is as follows:

Step 1: Hotsync the file Power48.prc

The file Power48.prc is the main executable for Power48 and should be hotsynced to the device via the normal program installation method. It can be stored in main memory or run from external storage via any launcher program that supports execution from external devices. Power48 requires ROM images to run properly, so it will start up in 揇ry Run Mode?until you install at least one.

When Power48 is hotsynced to the device it will register the following file extensions and default directories with the hotsync file installation tool so files of this type they can be stored directly to an expansion card without using an external card reader:

.p48rom (ROM images)   ->  /PALM/PROGRAMS/Power48/
.p48ram (RAM images)   ->  /PALM/PROGRAMS/Power48/
.p48obj (Object files) ->  /PALM/PROGRAMS/Power48/Objects/


Step 2: Obtain ROM images for each target the user wishes to emulate

Since Power48 is not packaged with any ROM images, it is up to the user to obtain them. They can be obtained through several methods, but the user should keep in mind that these images are the copyrighted property of Hewlett-Packard. There is no licensing agreement in place with Hewlett-Packard for users of Power48, so the user is explicitly not granted a usage license for any of these ROMs by the simple download and installation of Power48, nor by donating to its continued development. The only legal way in which a user has a license to use one of Hewlett-Packard抯 calculator ROMs in Power48 is if they already own the physical calculator being emulated, or they have a prior licensing agreement with Hewlett-Packard in place. The developer of Power48 and its parent company, mobilevoodoo.com, deny any liability in copyright infringement or other wrongdoing should the user choose to ignore Hewlett-Packard抯 copyright.

Having said all that, Hewlett-Packard has been gracious in allowing access to their calculator ROMs for non-profit uses, for which the HP calculator emulation community owes them gratitude. As Power48 is a non-profit emulation vehicle supported entirely by donations, it should fall under these guidelines.

The calculator ROM images can be obtained in several ways, the most labor intensive being to actually dump the ROM from an existing calculator and convert it for use with Power48. The website http://www.hpcalc.org/ has many programs in its archives for dumping ROM images from the various HP calculator types.

Fortunately, since HP is allowing the ROM images to be downloaded from the web, it抯 far easier just to go out and get them. The website http://www.hpcalc.org/ has the latest revision ROM images for the HP 48SX, 48GX, and 49G series of calculators. At the time of this writing the following links were valid:

48SX:  http://www.hpcalc.org/hp48/pc/emulators/sxrom-j.zip

48GX:  http://www.hpcalc.org/hp48/pc/emulators/gxrom-r.zip 

49G:  http://www.hpcalc.org/hp49/pc/rom/beta1196.zip

(This particular archive contains several files. The actual rom image is contained in the file rom.49g.)


Step 3: Convert ROM images to Power48 format

Once the ROM images are obtained they must be converted for use by Power48. Supplied with Power48 is a windows-based command line utility for converting the ROM images called 損48rc.exe?  This utility will convert raw ROM images such as those obtained from www.hpcalc.org or from dumping a physical device ROM into a format suitable for Power48.

Power48 expects to find its ROM images in either of two places: stored internally as .pdb file, or stored externally on an expansion card such as a memory stick or SD card. The p48rc.exe utility will convert raw ROM images for use in either place. To use the converter, copy the executable file p48rc.exe to the directory where the raw ROM images reside, then bring up a command prompt and cd to that directory. Run p48rc without any arguments to bring up the p48rc help screen:


C:\romimages>p48rc

Power48 ROM Converter ver. 1.0
------------------------------

Usage:
        p48rc ROM_name destination

where ROM_name    = the name of the ROM file to convert
      destination = CARD or INTERNAL. CARD specifies that the file be
                    converted to format suitable for storing on a VFS
                    compatible storage medium such as SD card or memory
                    stick. INTERNAL specifies that the file be converted
                    to the PalmOS .pdb format for storing internally


The following shows the output for converting a 48GX rom file named 揼xrom?downloaded from hpcalc.org into an internal Power48 ROM:


C:\romimages>p48rc gxrom INTERNAL

Converting file gxrom to .pdb format...
Opening file gxrom for conversion...
ROM file size: 524288 bytes
ROM series: 48
Compression Necessary? NO
Nybble swap Necessary? NO
ROM Version: HP48-R
ROM checksum: 225065f5
Dumping .pdb format Power48 ROM file...
...Finished!


When finished the converter will have produced the file 揌P48GXROM.pdb? which can be hotsynced directly to internal storage. The next example shows the same file being converted for use with an expansion card:


C:\romimages>p48rc gxrom CARD

Converting file gxrom to VFS compatible format...
Note: Power48 must be installed and run once
      to register the default VFS location
      for .p48rom files, which will then enable a
      user to hotsync .p48rom files directly to
      the expansion card.
Opening file gxrom for conversion...
ROM file size: 524288 bytes
ROM series: 48
Compression Necessary? NO
Nybble swap Necessary? NO
ROM Version: HP48-R
ROM checksum: 225065f5
Dumping VFS compatible Power48 ROM file...
...Finished!


When finished the converter will have produced the file 揌P48GX.p48rom? which can be hotsynced directly to external storage and will placed in the directory /PALM/Programs/Power48/. Note that the hostync install tool does not automatically know about the .p48rom extension so the user can抰 just double-click the file to install it. The user will have to bring up the install tool manually and browse to the location of the ROM file and select it before it will be installed by hotsync.

The above process is repeated for each ROM file?

Power48 will first try to find all the ROM images for each target in internal storage, and then look at external storage for those images it couldn抰 find internally. The internal image will be used in cases where there is both an internal and an external image for the same target. Having images in both places is generally not recommended and could result in the emulator using an unintended ROM image. Power48 will store the RAM images for each target where it finds the ROM image.



Enjoy!
-Robert Hildinger, mobilevoodoo.com
