TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: 8086/8088 assembler that runs over 8088 hardware with modern syntax

132 点作者 nanochess超过 5 年前

5 条评论

dwrodri超过 5 年前
For those who are unfamiliar, Óscar Toledo G. (and his family) are all world-class hackers (and teachers) when it comes to low-level computing[1]. I learned about his family&#x27;s work (as well as his own) on this website[2].<p>1 = <a href="http:&#x2F;&#x2F;www.biyubi.com&#x2F;tecnologia.html#resumen" rel="nofollow">http:&#x2F;&#x2F;www.biyubi.com&#x2F;tecnologia.html#resumen</a><p>2 = <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20570154" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20570154</a>
userbinator超过 5 年前
I&#x27;m a little surprised that it wasn&#x27;t itself written in Asm (and thus has the possibility to be self-assembling), and the binary is almost 30KB. That may seem tiny today, but in the 8086&#x2F;8088 era, it&#x27;s huge; the first IBM PC in its minimum configuration had only 16K RAM.<p>For a more &quot;authentic&quot; 8088 experience, you could use the assembler that came with MS-DOS 1.25, written by Tim Paterson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v1.25&#x2F;source&#x2F;ASM.ASM" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;MS-DOS&#x2F;blob&#x2F;master&#x2F;v1.25&#x2F;source...</a>
评论 #21153031 未加载
评论 #21153730 未加载
评论 #21157092 未加载
评论 #21153979 未加载
评论 #21154753 未加载
convivialdingo超过 5 年前
Very, very cool! I love the fact that you used an 8086 C compiler to make the whole toolchain work.
评论 #21151254 未加载
acqq超过 5 年前
&quot;The compiler has many bugs and limitations, but it works for tinyasm purposes, and it&#x27;s freely available. Supposedly it should support ANSI C, but I couldn&#x27;t fit a standard ANSI C function definition&quot;<p>I&#x27;ve tried<p><pre><code> 25.07.1988 15:39 54,272 C88.EXE </code></pre> from c88v31_1.zip (disk 1 on <a href="http:&#x2F;&#x2F;www.desmet-c.com&#x2F;ver_31h.shtml" rel="nofollow">http:&#x2F;&#x2F;www.desmet-c.com&#x2F;ver_31h.shtml</a> ) with<p><pre><code> int f( int x, int y ) { return x * y; } int main( void ) { return f( 3, 4 ); } </code></pre> and it didn&#x27;t complain? What&#x27;s then that that didn&#x27;t work?<p>(Also, I used Borland&#x27;s C compiler for these platforms, and there is an official version now available for free, but it&#x27;s a little annoying to download).
评论 #21153411 未加载
qx89l4超过 5 年前
Awesome project, congrats!