• 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: May 12th, 2022

help-circle
  • 4ffy@lemmy.mltoLinux@lemmy.mlLinux and DOOM (1993)
    link
    fedilink
    arrow-up
    28
    ·
    edit-2
    6 months ago

    The reason that Doom is so portable goes beyond Linux and is an artefact of its development. id developed Doom on NeXTSTEP (i.e. Unix) machines and obviously targeted DOS. This is pretty unique among DOS games at the time and required id to write as much code as possible in a platform agnostic way. This means that the main engine does not care about where it is running and the usual DOS hacks are contained to DOS-specific files. In order to port Doom to a new platform, ideally one only needs to rewrite the system-specific implementation files for video, sound, filesystem access, etc., and this mostly holds true today. (These files are prefixed with i_ in the Doom source).

    The Linux port is just one of many versions developed at the time. I don’t believe that it was commercially released; it was more of a portability test. The reason that the Linux version was chosen for the source release over the DOS version was because it didn’t rely on the proprietary DMX sound library that the DOS port used.


  • Emacs’s regular clipboard is the “kill ring” which also allows you to retrieve any previously cut/copied text. It also has “registers” where you can store and retrieve snippets of text, which can be considered clipboards when used for this purpose. Registers can be referenced by any character you can type on your keyboard, including control characters like ^D.

    This totals… a lot of clipboards.



  • 4ffy@lemmy.mltoLinux@lemmy.mlDid we kill Linux's killer feature?
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I think that this is above all else the reason that I use Arch. Arch Linux makes creating packages trivial, basically just wrapping build instructions into a shell script template. Arch handles the rest. The build systems for deb or rpm packages don’t come close, and good luck rolling your own flatpak.

    This allows me to use pacman for everything outside of my home directory. Pacman is practically the central feature of my computer, and it’s wonderful. I’m sure those Nix people can relate, though I guess my method is a bit less robust.