Lets Code MS DOS 0x24: Low Level Keyboard Programming @root42
Lets Code MS DOS 0x24: Low Level Keyboard Programming  @root42
Uploaded November 2023 | Updated November 2026, 3 hours ago
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: patreon.com/root42
Support me on Ko-Fi: ko-fi.com/root42
Support me on PayPal: paypal.me/ArneSchmitz
Support me on YouTube: youtube.com/channel/UCPjFa_UZBUDzdJTIEdyGjIQ/join

Source code: github.com/root42/doskbc

Previous episodes:

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

Music: A Little Wonder by Spino2006
Lets Code MS DOS 0x24: Low Level Keyboard ProgrammingLets Code x86 Assembly: 0x08 Sizecoding Game Of Life WITH MUSICNintendo GameBoy Pocket IPS LCD Display ModCommodore 4040 Disk Drive RepairThe PicoGUS lives!PC Speed: Atari ST Running MS DOSLötstream: Löten for n00bs!Lets Code MS DOS 0x20: Bresenham Line DrawingLets Code MS DOS 0x1E: Power BASIC SnowflakeSEGA GameGear Shell ReplacementLets Code MS DOS 0x38: Huge Pointers in Turbo CCreepy Toy Dog Repair!
root42 |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER