• Aganim@lemmy.world
      link
      fedilink
      arrow-up
      26
      ·
      6 hours 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 of it has any data to send.

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

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

    • bequirtle@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      6 hours ago

      It’s irrelevant to the humor, it’s just an arbitrary x86 instruction. The point is that keyboard inputs (with a PS/2 keyboard) interrupt whatever the computer is doing

      Though to answer your question, it moves the value from the rbx register to the rbx register

    • firebarrage@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      6 hours ago

      These are some assembly instructions that the computer is happily running with no keyboard input. The keyboard input is then coming in as an interrupt demanding immediate processing which is silencing the poor background bird process.

  • sunbeam60@feddit.uk
    link
    fedilink
    arrow-up
    30
    ·
    15 hours 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!

  • Grass@sh.itjust.works
    link
    fedilink
    arrow-up
    34
    ·
    18 hours 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.

  • Cris_Citrus@piefed.zip
    link
    fedilink
    English
    arrow-up
    88
    ·
    edit-2
    20 hours 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
      72
      ·
      20 hours 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
        20
        ·
        20 hours 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
          100
          ·
          19 hours 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

            • dmention7@midwest.social
              link
              fedilink
              arrow-up
              2
              ·
              4 hours ago

              Tech-literate non-programmer who gets most of the jokes posted here… that’s what I thought at first, but it seemed like a clunky joke.

              The moment I clicked into the comments and saw someone mention interrupts, the joke made so much more sense!

          • nightwatch_admin@lemmy.world
            link
            fedilink
            arrow-up
            25
            ·
            18 hours 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
              17
              ·
              18 hours 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
                8
                ·
                17 hours 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.

                • leftzero@lemmy.dbzer0.com
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  11 hours ago

                  No, it’s been a while since I last saw a SCSI connector of any kind, and I don’t think I’ve ever seen a 25 pin serial (my first PC did have the 15 pin game port, though, if I recall correctly); this one was a plain old parallel port, though. Even had a small drawing of a printer on top of it on the i/o shield.

            • DaleGribble88@programming.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              15 hours ago

              OMG, that reminds of one of my first little hobby projects. Using a serial port to light up an LED whenever I had a new notification on… good grief was it Myspace or Facebook back then? Around that transition period at any rate.

          • Mountainaire@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            18 hours ago

            Ohhhhhhh.

            Huh.

            Also, wasn’t it even once stylized like “PS/2,” come to think of it? I did very vaguely remember learning about interrupts (as nouns, lol), but this makes it far clearer, thanks!

            • Rose@slrpnk.net
              link
              fedilink
              arrow-up
              11
              ·
              15 hours ago

              Yup, it was fully known as IBM PS/2, for “Personal System 2”. IBM wasn’t happy about how the original PC system got cloned to hell and back, so they designed a more proprietary and patentable system. Suffice to say it was a massive failure, what with it being incompatible with basically all of third party hardware. But the keyboard and mouse ports were widely regarded as a good idea! (and probably not as patentable)

            • Captain Aggravated@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              14
              ·
              17 hours ago

              There’s a Youtube channel called Ben Eater that does a great job of explaining computing from first principles. He built a computer out of discrete components on breadboards. He also has a great series where he wires up a 6502 microprocessor and basically builds a little 8-bit microcomputer around it, again on breadboards, in a way that you’ll get. He sells them as kits, so you can play at home if you want. They’re also just nice educational evening calm time viewing.

    • fulg@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      11 hours ago

      The thing that bothers me the most here is that the meme is using 64bit assembly instructions, which did not exist at the time keyboards were using IRQs to communicate. 🤣

      • boonhet@sopuli.xyz
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        Did they upgrade PS/2 to use something other than interrupts? Because my earliest 64-bit CPU was in a computer manufactured in the early 00s and I’m pretty sure that mobo still had actual PS/2 ports, not USB converters or something.