this post was submitted on 05 Oct 2024
2 points (100.0% liked)

Programmer Humor

23855 readers
1375 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
2
PS/2 things (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by carrylex@lemmy.world to c/programmer_humor@programming.dev
 

In todays edition of "stuff that I found in my storage" a PS/2 meme

Image transcription:

mov rax, rbx add rax, rcx HELLO IT'S THE KEYBOARD I HAVE AN IMPORTANT MESSAGE E

top 5 comments
sorted by: hot top controversial new old
[–] Gobbel2000@programming.dev 0 points 8 months ago (1 children)

Does USB not use interrupts?

[–] CEbbinghaus@lemmy.world 1 points 8 months ago

No. It's polling based

[–] somethingsomethingidk@lemmy.world 0 points 8 months ago (1 children)
[–] darthsid@lemmy.world 0 points 8 months ago (1 children)
[–] fatalicus@lemmy.world 1 points 8 months ago

Ps/2 keyboards used interrupt when transferring data, meaning instead of waiting for the cpu to get the data it is trying to send when it is free, it will just interrupt what the cpu is currently doing and tell it to process what the keyboard is sending.