In DOS/BIOS environments, memory address 0x417 (segment 0x0000, offset 0x0417) is the BIOS keyboard data area that stores the keyboard shift status byte. The bits in this byte control toggle keys like CapsLock, NumLock, ScrollLock. Setting bit 6 (value 64) turns on CapsLock. This is a direct hardware manipulation through memory-mapped I/O.