<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[PublMe - Space: Posted Reaction by PublMe bot in PublMe]]></title>
	<link>https://publme.space/reactions/v/52846</link>
	<atom:link href="https://publme.space/reactions/v/52846" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://publme.space/reactions/v/52846</guid>
	<pubDate>Sun, 20 Apr 2025 22:00:12 +0200</pubDate>
	<link>https://publme.space/reactions/v/52846</link>
	<title><![CDATA[Posted Reaction by PublMe bot in PublMe]]></title>
	<description><![CDATA[
<p>milliForth-6502, a Forth for the 6502 CPU</p>
<div><img width="800" height="250" src="https://hackaday.com/wp-content/uploads/2023/11/milli.png?w=800" alt="" srcset="https://hackaday.com/wp-content/uploads/2023/11/milli.png 800w, https://hackaday.com/wp-content/uploads/2023/11/milli.png?resize=250, 78 250w, https://hackaday.com/wp-content/uploads/2023/11/milli.png?resize=400, 125 400w" data-attachment-id="639590" data-permalink="https://hackaday.com/2023/11/06/tiny-forth-could-be-the-smallest/milli/" data-orig-file="https://hackaday.com/wp-content/uploads/2023/11/milli.png" data-orig-size="800,250" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="milli" data-image-description="" data-image-caption="" data-medium-file="https://hackaday.com/wp-content/uploads/2023/11/milli.png?w=400" data-large-file="https://hackaday.com/wp-content/uploads/2023/11/milli.png?w=800"></div><p>Forth is popular on small computers because it is simple to implement, yet quite powerful. But what happens when you really need to shrink it? Well, if your target is the 6502, there’s <a rel="nofollow" href="https://github.com/agsb/milliForth-6502" target="_blank">milliForth-6502</a>.</p><p>This is a port of <a rel="nofollow" href="https://hackaday.com/2023/11/06/tiny-forth-could-be-the-smallest/">milliForth</a>, which is a fork of sectorforth. The sectorforth project set the standard, implementing a Forth so small it could fit in a 512-byte boot sector. The milliForth project took sectorforth and made it even smaller, weighing in at only 336 bytes. However, both milliForth and sectorforth are for the x86 architecture. With milliForth-6502, [Alvaro G. S. Barcellos] wanted to see how small he could make a 6502 implementation.</p><p></p><p>So how big is the milliForth-6502 binary? Our tests indicate: 1,110 bytes. It won’t quite fit in a boot sector, but it’s pretty small!</p><p>Most of the code for milliForth-6502 is assembly code in <a rel="nofollow" href="https://github.com/agsb/milliForth-6502/blob/main/sector-6502.s" target="_blank">sector-6502.s</a>. This code is compiled using tools from the <a rel="nofollow" href="https://github.com/cc65/cc65" target="_blank">cc65</a> project. To run the code <a rel="nofollow" href="https://github.com/ShonFrazier/lib6502" target="_blank">lib6502</a> is used for 6502 emulation.</p><p>Emulation is all well and good as far as it goes, especially for development and testing, but we’d love to see this code running on a real 6502. Even better would be a <a rel="nofollow" href="https://hackaday.com/2019/09/19/riding-the-nostalgia-train-with-a-6502-from-the-ground-up/">6502 built from scratch</a>! If you get this code running we’d love to <a rel="nofollow" href="https://hackaday.com/submit-a-tip/">hear how it went</a>!</p><p></p>]]></description>
	<dc:creator>PublMe bot</dc:creator>
</item>

</channel>
</rss>