{"id":1268,"date":"2015-11-15T21:28:16","date_gmt":"2015-11-15T21:28:16","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1268"},"modified":"2017-05-14T01:29:58","modified_gmt":"2017-05-14T01:29:58","slug":"hp67-startup-code","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1268\/hp67-startup-code\/","title":{"rendered":"HP67 Startup code"},"content":{"rendered":"<p>The hp67u emulator shows a &#8220;0.00&#8221; before you get a chance to select debugging so how can you explore the HP-67&#8217;s startup code?<br \/>\n<!--more--><\/p>\n<p>Fortunately there&#8217;s a way to <a href=\"http:\/\/sydneysmith.com\/products\/gss-hp67u\/run\/index.html?debug=1\" target=\"_blank\">start the hp67u in debug mode<\/a>. You&#8217;ll see the power switch at ON but the display is off. It looks like this:<br \/>\n<img loading=\"lazy\" src=\"http:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-start-300x118.png\" alt=\"67-debug-start\" width=\"300\" height=\"118\" class=\"alignnone size-medium wp-image-1269\" srcset=\"https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-start-300x118.png 300w, https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-start.png 348w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>If you tap the display (for the menu) and then select Advanced you&#8217;ll see:<br \/>\n<img loading=\"lazy\" src=\"http:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-rom-00000-258x300.png\" alt=\"67-debug-rom-00000\" width=\"258\" height=\"300\" class=\"alignnone size-medium wp-image-1270\" srcset=\"https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-rom-00000-258x300.png 258w, https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2015\/11\/67-debug-rom-00000.png 355w\" sizes=\"(max-width: 258px) 100vw, 258px\" \/><\/p>\n<p>It&#8217;s pretty rare to see all zeros in the internal registers and microcode step 0.<\/p>\n<p>From here you can turn logging on and see what happens at startup. I found it necessary to select [Step] first or the emulator starts the &#8220;Running&#8230;&#8221; process the instant you select [Log is ON] and you don&#8217;t get time to choose one of the more useful logging modes ([Log is DETAILED] or [Log is SMART]).<\/p>\n<p>Here&#8217;s what happens:<br \/>\n<a href=\"http:\/\/www.sydneysmith.com\/products\/gss-hp67u\/downloads\/67-startup.txt\" target=\"_blank\">67-startup.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The hp67u emulator shows a &#8220;0.00&#8221; before you get a chance to select debugging so how can you explore the HP-67&#8217;s startup code?<\/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\/1268"}],"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=1268"}],"version-history":[{"count":2,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1268\/revisions"}],"predecessor-version":[{"id":1283,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1268\/revisions\/1283"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}