{"id":563,"date":"2011-09-11T00:01:13","date_gmt":"2011-09-11T07:01:13","guid":{"rendered":"https:\/\/www.ussherpress.com\/blog\/?p=563"},"modified":"2017-03-08T20:13:11","modified_gmt":"2017-03-09T04:13:11","slug":"quick-start-guide-to-c64-assembly","status":"publish","type":"post","link":"https:\/\/www.ussherpress.com\/blog\/?p=563","title":{"rendered":"Quick Start Guide to C=64 Assembly"},"content":{"rendered":"<p>I came across this great link today:<\/p>\n<p><a href=\"http:\/\/digitalerr0r.wordpress.com\/2011\/03\/19\/commodore-64-programming-a-quick-start-guide-to-c-64-assembly-programming-on-windows\/\">Commodore 64 Programming #1: A quick start guide to C=64 assembly programming on Windows<\/a><\/p>\n<p>The Commodore 64 is a great system that no hacker should be without. I didn&#8217;t have one as a kid, but I did buy one a year ago. Unfortunately, I haven&#8217;t devoted the time to playing with it as I thought I would. However, maybe the above easy instructions will change that. There are a lot of resources, I&#8217;m sure, on getting started hacking on the C=64 today, but this is a nice simple one that gets you writing some simple assembly and seeing results instantly.<\/p>\n<p><a href=\"https:\/\/www.ussherpress.com\/blog\/?attachment_id=564\" rel=\"attachment wp-att-564\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-564\" title=\"commodore64_01_full\" src=\"https:\/\/www.ussherpress.com\/blog\/wp-content\/uploads\/commodore64_01_full-1024x680.jpg\" alt=\"\" width=\"560\" height=\"371\" srcset=\"https:\/\/www.ussherpress.com\/blog\/wp-content\/uploads\/commodore64_01_full-1024x680.jpg 1024w, https:\/\/www.ussherpress.com\/blog\/wp-content\/uploads\/commodore64_01_full-300x199.jpg 300w, https:\/\/www.ussherpress.com\/blog\/wp-content\/uploads\/commodore64_01_full.jpg 1200w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>For those running Mac OS X:<\/p>\n<ul>\n<li>You&#8217;ll want to grab the binaries for the emulator here: <a href=\"http:\/\/vice-emu.sourceforge.net\/macosx.html\">http:\/\/vice-emu.sourceforge.net\/macosx.html<\/a><\/li>\n<li>And the assembler here: <a href=\"http:\/\/mac.softpedia.com\/get\/Developer-Tools\/DASM.shtml\">http:\/\/mac.softpedia.com\/get\/Developer-Tools\/DASM.shtml<\/a><\/li>\n<\/ul>\n<p>If you download the Cocoa version, launch the x64 app and hit cmd-O to open up the test.prg file you created with DASM.<\/p>\n<h2>Running on Real Hardware<\/h2>\n<p>Finally, if you have real hardware, I recommend getting an SD card reader for your Commodore 64. The one that I have is the uIEC\/SD from <a href=\"http:\/\/jbrain.net\">jbrain.net<\/a>: <a href=\"http:\/\/store.go4retro.com\/categories\/Commodore\/Hardware\/uIEC\/\">http:\/\/store.go4retro.com\/categories\/Commodore\/Hardware\/uIEC\/<\/a> You just dump your d64 files (or the test.prg from the sample above) onto an SD card, plug it into the device, boot up your C=64, and you&#8217;re good to go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across this great link today: Commodore 64 Programming #1: A quick start guide to C=64 assembly programming on Windows The Commodore 64 is a great system that no hacker should be without. I didn&#8217;t have one as a kid, but I did buy one a year ago. Unfortunately, I haven&#8217;t devoted the time &hellip; <a href=\"https:\/\/www.ussherpress.com\/blog\/?p=563\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Quick Start Guide to C=64 Assembly<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[135],"tags":[113,55,54],"_links":{"self":[{"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/563"}],"collection":[{"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=563"}],"version-history":[{"count":22,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/563\/revisions"}],"predecessor-version":[{"id":1404,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/563\/revisions\/1404"}],"wp:attachment":[{"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ussherpress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}