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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pi number calculator in 146 bytes of 8088 machine code

77 点作者 nanochess超过 2 年前

5 条评论

anta40超过 2 年前
The author has other interesting bootable games, like:<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;Invaders" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;Invaders</a> (Invaders)<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;bricks" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;bricks</a> (bricks and paddle)<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;bootRogue" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nanochess&#x2F;bootRogue</a> (Rogue)<p>If you like learning assembly language&#x2F;OSDev, his repos are a must to be bookmarked.
helsinkiandrew超过 2 年前
The link to the c code it is based on is down but the archive is:<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210518022312&#x2F;http:&#x2F;&#x2F;www.codecodex.com&#x2F;wiki&#x2F;Calculate_digits_of_pi#C" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210518022312&#x2F;http:&#x2F;&#x2F;www.codeco...</a><p>Not sure I understand how that&#x27;s calculating Pi though.
评论 #33968276 未加载
Eupraxias超过 2 年前
Interested parties should check out Ken Ward&#x27;s excellent pi-calculating javascriptural here:<p><a href="https:&#x2F;&#x2F;www.trans4mind.com&#x2F;personal_development&#x2F;JavaScript&#x2F;longnumPiMachin.htm" rel="nofollow">https:&#x2F;&#x2F;www.trans4mind.com&#x2F;personal_development&#x2F;JavaScript&#x2F;l...</a>
Tepix超过 2 年前
Impressive!<p>It fills the screen with digits of pi, then stops (tried it at <a href="https:&#x2F;&#x2F;copy.sh&#x2F;v86&#x2F;" rel="nofollow">https:&#x2F;&#x2F;copy.sh&#x2F;v86&#x2F;</a> ) - is it supposed to scroll?
评论 #33967962 未加载
Waterluvian超过 2 年前
If this works on an 8088, booting directly from the boot sector, how far are we to compiling it for a Game Boy (an 8080-like) cartridge?