Installation Instructions for PH-15C Interface on a Mac computer

After unzipping the PH15C_Interface.zip file, you will find these files:
PH15C_Interface.xls, emuscript.sh, Emulator_Integration.pdf and the file you are reading (Mac_Installation.txt)


1.  Create / Select a folder for the install, and copy PH15C_Interface.xls and emuscript.sh files to this folder. This is where program files and dumps can be stored as well.
2.  Run the Mac Terminal application, and navigate to the install folder using the cd command, if you are not sure  how to do this, Google might be able to help. When you are at the install folder, type in the command (without the quotes)  "/bin/bash emuscript.sh"  This will create a file emulator.scpt, and copy it to a hidden folder, where Excel can access it.  If you want to check that  this worked, use a new Finder Window and these menus(top bar):   Go-->Go To Folder and type in:

 ~/Library/Application Scripts/com.microsoft.excel  and press return (enter).  You should see the file   emulator.scp

If something went wrong, you can copy the emulator.scpt file from the install folder to this location manually (drag and drop or cut and paste file)

3.  You can use the Emulator_Integration.pdf file to find the web location to download Torsten's Mac HP-15C emulator.  The .dmg file contains its own install instructions.
Install the HP-15C.app file to a suitable folder  (I suggest using the Applications folder - drag and drop the file to the Applications folder).
Later versions of MacOS may refuse to run the emulator because it was downloaded from the Web.  Go to System Settings, scroll down to Privacy and Security, click, then scroll down to near the bottom, and under Security you should see an option for HP-15C and click on Run Anyway (or similar - depending on your OS version). Click this.

4.  You can now run Excel, and load the PH15C_Interface.xls file, make sure to enable macros.  Check the settings tab, and make sure to Change the EXEPath to point to where the HP-15C.app is located.  On a Mac EXEName is fixed as HP-15C.app, and MEM path is not used. 

5.  Go to the Program tab, and click on the HP15C Icon to run the emulator!

