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
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
Does USB not use interrupts?
No. It’s polling based
Actually it’s both, there’s polling with a timeout interrupt if an incoming urb hasn’t been processed quickly.
https://crlab.ece.ucr.edu/usbgps/ohci_uhci.html
This way you can take them in batches at regular intervals.