<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>blog-dump (Posts about 68000)</title><link>https://dciabrin.net/</link><description></description><atom:link href="https://dciabrin.net/categories/68000.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:damien.ciabrini@gmail.com"&gt;Damien Ciabrini&lt;/a&gt; </copyright><lastBuildDate>Wed, 28 Jan 2026 23:18:47 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Make the most of compiled C loops on the 68000</title><link>https://dciabrin.net/posts/make-the-most-of-compiled-c-loops-on-the-68000/make-the-most-of-compiled-c-loops-on-the-68000/</link><dc:creator>Damien Ciabrini</dc:creator><description>&lt;div&gt;&lt;p&gt;The other day I was working on my pet project &lt;a href="https://github.com/dciabrin/ngdevkit"&gt;ngdevkit&lt;/a&gt;, an open source C development kit for the &lt;a href="https://en.wikipedia.org/wiki/Neo_Geo"&gt;Neo Geo&lt;/a&gt; hardware. I needed to write a simple &lt;code&gt;clear_screen&lt;/code&gt; function, and I chose to do it in C for simplicity, in the hope that this would get efficiently compiled into 68000 assembly. That apparently innocuous task led me to some interesting findings regarding gcc, binutils, and how you can hint the compiler to generate efficient 68000 code for small loops to reclaim some of your precious clock cycles.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://dciabrin.net/posts/make-the-most-of-compiled-c-loops-on-the-68000/make-the-most-of-compiled-c-loops-on-the-68000/"&gt;Read more…&lt;/a&gt; (13 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>68000</category><category>neogeo</category><category>ngdevkit</category><guid>https://dciabrin.net/posts/make-the-most-of-compiled-c-loops-on-the-68000/make-the-most-of-compiled-c-loops-on-the-68000/</guid><pubDate>Mon, 15 Sep 2025 17:07:49 GMT</pubDate></item></channel></rss>