• mfed1122@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Please explain? I get that the chubby bird is speaking assembly, but I’m sure there’s more to it than that?

        • cheet@infosec.pub
          link
          fedilink
          arrow-up
          5
          ·
          6 months ago

          PS2 keyboards use interrupts rather than polling in USB, meaning every time a key is pressed the CPU stops what its doing to process it.

            • SparroHawc@lemmy.zip
              link
              fedilink
              arrow-up
              1
              ·
              6 months ago

              I know you’re probably being facetious… but the PS/2 port is what’s shown in the OP image.

              that said the Playstation 2 had USB ports, you could just plug a regular keyboard into it

          • Deebster@infosec.pub
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            And having to pick your IRQ when installing anything into your machine, and the weird bugs that could happen if you mucked it up.

            • Taleya@aussie.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              I remember manually programming the cylinders and heads on a hdd into the bios. Kids these days got it easy

        • Aurelian@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          Keyboard slows down the CPU because it gets priority over whatever the CPU is working on so the keyboard could cause your system to lag.

          Back then all we had was single core CPUs.

    • sploosh@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      DB9 is still used on for MIDI on electronic instruments, though some manufacturers are moving to doing it with a TRS 3.5mm plug since it only uses 3 pins.

      I had a mouse that plugged into the serial port, but my first computer was a Commodore 64.

    • josefo@leminal.space
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Don’t forget the serial input for gamepads and joysticks in the dedicated sound board for some reason

      • mercano@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        Early PC only had 5 card slots, and the only jack on the motherboard was the keyboard. One slot is going to be used by a video card, one’s probably being used by a hard drive controller, one’s probably used by a parallel + serial card. Soundcards also included controller ports to try to save a slot.

        • jaybone@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          I thought sometimes they called them game ports (for the joystick.)

          I reasoned if you are installing a sound card, you are probably doing some gaming, so it made sense to sort of bundle those together.

          • the_crotch@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            6 months ago

            Its on the sound card because it’s a midi port. Its designed for connecting a keyboard (as in electronic piano). Most people used it for gamepads but that’s not what it was there for.

      • BigDanishGuy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        Except that wasn’t a serial port, it was midi, and the reason it was on the sound card was because the input was analog.

        Your joystick was just two fancy potentiometers, and your soundcard decoded the voltage on the middle legs into a position.

        Soundcards handled joysticks because they had the fastest ADCs.

        • cartoon meme dog@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          huh, i thought it was just because “owning a sound card” and “likely to play games” was the biggest overlap of the Venn circles.

        • grue@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          More info: https://en.wikipedia.org/wiki/Game_port

          The 15-pin D-sub connector itself was apparently a combination of analog and digital. It had to be, since MIDI is digital (it’s right there in the name: Musical Instrument Digital Interface). TIL it wasn’t all digital.

        • cmnybo@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 months ago

          They didn’t even use an ADC. They used 555 timers to produce a pulse. They measured the length of the pulse to determine the potentiometer position. Since there are 4 analog inputs, they typically used the 558 timer which is the quad version of the 555.

          • BigDanishGuy@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            6 months ago

            And here I thought I had it all figured out. But it does make sense. Doing it with an analog signal introduces noise and measuring pulse widths is going to be simpler.

  • FiveMacs@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    6 months ago

    I raise

    edit, actually, it might have been on the back…it’s been forever since I touched one

      • zwerg@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        Me too… my first code was for Commodore PET. Then I got an Amiga. Sad day when Commodore folded.

        • threeonefour@piefed.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          I always see those videos where people give kids a walkman or a rotary phone and ask them to figure out what it is or how it works. I’m imagining some medieval merchant handing me an abacus and laughing because I can’t figure it out.

          • tetris11@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            It’s little endian, so the beads on the far right are used to outnumber the big endian beads at the top on the woke left. After several computations, the middle section is just gone

              • zerofk@lemmy.zip
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                6 months ago

                You know how some languages write left-to-right, and some rught-to-left? Endianness is that, for numbers.

                Or another analogy is dates: 2025/12/31 is big endian, 31/12/2025 is little endian. And 12/31/2025 is middle endian. Which makes no sense at all because the middle is, by definition, not an end.

                • TheRedSpade@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  6 months ago

                  I stand corrected. No idea what I was reading (several years ago), but whatever it was made it seem way more complicated. Maybe it was just an explanation from somebody who didn’t know.

              • pinball_wizard@lemmy.zip
                link
                fedilink
                arrow-up
                1
                ·
                6 months ago

                Ouch. I had to learn endianness once to solve a real life serialization bug. It sucked. I learned it for just long enough to correct the code for the corner cases involves, and then slept and forgot everything about it.

          • CanadaPlus@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            6 months ago

            Fun fact, the Romans would never have labeled their abacuses like this. It would have made calculating very difficult; they effectively worked with modern numbers in bead form, and then used the famous numeral system just to record the results.

  • Cyrus Draegur@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    “do you know what ps/2 ports are?”

    “holy cow, PlayStation 2? you must be AT LEAST 25!”

    [dying inside intensifies]

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        The error message sounds bad, but it was actually a good thing. A better phrased error message might have been “Keyboard missing. Connect a keyboard and press F1 to continue.” But, in the early days every byte mattered.

        The system wouldn’t work without a keyboard, and if you get further into the boot process you might not be able to shut down cleanly if you didn’t have a keyboard attached. That error message gave you a chance to attach the keyboard, or to troubleshoot why the keyboard wasn’t being properly detected (like the plug got bumped and wasn’t making good contact anymore).

        It was annoying when the lack of a keyboard was intentional. Like, you wanted to use the machine as a server. But, AFAIK you could disable this check if you knew the machine was going to be a server with no permanent keyboard attached.

  • CPMSP@midwest.social
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I tried to explain these ports to a salesperson at micro center, and they have me the dull cow stare.

    • Wolf@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      I was looking at some PC’s at Best Buy and a salesman came up to try and give me the hard sell. I asked if I could buy the PC without Windows on it for a discount.

      “How would you use your computer without Windows on it?”

      “I’m going to install Linux”

      “What’s that?”

      “It’s an operating system”

      Blank stare

      “Like Windows or OS X…”

      Blank Stare

      Sigh “I already have a copy of Windows at home”

      “Oh! Well I don’t think you can do that, no.”

      • tiramichu@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        6 months ago

        The “Turbo” function was a masterstroke of marketing.

        The actual function of the turbo is to slow the machine down, so it can be compatible with older games and software that ran too quickly on those newer systems.

        Of course calling it a “slow down” button wasn’t very sexy, so just flip the function around and label it turbo instead!