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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Tinycpm – CP/M ON A TINY 2040

61 点作者 bubblehack3r超过 2 年前

5 条评论

guenthert超过 2 年前
Perhaps understood, but since it's not explicitly stated, it might be worth clarifying that this entails a Z80 emulator to run CP/M for i8080. It's not a new CP/M for ARM abomination ;-}
评论 #33620997 未加载
rbanffy超过 2 年前
Worth noting a 2040 is a supercomputer by the standards from when CP/M was first released.
评论 #33613660 未加载
评论 #33613164 未加载
reaperducer超过 2 年前
I like that he used Zork to test his creation. I use the same benchmark.<p><i>However</i>, in my experience, Zork starting up isn&#x27;t actually proof of very much. I&#x27;ve had any number of CP&#x2F;M installations go bad once I got a hundred or so moves into the game.<p>If he can <i>complete</i> Zork on the Tiny 2040, then great. But just starting it is only half the battle.
pjmlp超过 2 年前
Of course Turbo Pascal had to be part of the testing. :)
kragen超过 2 年前
running cp&#x2F;m on a 32-bit arm running at 133 megahertz with 264 k of sram, 2-8 megabytes of xip qspi flash, and 4 gigabytes of flash on sd card, is not challenging, though it might be useful<p>i routinely ran cp&#x2F;m in 48k or 64k on a 4-megahertz z80, which is about 0.6 dhrystone mips, on one or two 100-kilobyte floppies, with transfer rates of about 1 kilobyte per second. i think cp&#x2F;m will run in 16k<p>this arm is as fast as 250 of those machines, it has as much ram as four of them, as much offboard xip program memory as 64-256 of them, and 40000 sssd floppy disks worth of storage, which furthermore can probably transfer data at 10 megabytes per second, ten thousand times as fast as the floppy<p>also the z80 didn&#x27;t have a pio programmable i&#x2F;o pin driver, it had to handle i&#x2F;o interactions itself instead of outsourcing them to a channel program in pioasm, which slowed down computation<p>yes, if you&#x27;re emulating a z80 on arm that entails some emulation slowdown, but it certainly isn&#x27;t 250x. it might be 8x. if you do dynamic machine code translation it might be less than 2x<p>instead of calling it &#x27;tinycpm&#x27; he should call it &#x27;giantcpm&#x27;
评论 #33615828 未加载