Switching Off Caps Lock Led
Using assembly language, how can I switch on and off the Caps Lock LED, with开发者_JAVA技巧 its functionality?
I mean when it is off and on.
In DOS and versions of Windows that support FULL DOS functionality, you can twiddle the bits in the memory location and it will not only switch the state, but will also flip the LED (assuming AT style and newer keyboards).
Reference for more details on the location(s): http://mcs.uwsuper.edu/sb/324/Intro/memory.html
精彩评论