• pewpew@feddit.it
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 year ago

    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)

    • cmnybo
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      1 year ago

      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.

    • El Barto@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      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.

    • HarriPotero@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      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.