{"id":1862,"date":"2013-10-03T16:07:48","date_gmt":"2013-10-03T14:07:48","guid":{"rendered":"http:\/\/andreaszapf.de\/blog\/?p=1862"},"modified":"2013-10-03T16:41:18","modified_gmt":"2013-10-03T14:41:18","slug":"astronomy-on-your-own-computer-where-it-all-began","status":"publish","type":"post","link":"https:\/\/andreaszapf.de\/blog\/?p=1862","title":{"rendered":"Astronomy on your own Computer &#8211; where it all began"},"content":{"rendered":"<p>Sometimes, you just need luck. For quite a while now, I have been looking for an old computer program called <em>Skyplot<\/em>. Next to some very cold nights out under a clear Bavarian sky back in 1985, this is probably what sparked my initial interest in the skies above &#8211; and although I did not touch a Schneider CPC Computer for more than 30 years, I never forgot about <em>Skyplot<\/em>.<\/p>\n<p>The program is rare &#8211; I found some people on the Classic Computer Forum and they rendered some help (including the offer to send a copy over on a 3&#8243; Disk) but I was after the original listing (or at least a scan thereof). And then <a title=\"ZX81 \u2013 Code from the past, coding with the tools of today\" href=\"http:\/\/andreaszapf.de\/blog\/?p=1793\">I bought ZX81 Magazine<\/a> on eBay. And it just crossed my mind to see what else the seller had on sale &#8211; a couple of CPC Magazines along. And then, there was a copy of a magazine from Austria &#8211; released in January 1987&#8230; I took a look&#8230; and there it was&#8230; right on the cover!<\/p>\n<h2>From the Magazine to the PC&#8230;<\/h2>\n<p>I have written about <a title=\"ZX81 \u2013 Code from the past, coding with the tools of today\" href=\"http:\/\/andreaszapf.de\/blog\/?p=1793\">getting the code from the magazine<\/a> into the system using Scanning, OCR and Notepad++ &#8211; I am not going to repeat the story here. I placed the initial, uncleaned text file right in Subversion to have a baseline in case anything goes wrong and started cleaning the code in Notepad++.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Code-01-Uncleaned-Version.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1901\" alt=\"Code 01 - Uncleaned Version\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Code-01-Uncleaned-Version.jpg\" width=\"1295\" height=\"736\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Code-01-Uncleaned-Version.jpg 1295w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Code-01-Uncleaned-Version-300x170.jpg 300w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Code-01-Uncleaned-Version-1024x581.jpg 1024w\" sizes=\"auto, (max-width: 1295px) 100vw, 1295px\" \/><\/a>You may already be able to pick up some of the more obvious problem areas:<\/p>\n<ul>\n<li>Percent-Characters (&#8220;%&#8221;) have not been OCR-ed properly&#8230;<\/li>\n<li>Spaces (&#8221; &#8220;) in places they should not be in&#8230;<\/li>\n<li>Ampersand-Characters (&#8220;&amp;&#8221;) not properly OCR-ed&#8230;<\/li>\n<li>The number &#8220;1&#8221; and the character &#8220;l&#8221; are not properly OCR-ed which is extremely difficult to see in the result&#8230; and so are the number &#8220;0&#8221; and the character &#8220;O&#8221;.<\/li>\n<li>&#8230;<\/li>\n<\/ul>\n<h2>&#8230; and into the CPC Emulator<\/h2>\n<p>So here we are &#8211; the code is in the PC, possibly written using a tool like Notepad++ and has been reviewed and corrected. Now what?<\/p>\n<p>With a little bit of help from the author, I managed to use <a href=\"http:\/\/cpc-live.com\/news.php\" target=\"_blank\">JavaCPC<\/a> Version 2.2b and it&#8217;s AutopType feature to get the code over &#8211; important hint was to use the &#8220;As BASIC&#8221; option. Paste the code into the AutoType window, select the &#8220;As BASIC&#8221; option and hit the Send to CPC button. It will take a while but it will bring your code into the emulated CPC.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-01-AutoType-as-BASIC.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1926\" alt=\"JavaCPC 01 - AutoType as BASIC\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-01-AutoType-as-BASIC.jpg\" width=\"549\" height=\"490\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-01-AutoType-as-BASIC.jpg 549w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-01-AutoType-as-BASIC-300x267.jpg 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a>Once the auto-typing feature is done (after a few minutes for a listing of this size) we are able to use the emulated CPC and look at the first line of code within. For a better overview, I have switched to MODE 2.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-02-The-Code.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1916\" alt=\"JavaCPC 02 - The Code\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-02-The-Code.jpg\" width=\"783\" height=\"558\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-02-The-Code.jpg 783w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/JavaCPC-02-The-Code-300x213.jpg 300w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a>Now, some 28 years after it has been published, the cleaned and imported code (hopefully) runs again.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-01-Main-Menu.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1917\" alt=\"Skyplot 01 - Main Menu\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-01-Main-Menu.jpg\" width=\"783\" height=\"559\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-01-Main-Menu.jpg 783w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-01-Main-Menu-300x214.jpg 300w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a>I have left the program in German as this is the original language it was published in. Just for a quick functional check I will ask Skyplot to draw us a map of the stars today, Thursday, October 3rd, 2013.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-02-Full-Map-of-the-Sky.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1919\" alt=\"Skyplot 02 - Full Map of the Sky\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-02-Full-Map-of-the-Sky.jpg\" width=\"783\" height=\"558\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-02-Full-Map-of-the-Sky.jpg 783w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-02-Full-Map-of-the-Sky-300x213.jpg 300w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a>But I am more curios about the exactness of the calculations of a software almost 30 years old &#8211; so the next thing to ask for is a map of the visible sky for November 15th, 2013 at 22:00 local time for 50\u00b0N.<\/p>\n<p><a href=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-03-Visible-Sky-mid-November.jpg\" rel=\"lightbox[1862]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1921\" alt=\"Skyplot 03 - Visible Sky mid November\" src=\"http:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-03-Visible-Sky-mid-November.jpg\" width=\"783\" height=\"559\" srcset=\"https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-03-Visible-Sky-mid-November.jpg 783w, https:\/\/andreaszapf.de\/blog\/wp-content\/uploads\/2013\/10\/Skyplot-03-Visible-Sky-mid-November-300x214.jpg 300w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a>A comparison with astronomical literature reveals: spot-on! Except, of course, two objects that have been of interest when Skyplot was published in the mid 1980s &#8211; but not today: Pluto can still be seen among the planets and Comet Halley is also on the screen &#8211; of course, not visible today&#8230;<\/p>\n<p>And &#8211; if you look closely: there is a bug somewhere \ud83d\ude09 &#8211; but I&#8217;ll leave that for the next session&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, you just need luck. For quite a while now, I have been looking for an old computer program called Skyplot. Next to some very cold nights out under a clear Bavarian sky back in 1985, this is probably what &hellip; <a href=\"https:\/\/andreaszapf.de\/blog\/?p=1862\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":65,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[15,21],"class_list":["post-1862","post","type-post","status-publish","format-standard","hentry","category-cpc","tag-cpc464","tag-cpc6128"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1azp4-u2","publishpress_future_action":{"enabled":false,"date":"2027-04-30 21:57:24","action":"change-status","newStatus":"private","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1862"}],"version-history":[{"count":13,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1862\/revisions"}],"predecessor-version":[{"id":1928,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1862\/revisions\/1928"}],"wp:attachment":[{"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andreaszapf.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}