{"id":214,"date":"2011-02-01T20:37:03","date_gmt":"2011-02-01T18:37:03","guid":{"rendered":"http:\/\/lallafa.de\/blog\/"},"modified":"2012-07-01T15:32:39","modified_gmt":"2012-07-01T13:32:39","slug":"nibtools-on-mac","status":"publish","type":"page","link":"https:\/\/lallafa.de\/blog\/c64-projects\/nibtools-on-mac\/","title":{"rendered":"Nibtools on Mac"},"content":{"rendered":"<h3>1. Introduction<\/h3>\n<p>Now that <a title=\"OpenCBM on Mac\" href=\"http:\/\/lallafa.de\/blog\/opencbm-on-mac\/\">OpenCBM runs on Macs<\/a> very well and really makes fun with the new XUM1541 based devices like ZoomFloppy the next step is to support Nibtools on Macs. The Nibtools are a set of tools that use the OpenCBM libraries and allow to retrieve accurate images from copy-protected or severly damaged disks. This only works if your Commodore floppy is connected via a parallel interface that needs to be <a href=\"http:\/\/ist.uwaterloo.ca\/~schepers\/1541par.html\">added to the device<\/a>.\u00c2\u00a0 See the <a href=\"http:\/\/c64preservation.com\/\">C64Preservation<\/a> site if you want to get more information on nibtools.<\/p>\n<h3>2. Software Installation<\/h3>\n<ul>\n<li>The Nibtools on Mac require OpenCBM on Mac installed first. See my <a title=\"OpenCBM on Mac\" href=\"http:\/\/lallafa.de\/blog\/opencbm-on-mac\/\">OpenCBM on Mac<\/a> page for details.<\/li>\n<li>You also need MacPorts but thats already installed in the previous step<\/li>\n<li>First create a new empty directory:<code><br \/>\n&gt; mkdir nibtools<br \/>\n&gt; cd nibtools<\/code><\/li>\n<li>Now download a Portfile into it: You can either pick a <a href=\"https:\/\/www.lallafa.de\/files\/nibtools\/Portfile\">Portfile for a sucessfully tested snapshot (30.1.2011)<\/a> hosted here on my Site:<code><br \/>\n&gt; curl -O https:\/\/www.lallafa.de\/files\/nibtools\/Portfile<\/code><br \/>\nor you pick the <a href=\"https:\/\/www.lallafa.de\/files\/nibtools\/Portfile-svn\">most recent version from Nibtools&#8217; SVN Repository<\/a>:<code><br \/>\n&gt; curl -o Portfile https:\/\/www.lallafa.de\/files\/nibtools\/Portfile-svn<\/code><\/li>\n<li>Now call MacPort&#8217;s port tool and install the Portfile from this directory. Give your user&#8217;s password when asked. You can ignore the warnings issued in the first lines.<code><br \/>\n&gt; sudo port install<br \/>\nWarning: No port opencbm found in the index.<br \/>\nWarning: No port opencbm found in the index.<br \/>\n---&gt;\u00c2\u00a0 Computing dependencies for nibtools<br \/>\n---&gt;\u00c2\u00a0 Fetching nibtools<br \/>\n---&gt;\u00c2\u00a0 Verifying checksum(s) for nibtools<br \/>\n---&gt;\u00c2\u00a0 Extracting nibtools<br \/>\n---&gt;\u00c2\u00a0 Applying patches to nibtools<br \/>\n---&gt;\u00c2\u00a0 Configuring nibtools<br \/>\n---&gt;\u00c2\u00a0 Building nibtools<br \/>\n---&gt;\u00c2\u00a0 Staging nibtools into destroot<br \/>\n---&gt;\u00c2\u00a0 Installing nibtools @0.5.0_493<br \/>\n---&gt;\u00c2\u00a0 Activating nibtools @0.5.0_493<br \/>\n---&gt;\u00c2\u00a0 Cleaning nibtools<\/code><\/li>\n<li>Ok, that&#8217;s it. Nibtools is installed on your system! Have a look to see whats installed:<code><br \/>\n&gt; port contents<br \/>\nPort nibtools contains:<br \/>\n\/opt\/local\/bin\/nibconv<br \/>\n\/opt\/local\/bin\/nibread<br \/>\n\/opt\/local\/bin\/nibrepair<br \/>\n\/opt\/local\/bin\/nibscan<br \/>\n\/opt\/local\/bin\/nibwrite<br \/>\n\/opt\/local\/share\/doc\/nibtools\/readme.txt<\/code><\/li>\n<li>Have a look at the readme.txt to get more information on the package.<\/li>\n<\/ul>\n<h3>3. Usage Examples<\/h3>\n<ul>\n<li>Read a disk and create an disk image: Insert disk and call:<br \/>\n<code>&gt; nibread &lt;diskname&gt;.nib<\/code><\/li>\n<li>Write a disk image back to a blank disk:<br \/>\n<code>&gt; nibwrite &lt;diskname&gt;.nib<\/code><\/li>\n<li>Have Fun with Nibtools!<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>1. Introduction Now that OpenCBM runs on Macs very well and really makes fun with the new XUM1541 based devices like ZoomFloppy the next step is to support Nibtools on Macs. The Nibtools are a set of tools that use &hellip; <a href=\"https:\/\/lallafa.de\/blog\/c64-projects\/nibtools-on-mac\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":475,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-214","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/PiBMF-3s","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/pages\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":6,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/pages\/214\/revisions"}],"predecessor-version":[{"id":217,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/pages\/214\/revisions\/217"}],"up":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/pages\/475"}],"wp:attachment":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media?parent=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}