Felix Palmen :freebsd: :c64:<p>You might think rendering <a href="https://mastodon.bsd.cafe/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://mastodon.bsd.cafe/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> on a modern <a href="https://mastodon.bsd.cafe/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> is just fine because it still supports the old codepages, including <a href="https://mastodon.bsd.cafe/tags/cp437" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cp437</span></a>. Well, sort of.</p><p>Some escape sequences are interpreted differently than ANSI.SYS did. In the worst case, you'll just see garbage. Most files are "sane" enough though, but even then, the default colors are "just wrong"...</p><p><a href="https://mastodon.bsd.cafe/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> takes advantage of the 256color support available since Windows 10 to mimic the original <a href="https://mastodon.bsd.cafe/tags/VGA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VGA</span></a> palette. It also renders to a virtual canvas first, exactly emulating ANSI.SYS, and then uses a safe subset of ANSI for actual output. And it can read and display <a href="https://mastodon.bsd.cafe/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a> metadata. 😎</p><p>Of course it also works on <a href="https://mastodon.bsd.cafe/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a>, <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a>, etc.</p><p><a href="https://zirias.github.io/dos2ansi/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zirias.github.io/dos2ansi/</span><span class="invisible"></span></a></p>