{"id":1297,"date":"2015-11-21T02:29:19","date_gmt":"2015-11-21T02:29:19","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1297"},"modified":"2017-05-14T01:26:06","modified_gmt":"2017-05-14T01:26:06","slug":"hp67-the-other-h-pi","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1297\/hp67-the-other-h-pi\/","title":{"rendered":"HP67 &#8211; The Other h PI"},"content":{"rendered":"<p>There is an unused code for the HP-67 calculator that displays as &#8220;h PI&#8221;. (It comes up as keycode &#8220;35 73&#8221;.) It is one of the six codes that you can&#8217;t normally enter into the calculator. What does it do? Does it key in PI, like the real one? Does it do something more interesting? <!--more--><\/p>\n<p>Unfortunately, like the &#8220;f LBL (i)&#8221; unused code, the other &#8220;h PI&#8221; does absolutely nothing. It doesn&#8217;t produce PI. It doesn&#8217;t do anything useful at all.<\/p>\n<p>Here&#8217;s the actual microcode for a 0x4f hex code (other h PI) instruction:<\/p>\n<pre>\r\ndo_h_pi_rsvd:\r\n; do nothing\r\n; go straight to tidy up after a function\r\n07117 if n\/c go to 07313\r\n07313 delayed rom 00\r\n07314 if n\/c go to 0074\r\n<\/pre>\n<p>It is enough to lead me to suspect that the original programmer (Dave Cochran?) tidied up all the loose ends when he wrote the microcode. That&#8217;s pretty impressive when you realize they had to get the entire calculator to run in 5K of ROM. There wouldn&#8217;t have been much left much over for the finer programming points.<\/p>\n<p>You can see the process of SST-ing a 0x4f (fake h PI) instruction in <a href=\"http:\/\/www.sydneysmith.com\/products\/gss-hp67u\/downloads\/67-h-pi-4f.txt\" target=\"_blank\">67-h-pi-4f.txt<\/a>.<\/p>\n<p>You can find details about the missing codes and how to enter them in <a href=\"http:\/\/www.sydneysmith.com\/wordpress\/1262\/hp67-unused-program-codes\/\">HP67 Unused Program Codes<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is an unused code for the HP-67 calculator that displays as &#8220;h PI&#8221;. (It comes up as keycode &#8220;35 73&#8221;.) It is one of the six codes that you can&#8217;t normally enter into the calculator. What does it do? Does it key in PI, like the real one? Does it do something more interesting?<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,5,3],"tags":[33,32],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1297"}],"collection":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1297"}],"version-history":[{"count":3,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1297\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1297\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}