<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>optimization &#8211; Set Side B</title>
	<atom:link href="https://setsideb.com/tag/optimization/feed/" rel="self" type="application/rss+xml" />
	<link>https://setsideb.com</link>
	<description>The Flipside of Gaming</description>
	<lastBuildDate>Thu, 16 Oct 2025 07:20:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://setsideb.com/wp-content/uploads/2022/04/cropped-mascot512-32x32.png</url>
	<title>optimization &#8211; Set Side B</title>
	<link>https://setsideb.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Retro Game Coders</title>
		<link>https://setsideb.com/retro-game-coders/</link>
		
		<dc:creator><![CDATA[rodneylives]]></dc:creator>
		<pubDate>Thu, 16 Oct 2025 14:00:00 +0000</pubDate>
				<category><![CDATA[development]]></category>
		<category><![CDATA[retro]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[commodore64]]></category>
		<category><![CDATA[CP/M]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[petscii]]></category>
		<category><![CDATA[RetroGameCoders]]></category>
		<guid isPermaLink="false">https://setsideb.com/?p=10870</guid>

					<description><![CDATA[This is a pretty nifty website that covers a variety of retro-coding topics. Here I link to three recent posts. #1: CP/M working in a browser I&#8217;ve mentioned before my fondness for CP/M, the first widely-used microcomputer OS, the DOS-before-DOS. My attempts to try to emulate machines using it, however, have mostly gotten snagged on &#8230; <a href="https://setsideb.com/retro-game-coders/" class="more-link">Continue reading<span class="screen-reader-text"> "Retro Game Coders"</span></a>]]></description>
										<content:encoded><![CDATA[
<p>This is a pretty nifty website that covers a variety of retro-coding topics. Here I link to three recent posts.</p>



<h3 class="wp-block-heading">#1: CP/M working in a browser</h3>



<p>I&#8217;ve mentioned before <a href="https://setsideb.com/the-coolest-thing-in-the-world-is-cp-m-for-6502/">my fondness for CP/M</a>, the first widely-used microcomputer OS, the DOS-before-DOS. My attempts to try to emulate machines using it, however, have mostly gotten snagged on one thing or another. Well they have <a href="https://retrogamecoders.com/cpm-new/">a post about getting in-browser CP/M working</a>, with information on some of its commands. <a href="https://cpm.retrogamecoders.com/">Here you can run it yourself</a>,</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="872" src="https://setsideb.com/wp-content/uploads/2025/10/image-5-1024x872.png" alt="" class="wp-image-10872" srcset="https://setsideb.com/wp-content/uploads/2025/10/image-5-1024x872.png 1024w, https://setsideb.com/wp-content/uploads/2025/10/image-5-300x256.png 300w, https://setsideb.com/wp-content/uploads/2025/10/image-5-768x654.png 768w, https://setsideb.com/wp-content/uploads/2025/10/image-5-1200x1022.png 1200w, https://setsideb.com/wp-content/uploads/2025/10/image-5.png 1282w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></figure>



<p>People familiar with MS-DOS should be right at home, although some commands are different. (That&#8217;s because MS-DOS changed them; it was originally made as a CP/M clone.) One major difference is the absence, in this version, of disk directories. Instead there were up to 16 numbered &#8220;user areas,&#8221; each its own individual region on the disk, kept separate from the others. CP/M was an amazingly compact system, a single floppy disk could host a half-dozen compilers and have room to spare.</p>



<h3 class="wp-block-heading">#2: Speeding Up PETSCII</h3>



<p>Commodore BASIC was notoriously slow, but also feature-poor. A version of the same Microsoft BASIC that was co-written by Bill Gates himself, and was later ported to MS-DOS as QuickBasic. <a href="https://retrogamecoders.com/printing-petscii-faster/">This page is a collection of different ways to speed up printing PETSCII character</a>s, covering several optimization techniques, one of them, avoiding IF statements, being non-obvious.</p>



<h3 class="wp-block-heading">#3 Online Retro IDE</h3>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="701" src="https://setsideb.com/wp-content/uploads/2025/10/image-6-1024x701.png" alt="" class="wp-image-10873" srcset="https://setsideb.com/wp-content/uploads/2025/10/image-6-1024x701.png 1024w, https://setsideb.com/wp-content/uploads/2025/10/image-6-300x205.png 300w, https://setsideb.com/wp-content/uploads/2025/10/image-6-768x526.png 768w, https://setsideb.com/wp-content/uploads/2025/10/image-6-1536x1052.png 1536w, https://setsideb.com/wp-content/uploads/2025/10/image-6-2048x1402.png 2048w, https://setsideb.com/wp-content/uploads/2025/10/image-6-1200x822.png 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></figure>



<p><a href="https://retrogamecoders.com/online-retro-ide-x86-and-bbc-micro-updates/">The linked page is actually about a recent update for it that adds support for DOSBox and BBC BASIC</a>.  It supports loading your code directly into a Javascript emulator. It supports many other computers and consoles. <a href="https://ide.retrogamecoders.com/">The IDE itself is here</a>. The update page claims that FreeDOS is available as a platform, and with it another runnable version of Rogue, but I couldn&#8217;t figure out how to get into it before posting.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='rodneylives' src='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://setsideb.com/author/rodneylives/" class="vcard author" rel="author"><span class="fn">rodneylives</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Twitter" target="_self" href="https://twitter.com/rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Instagram" target="_self" href="https://www.instagram.com/rodneysnotdead/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Html5" target="_self" href="https://www.metafilter.com/user/23306" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-html5" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M0 32l34.9 395.8L191.5 480l157.6-52.2L384 32H0zm308.2 127.9H124.4l4.1 49.4h175.6l-13.6 148.4-97.9 27v.3h-1.1l-98.7-27.3-6-75.8h47.7L138 320l53.5 14.5 53.7-14.5 6-62.2H84.3L71.5 112.2h241.1l-4.4 47.7z"></path></svg></span></a><a title="Mastodont" target="_self" href="https://cybre.space/@rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-mastodont" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 417 512"><path fill="currentColor" d="M417.8 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.5-28.4-290.4 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.4-.9-9-.9-13.9 85.6 20.9 158.6 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H75.1c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path></svg></span></a></div></div></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kaze Emanuar&#8217;s Adventures in Mario 64 Optimization: Calculating Sine</title>
		<link>https://setsideb.com/kaze-emanuars-adventures-in-mario-64-optimization-calculating-sine/</link>
		
		<dc:creator><![CDATA[rodneylives]]></dc:creator>
		<pubDate>Fri, 30 Jun 2023 14:00:00 +0000</pubDate>
				<category><![CDATA[development]]></category>
		<category><![CDATA[niche]]></category>
		<category><![CDATA[retro]]></category>
		<category><![CDATA[book2]]></category>
		<category><![CDATA[cosine]]></category>
		<category><![CDATA[kazeemanuar]]></category>
		<category><![CDATA[mario]]></category>
		<category><![CDATA[mario64]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[n64]]></category>
		<category><![CDATA[nintendo]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[sine]]></category>
		<category><![CDATA[taylorseries]]></category>
		<category><![CDATA[trigonometry]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>
		<guid isPermaLink="false">https://setsideb.com/?p=4960</guid>

					<description><![CDATA[I&#8217;ve mentioned Kaze Emanuar&#8217;s efforts to make the best Mario 64 there can possibly be on its native hardware. He&#8217;s compiled it with optimization flags turned on, made its platforming engine much more efficient, and worked hard to minimize cache misses, which was a major source of slowdowns in the game&#8217;s code. Under his efforts, &#8230; <a href="https://setsideb.com/kaze-emanuars-adventures-in-mario-64-optimization-calculating-sine/" class="more-link">Continue reading<span class="screen-reader-text"> "Kaze Emanuar&#8217;s Adventures in Mario 64 Optimization: Calculating Sine"</span></a>]]></description>
										<content:encoded><![CDATA[
<p>I&#8217;ve mentioned Kaze Emanuar&#8217;s efforts to make the best Mario 64 there can possibly be on its native hardware. He&#8217;s compiled it with optimization flags turned on, made its platforming engine much more efficient, and worked hard to minimize cache misses, which was a major source of slowdowns in the game&#8217;s code. Under his efforts, he&#8217;s gotten the engine running at 60fps (although not yet in a playable version of the original). While these optimizations are not the kind of thing that can keep being found indefinitely, he&#8217;s bound to run out of ways to tune up the code, currently he&#8217;s still finding new ways to speed it up.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="688" src="https://setsideb.com/wp-content/uploads/2023/06/image-34-1024x688.png" alt="" class="wp-image-4963" srcset="https://setsideb.com/wp-content/uploads/2023/06/image-34-1024x688.png 1024w, https://setsideb.com/wp-content/uploads/2023/06/image-34-300x201.png 300w, https://setsideb.com/wp-content/uploads/2023/06/image-34-768x516.png 768w, https://setsideb.com/wp-content/uploads/2023/06/image-34-1536x1031.png 1536w, https://setsideb.com/wp-content/uploads/2023/06/image-34-1200x806.png 1200w, https://setsideb.com/wp-content/uploads/2023/06/image-34.png 2048w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption class="wp-element-caption">I hope you&#8217;re ready for some F-U-N (approximation FUNctions)</figcaption></figure>



<p>He made a Youtube video detailing his most recent optimization find: getting the game&#8217;s trigonometric functions executing at their speediest. What is interesting is that the Mario 64 code already uses a couple of tricks to get sine and cosine results in a rapid manner: the game only uses 4096 discrete angles of movement direction, and contains a lookup table that covers each of those angles. But it turns out that this optimization is actually a <em>mis-</em>optimization, because the RAM bus hits incurred to read the values into the cache are actually more expensive than just figuring out the values in code on the N64&#8217;s hardware!</p>



<p>The video starts out decently comprehensible, but eventually descends into the process of figuring out sine and cosine on the fly, and the virtues of the various ways this can be done, so you can&#8217;t be faulted for bailing before the end, possibly at the moment the dreaded words &#8220;Taylor series&#8221; are mentioned. But it&#8217;s a fairly interesting watch until then!</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Finding the BEST sine function for Nintendo 64" width="840" height="473" src="https://www.youtube.com/embed/xFKFoGiGlXQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div></figure>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='rodneylives' src='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://setsideb.com/author/rodneylives/" class="vcard author" rel="author"><span class="fn">rodneylives</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Twitter" target="_self" href="https://twitter.com/rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Instagram" target="_self" href="https://www.instagram.com/rodneysnotdead/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Html5" target="_self" href="https://www.metafilter.com/user/23306" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-html5" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M0 32l34.9 395.8L191.5 480l157.6-52.2L384 32H0zm308.2 127.9H124.4l4.1 49.4h175.6l-13.6 148.4-97.9 27v.3h-1.1l-98.7-27.3-6-75.8h47.7L138 320l53.5 14.5 53.7-14.5 6-62.2H84.3L71.5 112.2h241.1l-4.4 47.7z"></path></svg></span></a><a title="Mastodont" target="_self" href="https://cybre.space/@rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-mastodont" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 417 512"><path fill="currentColor" d="M417.8 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.5-28.4-290.4 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.4-.9-9-.9-13.9 85.6 20.9 158.6 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H75.1c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path></svg></span></a></div></div></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Romhack Thursday: Super Mario 64 Reduced Lag</title>
		<link>https://setsideb.com/romhack-thursday-super-mario-64-reduced-lag/</link>
		
		<dc:creator><![CDATA[rodneylives]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 15:00:00 +0000</pubDate>
				<category><![CDATA[niche]]></category>
		<category><![CDATA[retro]]></category>
		<category><![CDATA[romhacks]]></category>
		<category><![CDATA[romhackthursday]]></category>
		<category><![CDATA[book2]]></category>
		<category><![CDATA[kazeemanuar]]></category>
		<category><![CDATA[mario]]></category>
		<category><![CDATA[nintendo]]></category>
		<category><![CDATA[nintendo64wizard]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[romhack]]></category>
		<category><![CDATA[supermario64]]></category>
		<guid isPermaLink="false">https://setsideb.com/?p=2664</guid>

					<description><![CDATA[It&#8217;s not so much a hack as a recompilation, but it&#8217;s distributed in patch form so I&#8217;m accepting it. A person identified as &#8220;Nintendo 64 Wizard&#8221; took the source code created by decompiling Super Mario 64, and, simply, did something that Nintendo didn&#8217;t do: compile the game with -O2 optimization turned on. The result is &#8230; <a href="https://setsideb.com/romhack-thursday-super-mario-64-reduced-lag/" class="more-link">Continue reading<span class="screen-reader-text"> "Romhack Thursday: Super Mario 64 Reduced Lag"</span></a>]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s not so much a hack as a recompilation, but it&#8217;s distributed in patch form so I&#8217;m accepting it. A person identified as &#8220;Nintendo 64 Wizard&#8221; took <a href="https://github.com/n64decomp/sm64">the source code created by decompiling Super Mario 64</a>, and, simply, did something that Nintendo didn&#8217;t do: compile the game with -O2 optimization turned on. The result is a much more consistent frame rate.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="640" height="480" src="https://setsideb.com/wp-content/uploads/2022/11/sm64optimized_bowerssub.jpg" alt="" class="wp-image-2666" srcset="https://setsideb.com/wp-content/uploads/2022/11/sm64optimized_bowerssub.jpg 640w, https://setsideb.com/wp-content/uploads/2022/11/sm64optimized_bowerssub-300x225.jpg 300w" sizes="auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /><figcaption class="wp-element-caption">From the romhacking.net article, a scene from the star with Bowser&#8217;s Sub in it, which is notorious for causing the game to lag.</figcaption></figure>



<p>If optimizing Super Mario 64 is an appealing concept to you, you might be interested in some of the videos made by Youtuber Kaze Emanuar, that goes into <a href="https://www.youtube.com/watch?v=uYPH-NH3B6k">why the game has lag</a>, and <a href="https://www.youtube.com/watch?v=t_rzYnXEQlE">his own efforts into improving it</a>.</p>



<p><a href="https://www.romhacking.net/hacks/4905/">Super Mario 64 Reduced Lag hack</a> (romhacking.net)</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='rodneylives' src='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/cb688ada8b517e838b06bdbcddb8d1ea3dd56de2e66848938e8c6568002a4fa9?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://setsideb.com/author/rodneylives/" class="vcard author" rel="author"><span class="fn">rodneylives</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Twitter" target="_self" href="https://twitter.com/rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Instagram" target="_self" href="https://www.instagram.com/rodneysnotdead/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Html5" target="_self" href="https://www.metafilter.com/user/23306" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-html5" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M0 32l34.9 395.8L191.5 480l157.6-52.2L384 32H0zm308.2 127.9H124.4l4.1 49.4h175.6l-13.6 148.4-97.9 27v.3h-1.1l-98.7-27.3-6-75.8h47.7L138 320l53.5 14.5 53.7-14.5 6-62.2H84.3L71.5 112.2h241.1l-4.4 47.7z"></path></svg></span></a><a title="Mastodont" target="_self" href="https://cybre.space/@rodneylives" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-mastodont" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 417 512"><path fill="currentColor" d="M417.8 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.5-28.4-290.4 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.4-.9-9-.9-13.9 85.6 20.9 158.6 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H75.1c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path></svg></span></a></div></div></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
