{"id":4029,"date":"2026-06-12T18:47:37","date_gmt":"2026-06-12T18:47:37","guid":{"rendered":"https:\/\/redfrontdoor.org\/blog\/?p=4029"},"modified":"2026-06-12T18:50:03","modified_gmt":"2026-06-12T18:50:03","slug":"more-dragon-32-nostalgia","status":"publish","type":"post","link":"https:\/\/redfrontdoor.org\/blog\/?p=4029","title":{"rendered":"More Dragon\u00a032 nostalgia"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have a box of cassette tapes from the mid to late 1980s containing, among other things, the programs I wrote for the Dragon\u00a032 when I was younger.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858-1024x768.jpg\" alt=\"\" class=\"wp-image-4037\" style=\"width:460px;height:auto\" srcset=\"https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858-1024x768.jpg 1024w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858-300x225.jpg 300w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858-768x576.jpg 768w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858-600x450.jpg 600w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/20260612_193858.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now clearly these gems must be preserved for the benefit of future generations, so here is one of them, a very simple Tetris clone written in assembly language.  The cassette contained a few versions, saved as development progressed, so I turned these into a git history, and then fixed a bug and added a feature or two.  Fun to do some 6809 assembly coding again.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"480\" src=\"https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/gameplay.png\" alt=\"\" class=\"wp-image-4030\" srcset=\"https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/gameplay.png 640w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/gameplay-300x225.png 300w, https:\/\/redfrontdoor.org\/blog\/wp-content\/uploads\/2026\/06\/gameplay-600x450.png 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The workflow was pretty good.  A script combines the assembler, conversion to a cassette-tape format, and running XRoar with automatic loading and running of the program, using <code>entr<\/code> to trigger that process when the source assembler file changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The git repo can be found on GitHub:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/bennorth\/dragon32-tetris\">https:\/\/github.com\/bennorth\/dragon32-tetris<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Future work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the photo at the top, the version start at &#8220;TET5&#8221;.  After getting this dusting-off project done, I found some other tapes with earlier versions.  Extracting them and folding into the git history somehow might be an interesting thing to do one day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continuing the Dragon\u00a032 theme, I extracted from cassette a sequence of versions of a Tetris clone I wrote long ago, and tidied it up a bit.<\/p>\n","protected":false},"author":2,"featured_media":4037,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4029","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","comments-off"],"_links":{"self":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4029"}],"version-history":[{"count":10,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4029\/revisions"}],"predecessor-version":[{"id":4042,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4029\/revisions\/4042"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/4037"}],"wp:attachment":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}