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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Linux on a Commodore 64

227 点作者 johnwbyrd超过 1 年前

20 条评论

johnwbyrd超过 1 年前
Onno Kortman has taken semu, a minimal RISC-V emulator, and cross-compiled it with llvm-mos, an LLVM port to the MOS 6502 processor, in order to run Linux on the Commodore 64. Kortman writes: "The screenshots took VICE a couple hours in 'warp mode' to generate. So, as is, a real C64 should be able to boot Linux within a week or so."
评论 #37278166 未加载
评论 #37278292 未加载
评论 #37277949 未加载
Roark66超过 1 年前
Very nice, but my first thought was &quot;surely this will not fit in 64k of ram!&quot;. And it doesn&#x27;t. It requires a 16MB REU!<p>To explain for the uninitiated how rare this bit of hardware is. The REU available for the c64 back in the day were 256kB and 512kB. These are most commonly built replicas as there are schematics available for them. Sometime in the late 90s there was also an &quot;expansion&quot; for c64 that contained a completely new CPU (superCPU - 65816) that was code compatible with the original and I believe this device could accommodate up to 16mb.<p>Later reimplementations based purely on fpga popped up including a REU with 16mb. The original SuperCPU schematic was lost to time. Allegedly fpga based expansions are available to buy for few hundred EUR now, but I don&#x27;t know anyone that attempted to buy one or has one.<p>So, although it is a neat trick(still a cool tech achievement) , saying it runs on c64 is akin to saying I got doom3 running on a 386, but my 386 is actually a pci card in a modern pc...<p>If I can&#x27;t pull my c64 with hardware available back in the day (or hardware one could realistically built back in the day) I&#x27;m not sure saying &quot;runs on c64&quot; is correct.<p>Coming back to the subject of a REU, why has no one published a schematic for one yet? There are cheap SRAM chips floating on ebay. It should be trivial to put one together. Unfortunately it isn&#x27;t, because the original (Super Cpu) had two components we need a beefy fpga to emulate. The supercpu itself and it&#x27;s dma controller which was a custom asic I believe.<p>Perhaps as cheap(ER) fpgas or uC with fpga-like functionality become available someone will create an open source &quot;super cpu&quot;. As of yet, everyone I ever heard using these, uses emulation. Nothing wrong with that, but I get the most out of my &quot;retro hobby&quot; by running original hardware. Emulation is very useful for dev, but for general use it&#x27;s a bit &quot;meh&quot; for me.
评论 #37280619 未加载
评论 #37281113 未加载
评论 #37283117 未加载
评论 #37280927 未加载
jhallenworld超过 1 年前
Not Linux related, but I&#x27;ve been trying trying recent (at least to me..) C-64 accessories:<p>I&#x27;ve tried the &quot;Kung Fu Flash&quot;- it&#x27;s a software defined cartridge that is cheap- just a single STM32 and can do pretty much everything. I bought this because I&#x27;m trying to duplicate the developer experience I see on &quot;8-bit show and tell&quot;- it can emulate the &quot;super snapshot&quot;, but not the REU. It&#x27;s a really nice way to quickly try a lot of C-64 software and games.<p><a href="https:&#x2F;&#x2F;8bithardware.wixsite.com&#x2F;website&#x2F;post&#x2F;kung-fu-flash" rel="nofollow noreferrer">https:&#x2F;&#x2F;8bithardware.wixsite.com&#x2F;website&#x2F;post&#x2F;kung-fu-flash</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;KimJorgensen&#x2F;KungFuFlash">https:&#x2F;&#x2F;github.com&#x2F;KimJorgensen&#x2F;KungFuFlash</a><p>I also have an SD2IEC: what I&#x27;ve learned is that it would have been useful to get a variant with an extra DIN socket. It&#x27;s nice but I was never a fan of C-64&#x27;s DOS and this reinforces it. To mount a D64 disk image you have to: OPEN1,8,15,&quot;CD:MYIMAGE.D64&quot;:CLOSE1... yuck..<p>JiffyDOS (replacement ROM for the C-64) improves this (it&#x27;s faster and includes a permanent DOS wedge), I bought one- it&#x27;s on the way. I&#x27;m curious to try it with the real 1541 drive.<p>What got me started on this recently is the &quot;Penultimate +2&quot; cartridge for the VIC-20:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eNGyneXHKJQ">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eNGyneXHKJQ</a><p>In this case, I basically bought a VIC-20 just to try out the cartridge.
wang_li超过 1 年前
A demonstration of Turing equivalency. Any Turing complete computer can do what any other Turing complete computer can do if you don’t care about time.
评论 #37278596 未加载
评论 #37280440 未加载
Decabytes超过 1 年前
This begs the question. What is the oldest hardware that can boot modern Linux but still be used as a daily driver?
评论 #37278887 未加载
评论 #37279362 未加载
评论 #37279179 未加载
评论 #37279620 未加载
评论 #37279823 未加载
评论 #37278911 未加载
mgkimsal超过 1 年前
Is this different from Lunix?<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;LUnix" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;LUnix</a>
评论 #37279137 未加载
评论 #37278225 未加载
评论 #37278232 未加载
sedatk超过 1 年前
This isn&#x27;t Linux running on C64 per se. This is C64 emulating a RISC-V environment on which Linux runs.<p>Still impressive of course, but semantics matter :)
评论 #37279136 未加载
layer8超过 1 年前
I wonder, if instead if requiring REU, it could work by using a few dozen floppy discs as RAM, prompting the user to swap discs as needed.<p>I’d be interested in watching a time-lapse video of that on real hardware, if someone has a couple of months&#x2F;years to spare. ;)
chungy超过 1 年前
Once you add more RAM to a Commodore 64, is it still a Commodore 64?
评论 #37278165 未加载
评论 #37280119 未加载
评论 #37278219 未加载
ryukoposting超过 1 年前
I recently came into possession of a fully-functioning TRS-80 Model 4, and I fantasize regularly about putting some vaguely Unix-esque thing on it. The fantasy continues.
评论 #37279059 未加载
peter_d_sherman超过 1 年前
Minimal FORTHs (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Forth_(programming_language)" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Forth_(programming_language)</a>) can run on an unexpanded VIC-20 (5K) or even early TRS-80 Model 1 (4K) -- with room and functionality to spare...<p>On the VIC-20, you even get a few colors!
brazzy超过 1 年前
That 16MiB memory requirement makes this rather disappointing, given that you can run Linux on machines with only 4 MiB of RAM: <a href="https:&#x2F;&#x2F;tldp.org&#x2F;HOWTO&#x2F;4mb-Laptops.html#toc3" rel="nofollow noreferrer">https:&#x2F;&#x2F;tldp.org&#x2F;HOWTO&#x2F;4mb-Laptops.html#toc3</a>
评论 #37281971 未加载
userbinator超过 1 年前
Now someone needs to do the same with a ZX spectrum ;-)<p>As others have mentioned, a 6502 is very poorly suited to C-style code, but a Z80 should be somewhat better with that.
vlasky超过 1 年前
How long does a kernel recompile take?
doctor_radium超过 1 年前
But will it impact the sales of GEOS?
aappleby超过 1 年前
Gah, this reminds me that I need to finish my &quot;Risc-v on a Gameboy&quot; lolproject.
snvzz超过 1 年前
RISC-V is inevitable.
erwincoumans超过 1 年前
What&#x27;s the BogoMips?
评论 #37278810 未加载
sys_64738超过 1 年前
Run Neofetch!
dusted超过 1 年前
So, I like Linux and I love my C64, but.. Linux are for computers too primitive to come with their own kernel and.... the C64 comes with a kernel and shell right from the factory :P
评论 #37278108 未加载
评论 #37278020 未加载
评论 #37278002 未加载