Let's Code MS DOS 0x24: Low Level Keyboard Programming

Channel:
Subscribers:
7,930
Published on ● Video Link: https://www.youtube.com/watch?v=njeViEGaP-8



Duration: 26:21
845 views
67


Getting input from the keyboard can be as easy as calling the getch() function. But for games we need a better solution. For games on MS DOS machines you need quick, unbuffered input. To simply get the state of keypresses we need to talk to the keyboard controller directly. Let’s have a look at how that’s done!

Support me on Patreon: https://www.patreon.com/root42
Support me on Ko-Fi: https://ko-fi.com/root42
Support me on PayPal: https://paypal.me/ArneSchmitz
Support me on YouTube: https://www.youtube.com/channel/UCPjFa_UZBUDzdJTIEdyGjIQ/join

Source code: https://github.com/root42/doskbc

Previous episodes:

Keyboard: https://youtu.be/Y0nT_6RF4NI
Sound Blaster: https://youtu.be/dqeLS6Tv2Lo
IRQ Handling: https://youtu.be/isgjKcvGDSk

Music: A Little Wonder by Spino2006