• Grass@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    I used to game with a guy that swore by ps/2 keyboard for the interrupt supposedly making his inputs easier to perfectly time, but he got into a heated argument with my other gaming buddy over whether or not his mobo just had a usb ps/2 port that was basically a built in adapter and I never heard from either of them since.

    I wish arch was a thing back then so I could have thrown in the standard line and have the last laugh.

    • PhobosAnomaly@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      “knock knock”

      “Who’s there”

      “The interrupting cow”

      “The interrupting cow wh…” “MOOOOOOO”

  • sunbeam60@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    This is legit the biggest lol. Yes I’m aware this is the PS/2 path only and today it’s actually polling on USB or Bluetooth keyboards but this really tickled me. The face of that CPU bird!

  • Cris_Citrus (he/him <3)@piefed.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    This is so much better not being a programmer, and having no context. I just get to watch this get posted and people are enjoying whatever the fuck this is, and that makes me happy

    • pedz@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      TBF this is not really about programming. You have to be knowledgeable about how computers work and their history for this one.

      • Mountainaire@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Okay, so go on… I, too, am hardly a programmer yet hangs out here anyway and have no idea of what this is all about, haha.

        • DaleGribble88@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          The weird text the main bird is rattling off it something called “Assembly”. Many programming languages don’t really tell the computer what to do, they more or less outline the behavior they want, and then another program called a compiler turns that into 1s and 0s that a computer can actually understand. If you’ve ever heard of binary, that’s what these 1s and 0s are. Assembly is one level of abstraction* above the 1s and 0s. It is a good way for humans to understand what a computer is actually doing without having to look at the original programming code, and without 1s and 0s. So the main bird represents a computer doing it’s thing, running some program.

          Then comes the crow with a “Hello It’s me. The Keyboard! Someone pressed the letter e.” The crow represents something called an interrupt, which is exactly what it sounds like. It interrupts the normal flow of a program to signal to a computer “Hey, you need to deal with this. Like, now.”

          The reason why he is a keyboard is because that is how old keyboards used to work. Before USB ruled the world, mice and keyboards used something called a PS2 port. If you ever saw an old mouse or keyboard with a green or purple plug on one end instead of a USB, then that’s the old style we are talking about.

          Modern USB keyboards are a little more polite and will wait in a line until the computer is ready to deal with whatever the human just typed, but old PS2 keyboards used interrupts to demand attention. This was really important for old slow computers that needed to respond to user input ASAP. Modern computers can handle that sort of thing a little bit better.

          I think that is enough context to understand the meme.

          *Not really: see ISA layer and micro-ops for more information

          • nightwatch_admin@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            This is a great explanation!

            But I do have to say, you darn kids with your fancy newfangled PS/2 input… in my days we had proper serial or DIN ports!

            • leftzero@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              0
              ·
              3 months ago

              I saw a computer with a parallel port at work the other day.

              No idea why it had it, it also had a couple blue USB3 ports. Also VGA and HDMI, and a bicolour PS/2. Damn weird mainboard.

              Zoomer intern was wondering what it was and I got to tell him about parallel and serial and all that. Made me feel nostalgic. And old.

              • Captain Aggravated@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                “Work” computers will often have legacy ports because maybe you need it to connect to some old printer.

                There are a lot of places still using old-style dot matrix printers or other weird old hardware. Point-of-sale systems made to this day often come with a bunch of serial, or not quite serial, ports.

    • Aganim@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      3 months ago

      It moves the value of register (a CPU memory cell) rbx to register rax. It’s not that important though.

      Basically the comic shows that the CPU is happily chugging along, executing instructions when suddenly the keyboard sends an interrupt telling the CPU it must stop all work and listen to whatever it has to say.

      That was how keyboards worked before USB (back when they used PS/2 or DIN connectors). With USB it’s the other way around: the device gets polled X times per second to check if it has any data to send.

      • iocase@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Iirc the south bridge now aggregates masked interrupts and groups them together instead of pestering the CPU a whole bunch