如何检查组装中的capslock状态
我尝试了BIOS中断INT 16H,02H,但在EMU8086上不支持。有人可以教我如何在内存位置直接获得Capslock状态0:0417H或支持BIOS中断16H 02H的其他汇编程序 我尝试过MASM,但进展不顺利。 对不起,我的英语不好
I tried BIOS Interrupt INT 16h, 02h but it is not supported on Emu8086. Can someone teach me how to get directly Capslock status on memory location 0:0417h or other Assembler which supported BIOS Interrupt 16h 02h
I've tried MASM but it's not going well.
Sorry about my bad English
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以在 nofollow noreferrer“> bit
40H
的键盘状态字在地址0040:0017
。要访问此位,请首先将BDA段加载到段寄存器中,然后使用此段寄存器访问内存。语法应该像:The status of the caps lock key can be found in bit
40h
of the keyboard status word at address0040:0017
. To access this bit, first load the BDA segment into a segment register, then access memory using this segment register. The syntax should be something like: