{"id":55,"date":"2011-03-31T03:41:36","date_gmt":"2011-03-31T03:41:36","guid":{"rendered":"http:\/\/dial-a-grue.com\/gory\/?p=55"},"modified":"2011-03-31T03:42:18","modified_gmt":"2011-03-31T03:42:18","slug":"brains-too-small-make-bigger","status":"publish","type":"post","link":"https:\/\/dial-a-grue.com\/gory\/?p=55","title":{"rendered":"Brains too small, make bigger&#8230;"},"content":{"rendered":"<p>I supposed I should have figured this out earlier, but there just isn&#8217;t enough SRAM for the <em>zip <\/em>interpreter to run the <em>Zork I<\/em> story file. \u00c2\u00a0 It is trying to <em>malloc()<\/em> approximately 30KB of ram for various data structures, and the poor little Arduino Mega only has 8. \u00c2\u00a0 It might be possible to implement an interpreter from scratch that could get away with using program space (128K or 256K, depending on the model) for static data, and make better use of the SRAM (8K) and eeprom (4K) spaces, but that doesn&#8217;t seem likely before the Maker Faire, so I&#8217;ve decided to switch tracks.<\/p>\n<p>The main game will run on a <a href=\"http:\/\/www.fit-pc.com\/web\/\">FitPC<\/a>, (a small computer that can be easily embedded), and will talk to the trusty Arduino Pro to interface with the <a title=\"The Phone\" href=\"http:\/\/dial-a-grue.com\/gory\/?page_id=6\">phone<\/a> <a title=\"New Phone\u00e2\u20ac\u00a6.\" href=\"http:\/\/dial-a-grue.com\/gory\/?p=47\">hardware<\/a>, while simultaneously using the <a title=\"Ears and Mouth have arrived\u00e2\u20ac\u00a6\" href=\"http:\/\/dial-a-grue.com\/gory\/?p=45\">modem<\/a> to talk to the <a title=\"The TTY\" href=\"http:\/\/dial-a-grue.com\/gory\/?page_id=7\">TDD<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I supposed I should have figured this out earlier, but there just isn&#8217;t enough SRAM for the zip interpreter to run the Zork I story file. \u00c2\u00a0 It is trying to malloc() approximately 30KB of ram for various data structures, and the poor little Arduino Mega only has 8. \u00c2\u00a0 It might be possible to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9,4],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-brains","category-coding","category-planning"],"_links":{"self":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":0,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}