Linux on a Commodore C64

const_void@lemmy.ml to Linux@lemmy.ml – 121 points –
GitHub - onnokort/semu-c64: Linux on a Commodore C64
github.com
8

You are viewing a single comment

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.

1 more...

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.

1 more...