{"id":4415,"date":"2016-04-25T16:45:17","date_gmt":"2016-04-25T20:45:17","guid":{"rendered":"http:\/\/nickm.com\/post\/?p=4415"},"modified":"2016-04-25T16:45:17","modified_gmt":"2016-04-25T20:45:17","slug":"hello-globe","status":"publish","type":"post","link":"https:\/\/nickm.com\/post\/2016\/04\/hello-globe\/","title":{"rendered":"Hello, Globe"},"content":{"rendered":"<p>On Saturday, the 400th anniversary of Shakespeare\u2019s death (and, happy birthday, too, Will), I delivered to Twitter, via post-haste dispatch, the following four Commodore 64 BASIC programs, versions of the famous \u201cHello world\u201d program:<\/p>\n<p><code><br \/>\n400 ? chr$(147)\"hello world\":for a=1 to 500:next:? chr$(19)\"brave\":new:rem #c64<\/p>\n<p>400 ? chr$(144)chr$(79)chr$(84)\"hello world\":rem #c64<\/p>\n<p>400 ? \"hello world\"chr$(4^3+(2*b or not 2*b)):rem #c64<\/p>\n<p>400 for a=0to255:? chr$(147)spc(a)\"(QRQ) hello world\":next:? chr$(147):rem #c64<br \/>\n<\/code><\/p>\n<p>Type &#8217;em in to a for-real Commodore 64 or to <a href=\"http:\/\/vice.janicek.co\/c64\/\">this Web-based emulator here.<\/a> No special characters are involved, so entering these programs should be easy; lowercase letters will appear capitalized and the few capital ones will appear as graphical symbols.<\/p>\n<p>Let me know what you think &#8230; and if you see the relationship to four of Shakespeare&#8217;s plays.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Saturday, the 400th anniversary of Shakespeare\u2019s death (and, happy birthday, too, Will), I delivered to Twitter, via post-haste dispatch, the following four Commodore 64 BASIC programs, versions of the famous \u201cHello world\u201d program: 400 ? chr$(147)&#8221;hello world&#8221;:for a=1 to 500:next:? chr$(19)&#8221;brave&#8221;:new:rem #c64 400 ? chr$(144)chr$(79)chr$(84)&#8221;hello world&#8221;:rem #c64 400 ? &#8220;hello world&#8221;chr$(4^3+(2*b or not 2*b)):rem &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/nickm.com\/post\/2016\/04\/hello-globe\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hello, Globe&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,15,140],"class_list":["post-4415","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-poetry","tag-programming","tag-theater"],"_links":{"self":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/comments?post=4415"}],"version-history":[{"count":1,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4415\/revisions"}],"predecessor-version":[{"id":4420,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4415\/revisions\/4420"}],"wp:attachment":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/media?parent=4415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/categories?post=4415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/tags?post=4415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}