const_void@lemmy.ml to Linux@lemmy.ml · 1 year agoLinux on a Commodore C64github.comexternal-linkmessage-square8fedilinkarrow-up1121 cross-posted to: technews@radiation.partyhackernews@derp.foo
arrow-up1121external-linkLinux on a Commodore C64github.comconst_void@lemmy.ml to Linux@lemmy.ml · 1 year agomessage-square8fedilink cross-posted to: technews@radiation.partyhackernews@derp.foo
minus-squareEl Barto@lemmy.worldlinkfedilinkarrow-up25·1 year ago So, as is, a real C64 should be able to boot Linux within a week or so. This made me laugh! But as an avid vintage computing fan, I applaud this effort. I wonder if it runs common programs such as vim.
minus-squarepewpew@feddit.itlinkfedilinkarrow-up3·1 year agoVim needs to be compiled to 6502 or you need to implememt an x86 emulator (not sure if it could run at all on a CPU that limited)
minus-squarecmnybo@discuss.tchncs.delinkfedilinkEnglisharrow-up8·1 year agoThe CPU could run vim even if it needs to emulate an x86. The problem is going to be RAM, the C64 just doesn’t have enough. Even early versions vi took up most of the available RAM in a PDP-11/70.
minus-squareEl Barto@lemmy.worldlinkfedilinkarrow-up6·1 year agoAn x86 emulator could in theory be implemented in a Commodore 64, given that it’s a Turing-complete machine. Would it be practical, though? Hardly.
minus-squareHarriPotero@lemmy.worldlinkfedilinkarrow-up4·1 year agoThe post refers to a RISC-V emulator for C64. The Linux kernel booted is RISC-V, so you’d be vim for the same.
This made me laugh! But as an avid vintage computing fan, I applaud this effort.
I wonder if it runs common programs such as vim.
Vim needs to be compiled to 6502 or you need to implememt an x86 emulator (not sure if it could run at all on a CPU that limited)
The CPU could run vim even if it needs to emulate an x86. The problem is going to be RAM, the C64 just doesn’t have enough. Even early versions vi took up most of the available RAM in a PDP-11/70.
Removed by mod
An x86 emulator could in theory be implemented in a Commodore 64, given that it’s a Turing-complete machine. Would it be practical, though? Hardly.
The post refers to a RISC-V emulator for C64. The Linux kernel booted is RISC-V, so you’d be vim for the same.