User Tools

Site Tools


prime:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
prime:start [2017/12/30 16:19]
pier4r
prime:start [2018/01/21 00:05] (current)
webmasterpdx [Programming Documentation]
Line 1: Line 1:
 +====== HP Prime Advanced Graphing Calculator ======
 +
 +===== Quick Summary =====
 +
 +^Specifications^^
 +|<html><br /><b>Manufacturer:</b> Hewlett-Packard<p><br /><b>Type:</b> Graphing Calculator<p><br /><b>Model:</b> HP Prime<p><br /><b>Part number:</b></html> |image|
 +
 +===== Overview =====
 +
 +The HP Prime advanced graphing calculator was released in September 2013 as a next generation calculator with cutting edge capabilities. It is primarily based on the [[39gii:specs|HP-39gii]] graphing calculator, but includes a high-resolution color, touchscreen display, an advanced CAS system and unique and innovative control capabilities for teachers and educators. The calculator still provides a number of advanced mathematics users, and can be programmed in [[Prime:Programming|HP Prime Programing Language (HPPPL)]] as well as via custom apps.
 +
 +===== How to Create a New Article =====
 +This is how to create a link from this page to a new article and how to create that article in a page of it's own.
 +  - Edit this page.
 +  - Create a local link from the appropriate section of this page, about "Article" to the page prime:Article, where Article is the name of the page (must be unique), using Link_Text as the text that the link will be displayed as (that the user can click on). To see the formatting of a local link, you can copy an existing link, such as the "indexing" link in the Programming Documentation section below. Save this page. The Link_Text will be displayed in red indicating that the page doesn't exist yet.
 +  - Click on the red link text. A blank page indicating that this link doesn't go anywhere yet is displayed.
 +  - Click on the pen icon on the right and it will Create the non-existent page and put you in the wiki editor, where you can create your article.
 +  - After you've created your page, you can save it by clicking on the button on the bottom.
 +  - Then, if you go back to the previous page, the Link_Text text is now displayed as green instead of red. If you click on it, it will go to your newly created page.
 +  - Enjoy.
 +
 +===== Team Members =====
 +[[wikiusers:pier4r:start|Pier4r page]]
 +
 +[[wikiusers:webmasterpdx:start|webmasterpdx Page]]
 +
 +
 +===== Downloads =====
 +  * [[ftp://ftp.hp.com/pub/calculators/Prime/|HP Prime FTP Site.]] HP Prime's FTP Site.
 +  * [[https://www.hpcalc.org/prime/beta/|Prime BETA software sources]] BETA software versions for the Prime.
 +  * [[https://en.hpprime.club/software|Software.]] Firmware, HP Connectivity Kit, Emulator.
 +
 +===== Prime Software Apps and Utilities/Libraries =====
 +Apps and small programs written for the HP Prime.
 +  * [[https://en.hpprime.club/apps|Apps.]] Free Downloadable Apps.
 +  * [[http://www.hpcalc.org/|HPCALC.ORG]] Under HP Prime section, has various apps and utilities. This is where all complex programs and full Apps should be placed.
 +  * [[http://www.hpmuseum.org/forum/forum-15.html|Software Library.]] MOHCP HP Prime Software Library. This is where small programs and utilities should be placed.
 +
 +===== User Guides =====
 +  * [[https://support.hp.com/us-en/product/hp-prime-graphing-calculator/5367459/model/5367460/manuals|HP User Guides.]] These are directly from HP's site.
 +  * [[http://www.hp-prime.de/en/category/5-hp-prime|HP Prime Portal.]] HP Prime portal. Overview and colorful description of Apps. Is a nice overview of the Prime.
 +  * [[http://www.hp-prime.de/files/composite_file/file/214-hp_prime_recovery_mode.pdf|Recovery/Diagnostic Mode.]] How to put the HP Prime into Recovery/Diagnostic Mode.
 +
 +===== Forums =====
 +Here are a list of sites where you can get help.
 +  * [[http://www.hpmuseum.org/forum/forum-5.html|MOHPC Forum.]] Museum of HP Calculators Site. This is the best forum to request help on the HP Prime. Generally you can expect a reply within 24 hours.
 +  * [[https://www.omnimaga.org/hp-prime|Omnimaga Forum.]] A Calculator Programming and Project Forum.
 +  * [[https://tiplanet.org/forum/viewtopic.php?t=12805|Tiplanet Forum.]] Tiplanet Calculator Forum.
 +  * [[https://codewalr.us/|CodeWalrus.]] Another Calculator Site.
 +  * [[https://www.cemetech.net/news.php?id=623|Cemetech Forum.]] Another Calculator Site.
 +===== Hardware =====
 +  * [[http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv021.cgi?read=248005|Hardware Strip Down]]. This is a strip down of an early prototype and contains details of the internal hardware, including chip specifications, etc..
 +  * [[http://www.view-finder.us/Other/HP-Prime/n-5S3kc/i-kM7X4S6|Images.]] Photos of internals of HP Prime boards and components.
 +  * [[http://www.keil.com/dd/docs/datashts/samsung/s3c2416_pb.pdf|CPU Datasheet.]] HP Prime CPU datasheet with block diagrams.
 +  * [[http://www.bdtic.com/DataSheet/SAMSUNG/S3C2416.pdf|CPU User Manual.]] User manual for the HP Prime ARM CPU (big pdf file).
 +
 +===== Programming Documentation =====
 +  * [[http://www.hpmuseum.org/forum/thread-216.html|Programming Introduction.]] Introduction to HP Prime Programming.
 +  * [[http://holyjoe.org/hp/PrimeVars.htm|Reserved Variables.]] HP Prime Reserved Variables.
 +  * [[https://en.hpprime.club/docs|Commands Reference.]] Programming Commands References (Light and Full).
 +  * [[https://tiplanet.org/hpwiki/index.php?title=HP_Prime/Commands|HPPL Command Reference.]] Tiplanet.org HP Prime command wiki.
 +  * [[https://en.hpprime.club/articles/|Programming Tutorials and Links.]] Prime Tutorials and useful programming articles. Note that the tutorials here are the main programming tutorials produced by Edward Shore that are duplicated on many HP Prime web sites.
 +  * [[prime:programming|HPPL Basic Programming Reference.]] The same tutorials as in the previous link but also serves as a partial reference for the Math and CAS menus.
 +  * [[http://www.hp-prime.de/files/composite_file/file/201-programming-in-hp-ppl.pdf|Programming in HP PPL.]] A beginning programming on the Prime lecture from an HP webinar.
 +  * [[https://carlos-icg.blogspot.com/2016/02/hp-prime-consideraciones-PPL-1.html|HPPL Language Considerations.]] HPPL language considerations. Is in Spanish, but browser usually translates well. It's a 5 part article and has quite a bit not written elsewhere. Is well worth reading.
 +  * [[http://www.hpmuseum.org/forum/thread-818.html|Undocumented and Overlooked Features.]] This is the MOHPC links thread, also linked to in the collection of links below, but here, of specific interest, is the Undocumented and Overlooked Features. Essential reading for advanced programming on the Prime.
 +  * [[ftp://ftp.hp.com/pub/calculators/Prime/Documentation/Calculator/EN/User_Guide_EN_2014_12_03_1.pdf|User Guide.]] HP Prime Graphing Calculator User Guide.
 +  * [[https://www.thecalculatorstore.com/WebRoot/StoreES3/Shops/eb9376/5196/A4C1/5ECE/83AE/85A9/AC10/1417/E23B/User_Guide_EN.pdf|Handbook.]] This is a very early version of the User Guide. It's less verbose than the latest version and might explain things slightly differently that might be advantageous if having difficulty understanding some subject. It's presented here for completion.
 +  * [[https://www.thecalculatorstore.com/Manuals/HP-Prime-Tutorials-and-documents|The Calculator Store.]] The same tutorials again, but has some less commonly found programming links.
 +  * [[http://www.hp-prime.de/files/composite_file/file/55-55-english-hp-prime-127-pages_m.pdf|HP Prime Exercises]]. Book of Exercises for the HP Prime. These serve as tutorials on the use of the Prime as well as programming examples.
 +  * [[http://www.hpmuseum.org/forum/attachment.php?aid=2570|Scaling Paper.]] HP Prime Paper on Scaling in Drawing Functions.
 +  * [[http://www.hpmuseum.org/forum/thread-215.html|Variables.]] Variable Types and Priorities in Programs.
 +  * [[http://www.hpmuseum.org/forum/thread-9495.html|Chars allowed in variables]].
 +  * [[http://www.hpmuseum.org/forum/thread-6100-post-54628.html#pid54628|Variables and functions names cannot be too long.]] [[http://www.hpmuseum.org/forum/thread-9819-post-87403.html#pid87403|Max 32 chars]]
 +  * [[http://www.hpmuseum.org/forum/thread-9053.html|Theme Colors.]] Info on Theme System Colors.
 +  * [[http://www.hpmuseum.org/forum/thread-4450.html?highlight=fft|Spectrum Analysis.]] Fourier Spectrum Analysis on the HP Prime.
 +  * [[http://www.hpmuseum.org/forum/thread-8973.html?highlight=menu|Programming Menus.]] How to program the menu buttons. Read the whole post as there are improvements posted as you work your way down.
 +  * [[prime:LearnApps|Learn the Apps.]] This article explains why it's important to know how to use the various Apps.
 +  * [[prime:polrec|Polar/Rectangular.]] Some notes on polar vs rectangular coordinates.
 +  * [[prime:bitwise|Bit Manipulation.]] Bitwise manipulation isn't obvious on the Prime. This section helps with this.
 +  * [[https://tiplanet.org/hpwiki/index.php?title=HP_Prime/Commands/Guides/All_About_Strings|All About Strings.]] How to use strings on the HP Prime.
 +  * [[prime:misctips|Miscellaneous Tips.]] Miscellaneous tips. The next link has tips that apply to CAS/Home modes, but all other tips should go here if possible. I intend to update this as I discover new useful tips that are not related to CAS/Home differences, and recommend that others do so too.
 +  * [[prime:dfc|Continued Fraction.]] dfc commands and variations. Examples and tips.
 +  * [[prime:cashome|CAS vs HOME.]] There are several tips described in here that are fundamental to understanding the feel of CAS on the Prime. New users need to understand these so that they know how to present problems to the CAS system and interpret results correctly. In particular how CAS and Home work together is described in here.
 +  * [[http://www.hpmuseum.org/forum/thread-3149.html?highlight=cas+program|Calling CAS functions.]] CAS commands from Program.
 +  * [[http://www.hpmuseum.org/forum/thread-3590.html|CAS Programs.]] Programming a CAS function.
 +  * [[http://www-fourier.ujf-grenoble.fr/~parisse/calc/hprime2.pdf|HP Prime CAS Manual.]] Produced by the XCas team. Is a PDF file written in French.
 +  * [[https://www-fourier.ujf-grenoble.fr/~parisse/hp-prime_cas.pdf|HP Prime CAS Manual.]] Same as previous manual, but in English.
 +  * [[https://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf|Symbolic Algebra and Mathematics with XCas.]] Basically the same info as above, but for generic XCas. This one is in English.
 +  * [[http://www.hpmuseum.org/forum/archive/index.php?thread-856.html|CAS Compatibility.]] HP Prime CAS Compatibility.
 +  * [[http://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/en/cascmd_en/index.html|XCAS.]] Xcas Online Reference.
 +  * [[https://www-fourier.ujf-grenoble.fr/~parisse/giac/troussesurvie_en.pdf|XCAS Reference Card.]] Xcas reference card.
 +  * [[https://www-fourier.ujf-grenoble.fr/~parisse/giac.html| Giac/Xcas Online.]] If you wish to test a CAS expression on a PC to see how to use the PRIME CAS correctly, then you can run XCAS in your web browser. This is what this link points to.
 +  * [[https://dev.geogebra.org/trac/browser/trunk/geogebra/giac/src/giac|XCas Source Code.]] C source code for XCas. The HP Prime CAS is compiled directly from this source code and as new releases come out for XCas, the changes will be ported automatically to the next HP Prime firmware release.
 +  * [[http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html|Floating Point Information.]] This paper describes several theorems related to rounding error and floating point arithmetic. It introduces different floating point representations and deals with precision, etc., and ill conditioned equations (a function where a tiny difference in a value causes a large difference in the result).
 +  * [[http://www.instructables.com/id/HP-Prime-Programming-Displaying-Results/|Displaying Results.]] Different ways to display program results.
 +  * [[http://www.hpcc.org/datafile/V34N1/V34N1P4.pdf|HP Prime a programmer's view.]] Paper on converting a game from an HP48 to HP Prime.
 +  * [[https://tiplanet.org/forum/archives_list.php?cat=Cours+et+Formulaires+prime|Input and Terminal example.]] While on a French site, these standalone programs (not App encapculated) are good examples of Input form and Terminal I/O programming.
 +  * [[https://tiplanet.org/hpwiki/index.php?title=HP_Prime|Tiplanet.org HP Prime Wiki.]] USB Linking Protocol, Firmware File Formats and some other useful links.
 +  * [[prime:lookup|Library Search.]] How to lookup any library or program snippet to perform a function you might need on the HP Prime.
 +  * [[http://www.hpmuseum.org/forum/thread-7001.html?highlight=list|List Library.]] Programmer's expanded List Library.
 +  * [[http://www.hpmuseum.org/forum/thread-9097.html?highlight=list|Associative List Library.]] Content Addressable List Library (address using a key rather than an index).
 +  * [[http://www.hpmuseum.org/forum/thread-5141.html?highlight=string|String Library]] Programmer's String Library.
 +  * [[http://www.hpmuseum.org/forum/thread-3852.html?highlight=INPUT|Jacobian.]] Function to calculate the Jacobian of a matrix.
 +  * [[http://edspi31415.blogspot.com/2017/10/hp-prime-break-vs-continue.html|BREAK vs CONTINUE.]] How break and continue work to break out of loops.
 +  * [[http://edspi31415.blogspot.com/search?q=HP+Prime|Eddie Shore's HP Prime Articles.]] This is a link to a search of Eddie Shore's blog for the term HP Prime. There are multiple articles in a row. Click on Next Posts at the bottom of the page to get even more. There are several pages worth.
 +  * [[http://www.hpmuseum.org/forum/thread-9185-post-80561.html#pid80561|On the missing ability (and workarounds) for help pages and passing by reference. (MoHPC)]]
 +  * [[http://www.hpmuseum.org/forum/archive/index.php?thread-7978.html|Windows keyboard layout for special hp prime characters.]]
 +  * [[http://www.hpmuseum.org/forum/archive/index.php?thread-5323.html|How to get in the terminal for the virtual calculator / HP prime APP / HP prime emulator]].
 +
 +===== Firmware =====
 +This is non-HP programming to create independent firmware. Would include assembler, C compiler, Linux and other non-standard HP programming links. Many of these are in the preliminary or research phase.
 +  * [[https://www.omnimaga.org/hp-prime/the-hpprgm-format/|hpprgm file format.]] hpprgm file format.
 +  * [[https://www.omnimaga.org/news/asm-arrives-on-the-hp-prime!/|Assembler.]] ASM for the HP Prime.
 +  * [[http://www.hpmuseum.org/forum/thread-4707-post-42067.html#pid42067|C compiler.]] Discussion on C compiler for HP Prime.
 +  * [[https://sourceforge.net/projects/mingw-gcc-arm-eabi/files/|gcc.]] MinGW GCC for ARM.
 +  * [[https://tiplanet.org/hpwiki/HP_Prime/File_Format|File Formats.]] HP Prime file formats.
 +  * [[https://www.cemetech.net/forum/viewtopic.php?t=14022|Linux.]] Linux for the HP Prime.
 +
 +===== Prime Software Apps and Utilities/Libraries =====
 +Apps and small programs written for the HP Prime.
 +  * [[https://en.hpprime.club/apps|Apps.]] Free Downloadable Apps.
 +  * [[http://www.hpcalc.org/|HPCALC.ORG]] Under HP Prime section, has various apps and utilities.
 +  * [[http://www.hpmuseum.org/forum/forum-15.html|Software Library.]] MOHCP HP Prime Software Library.
 +  * [[http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv021.cgi?read=255287|Some small list utility commands]] (MoHPC).
 +
 +===== USB Connectivity Programming =====
 +Software written for communicating with the HP Prime through the USB port.
 +  * [[https://tiplanet.org/hpwiki/index.php?title=HP_Prime/Linking_Protocol|USB Linking Protocol.]] HP Prime USB Linking Protocol.
 +  * [[http://ried.cl/proyecto/utilidad-para-intercambiar-archivos-con-la-hp-prime-primecomm/|Primecomm.]] Utility to exchance files with HP Prime.
 +  * [[http://services.ried.cl/primecomm/Help/?topic=html/4c2db46f-2e91-7461-ee2e-68962685662e.htm|Help on Primecomm.]] Help on above.
 +  * [[http://www.hpmuseum.org/forum/thread-654.html|USB device Interfacing.]] Interfacing the Prime with a cheap MAX3421E host controller.
 +  * [[http://www.hpmuseum.org/forum/thread-52.html|libhpcalcs.]] HP Prime command line library for communicating with the Prime from an external computer.
 +
 +===== Useful HP Prime Links =====
 +  * [[http://www.hpmuseum.org/forum/thread-818.html|MOHPC Links.]] Super collection of Links.
 +  * [[https://en.hpprime.club/|HP Prime For All.]] This site has links to hardware, software tutorials, command lists and so forth.
 +  * [[http://edspi31415.blogspot.com/|Eddie's Math and Calculator Blog.]] Edward Shore's calculator blog. Has many HP Prime blogs and tutorials. Has some of the best HP Prime articles on the web.
 +  * [[http://www.numericana.com/answer/hp-prime.htm|Final Answers]] Great Collection of Useful Links.
 +  * [[http://hpprime.blogspot.com/|HP Prime Calculator.]] Another HP Prime Blog.
 +  * [[http://eonicasys.com.co/public/math/CAS/hp_prime/|Unusual Set of Links.]] This is a set of unusual links. Going down to subdirectories, there are screenshots as PNG image files with useful information.
 +  * [[http://h20331.www2.hp.com/hpsub/cache/580500-0-0-225-121.html|HP Solve Online Magazine.]] This is HP's online magazine for calculators. There are several papers on the HP Prime. This is the last issue. Older issues can be found by looking at the lower left under archives.
 +  * [[http://www.hpcc.org/calculators/hpprime.html|HPCC.]] HP Calculator Club (HPCC) HP Prime page.
 +  * [[https://www.thecalculatorstore.com/epages/eb9376.sf/es_ES/?ObjectPath=/Shops/eb9376/Categories/El_Rincon_de_la_HP_Prime/HP_Prim_tips|Tips.]] This link points to a group of very useful programming tips, like utilities for redefining keys and changing system settings, etc..
 +  * [[https://tiplanet.org/forum/archives_cat.php?id=prime|Tiplanet.org code section.]] French site with useful code and tips.
 +  * [[http://h20331.www2.hp.com/hpsub/downloads/Sep13/s07_myfavoritehpprimtfunctionsv3.pdf| Prime Functions.]] My Favorite HP Prime Functions.
 +  * [[http://www.hp-prime.de/files/composite_file/file/|HP Links.]] This is a collection of programs, documents and programs (including many games like space invaders, asteroids, etc.), for the HP Prime.
 +  * [[http://www.hp-prime.de/files/|More HP Links.]] This is a collection of links for the prime not found elsewhere. You have to search down through the tree. The previous link is one buried in this site, but there are others if you look around.
 +  * [[http://www.pgccphy.net/1030/programs/programs-hp-prime.pdf|HP Prime Calculator Programs.]] A collection of programs from Dr. D.G. Simpson of Prince George's Community College.
 +  * [[https://books.google.com/books?id=rlpvBgAAQBAJ&pg=PA5&lpg=PA5&dq=HP+Prime+examples&source=bl&ots=34hWvT1rCe&sig=R8SPovScuHKkNWfKm-ipy8zdIDg&hl=en&sa=X&ved=0ahUKEwjWi_L8xtvWAhVR0GMKHWUeCkI4FBDoAQhZMAk#v=onepage&q=HP%20Prime%20examples&f=false|Prime Functions.]] Introduction to HP Prime Functions (ebook).
 +  * [[http://holyjoe.net/Prime/Pix/|Images.]] Cool collection of images that can be displayed on the HP Prime.
 +  * [[http://holyjoe.net/Prime/Pix/color-reduction.htm|Streaks in images.]] Tutorial on how to avoid streaking in HP Prime images.
 +  * [[http://www.hpmuseum.org/forum/thread-3781.html?highlight=cas+plot|CAS Plot.]] How to use the Geometry app to make a CAS plot full screen. The CAS plot is imported into the Geometry App.
 +  * [[https://www.thecalculatorstore.com/Calculator-blog/Some-interesting-links-for-HP-Prime|Misc Tutorials.]] Another page with a bunch of tutorials, some of which are not available elsewhere.
 +  * [[http://ried.cl/en/franqueando-los-secretos-del-hardware-mediante-ingenieria-inversa/|Reverse Engineering.]] Reverse Engineering the HP Prime.
 +  * [[http://mic.nic.free.fr/|MicNic's Home.]] A french Prime page with useful programs and utilities.
 +  * [[resources:start|Documentations, files and other information about HP calculators]] A great link worth looking at.
 +  * [[resources:bestofdiscussions|About calculators and math world]] Another great link that is a collection of some great discussions related to HP Calculators and Applied Math for calculators that is worth going through.
 +
 +===== Video Links =====
 +  * [[https://www.youtube.com/watch?v=4rObQpO5DTY|Advanced INPUT Forms.]] Video showing advanced input() forms as applied to Graph3D.
 +  * [[https://www.youtube.com/watch?v=WaScpswnLiQ|BLIT Animation.]] Video showing how Blitting is used to animate Icons in an App.
 +  * [[https://www.youtube.com/playlist?list=PLjlgpFeoZ-daowOyJwTSnbJUzfhHHLNsT|App Demos.]] Various videos on developing Demo Apps. Note these are in Spanish, but the text can be translated by google and the operations being carried out on the Prime are self evident.
 +  * [[https://www.youtube.com/watch?v=fg-J3eqhBc4|PFD and Inverse Laplace.]] HP Prime PFD (Partial Function Decomposition) and Inverse Laplace example.
 +