{"id":275,"date":"2018-11-03T19:46:43","date_gmt":"2018-11-03T18:46:43","guid":{"rendered":"http:\/\/blog.colinjones.co.uk\/?p=275"},"modified":"2018-11-03T22:17:47","modified_gmt":"2018-11-03T21:17:47","slug":"c64-cruising-on-broadway-development-part-16","status":"publish","type":"post","link":"https:\/\/blog.colinjones.co.uk\/index.php\/2018\/11\/03\/c64-cruising-on-broadway-development-part-16\/","title":{"rendered":"C64 Cruising on Broadway Development &#8211; Part 16"},"content":{"rendered":"<p>Last week I got to work transposing the music from the Gameboy game Choplifter II (Level 1) to 3 voices suitable for coding to the SID chip. That done I had 7 days at work in a row with very little time spare for coding.<\/p>\n<p>Today I got to work on the music routine itself. I did steal a frequency table, but I call this fare game as it&#8217;s out in the public domain and my ears just won&#8217;t allow me to create this without help.<\/p>\n<p>An hour or so later I had the base tracking routine in place. Converted the notes to numbers the tracker would recognise in a series of patterns (I based it on the formula used by the 16 bit era trackers) and tested. A few bugs ironed out and I completed the pattern entry. This was a self contained project and runs via interrupt while the computer is free for other things, and controlled with a simple POKE command to turn the music on and off.<\/p>\n<p>The code and data was then moved to the main project, and a few changes made to sync the intro screen text scroller to the music. The result is in the video below.<\/p>\n<p>Video re-uploaded due to changing the main tune octave.<\/p>\n<p>As always, it&#8217;s available for download <a href=\"https:\/\/www.colinjones.co.uk\/files\/cruising.prg\">here<\/a> \ud83d\ude42<\/p>\n<p><iframe loading=\"lazy\" title=\"C64 Cruising on Broadway - Music\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/EXWRO2bwJLo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I got to work transposing the music from the Gameboy game Choplifter II (Level 1) to 3 voices suitable for coding to the SID chip. That done I had 7 days at work in a row with very &hellip; <a href=\"https:\/\/blog.colinjones.co.uk\/index.php\/2018\/11\/03\/c64-cruising-on-broadway-development-part-16\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,16],"tags":[],"class_list":["post-275","post","type-post","status-publish","format-standard","hentry","category-general","category-retro"],"_links":{"self":[{"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":4,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/275\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.colinjones.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}